作者 杨育虎

支付

@@ -8,16 +8,16 @@ return [ @@ -8,16 +8,16 @@ return [
8 'content' => [], 8 'content' => [],
9 'value' => [ 9 'value' => [
10 'appid' => '', 10 'appid' => '',
11 - 'app_id' => '',  
12 - 'app_secret' => '', 11 + 'app_id' => 'wx3b1935a9955e6e56',
  12 + 'app_secret' => '32e1840b3526ff6534bb7f454d7f6fdc',
13 'miniapp_id' => '', 13 'miniapp_id' => '',
  14 + 'mch_id' => '1605103818',
  15 + 'key' => 'NW0l0Fh36rTSlsx0tkMegTSXNK5vF4n2',
14 'mode' => 'normal', 16 'mode' => 'normal',
  17 + 'sub_mch_id' => '',
15 'sub_appid' => '', 18 'sub_appid' => '',
16 'sub_app_id' => '', 19 'sub_app_id' => '',
17 'sub_miniapp_id' => '', 20 'sub_miniapp_id' => '',
18 - 'mch_id' => '',  
19 - 'sub_mch_id' => '',  
20 - 'key' => '',  
21 'notify_url' => '/addons/epay/api/notifyx/type/wechat', 21 'notify_url' => '/addons/epay/api/notifyx/type/wechat',
22 'cert_client' => '/addons/epay/certs/apiclient_cert.pem', 22 'cert_client' => '/addons/epay/certs/apiclient_cert.pem',
23 'cert_key' => '/addons/epay/certs/apiclient_key.pem', 23 'cert_key' => '/addons/epay/certs/apiclient_key.pem',
@@ -6,10 +6,10 @@ use app\common\controller\Api; @@ -6,10 +6,10 @@ use app\common\controller\Api;
6 use addons\third\library\Wechat; 6 use addons\third\library\Wechat;
7 use think\Db; 7 use think\Db;
8 8
9 -//define('ak', 'wx76ddffb14a62a7c9');  
10 -//define('sk', 'fbeab9821d11b6c03402ee419f93618f');  
11 -define('ak', 'wx3b1935a9955e6e56');  
12 -define('sk', '32e1840b3526ff6534bb7f454d7f6fdc'); 9 +define('ak', 'wx76ddffb14a62a7c9');
  10 +define('sk', 'fbeab9821d11b6c03402ee419f93618f');
  11 +//define('ak', 'wx3b1935a9955e6e56');
  12 +//define('sk', '32e1840b3526ff6534bb7f454d7f6fdc');
13 13
14 /** 14 /**
15 * 用户接口 15 * 用户接口
@@ -10,10 +10,10 @@ return [ @@ -10,10 +10,10 @@ return [
10 /** 10 /**
11 * 账号基本信息,请从微信公众平台/开放平台获取 11 * 账号基本信息,请从微信公众平台/开放平台获取
12 */ 12 */
13 -// 'app_id' => 'wx76ddffb14a62a7c9', // AppID  
14 - 'app_id' => 'wx3b1935a9955e6e56', // AppID  
15 -// 'secret' => 'fbeab9821d11b6c03402ee419f93618f', // AppSecret  
16 - 'secret' => '32e1840b3526ff6534bb7f454d7f6fdc', // AppSecret 13 + 'app_id' => 'wx76ddffb14a62a7c9', // AppID
  14 +// 'app_id' => 'wx3b1935a9955e6e56', // AppID
  15 + 'secret' => 'fbeab9821d11b6c03402ee419f93618f', // AppSecret
  16 +// 'secret' => '32e1840b3526ff6534bb7f454d7f6fdc', // AppSecret
17 'token' => 'your-token', // Token 17 'token' => 'your-token', // Token
18 'aes_key' => '', // EncodingAESKey,安全模式与兼容模式下请一定要填写!!! 18 'aes_key' => '', // EncodingAESKey,安全模式与兼容模式下请一定要填写!!!
19 19