You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ymww_backend/vendor/huifurepo/dg-php-sdk/Composer/BsPayConfig.php

17 lines
529 B

1 year ago
<?php
use BsPaySdk\core\BsPay;
# 以下配置为开发联调时覆盖SDK的配置项,需在引入SDK的init.php之前配置以覆盖SDK初始配置
# 设置是否调试模式,不配置默认关闭:false
if (!defined("DEBUG")) {
define("DEBUG", true);
}
# 设置调试日志路径,不配置默认为SDK同级的log目录下
if (!defined("LOG")) {
define("LOG", dirname(__FILE__)."/../storage/logs");
}
# init方法,从 config.json 加载系统参数
BsPay::init(dirname(__FILE__).'/BsPayConfig.json', false);