dlh_test_server/vendor/hf/Composer/BsPayConfig.php
2024-11-04 15:46:19 +08:00

17 lines
529 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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);