正在显示
19 个修改的文件
包含
56 行增加
和
56 行删除
@@ -2,64 +2,64 @@ | @@ -2,64 +2,64 @@ | ||
2 | 2 | ||
3 | return [ | 3 | return [ |
4 | [ | 4 | [ |
5 | - 'name' => 'wechat', | ||
6 | - 'title' => '微信', | ||
7 | - 'type' => 'array', | 5 | + 'name' => 'wechat', |
6 | + 'title' => '微信', | ||
7 | + 'type' => 'array', | ||
8 | 'content' => [], | 8 | 'content' => [], |
9 | - 'value' => [ | ||
10 | - 'appid' => '', | ||
11 | - 'app_id' => '', | ||
12 | - 'app_secret' => '', | ||
13 | - 'miniapp_id' => '', | ||
14 | - 'mode' => 'normal', | ||
15 | - 'sub_appid' => '', | ||
16 | - 'sub_app_id' => '', | 9 | + 'value' => [ |
10 | + 'appid' => '', | ||
11 | + 'app_id' => 'wx3b1935a9955e6e56', | ||
12 | + 'app_secret' => '32e1840b3526ff6534bb7f454d7f6fdc', | ||
13 | + 'miniapp_id' => '', | ||
14 | + 'mch_id' => '1605103818', | ||
15 | + 'key' => 'NW0l0Fh36rTSlsx0tkMegTSXNK5vF4n2', | ||
16 | + 'mode' => 'normal', | ||
17 | + 'sub_mch_id' => '', | ||
18 | + 'sub_appid' => '', | ||
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', | ||
22 | - 'cert_client' => '/addons/epay/certs/apiclient_cert.pem', | ||
23 | - 'cert_key' => '/addons/epay/certs/apiclient_key.pem', | ||
24 | - 'log' => '1', | 21 | + 'notify_url' => '/addons/epay/api/notifyx/type/wechat', |
22 | + 'cert_client' => '/addons/epay/certs/apiclient_cert.pem', | ||
23 | + 'cert_key' => '/addons/epay/certs/apiclient_key.pem', | ||
24 | + 'log' => '1', | ||
25 | ], | 25 | ], |
26 | - 'rule' => '', | ||
27 | - 'msg' => '', | ||
28 | - 'tip' => '微信参数配置', | ||
29 | - 'ok' => '', | ||
30 | - 'extend' => '', | 26 | + 'rule' => '', |
27 | + 'msg' => '', | ||
28 | + 'tip' => '微信参数配置', | ||
29 | + 'ok' => '', | ||
30 | + 'extend' => '', | ||
31 | ], | 31 | ], |
32 | [ | 32 | [ |
33 | - 'name' => 'alipay', | ||
34 | - 'title' => '支付宝', | ||
35 | - 'type' => 'array', | 33 | + 'name' => 'alipay', |
34 | + 'title' => '支付宝', | ||
35 | + 'type' => 'array', | ||
36 | 'content' => [], | 36 | 'content' => [], |
37 | - 'value' => [ | ||
38 | - 'app_id' => '', | ||
39 | - 'mode' => 'normal', | ||
40 | - 'notify_url' => '/addons/epay/api/notifyx/type/alipay', | ||
41 | - 'return_url' => '/addons/epay/api/returnx/type/alipay', | 37 | + 'value' => [ |
38 | + 'app_id' => '', | ||
39 | + 'mode' => 'normal', | ||
40 | + 'notify_url' => '/addons/epay/api/notifyx/type/alipay', | ||
41 | + 'return_url' => '/addons/epay/api/returnx/type/alipay', | ||
42 | 'ali_public_key' => '', | 42 | 'ali_public_key' => '', |
43 | - 'private_key' => '', | ||
44 | - 'log' => '1', | ||
45 | - 'scanpay' => '1', | 43 | + 'private_key' => '', |
44 | + 'log' => '1', | ||
45 | + 'scanpay' => '1', | ||
46 | ], | 46 | ], |
47 | - 'rule' => 'required', | ||
48 | - 'msg' => '', | ||
49 | - 'tip' => '支付宝参数配置', | ||
50 | - 'ok' => '', | ||
51 | - 'extend' => '', | 47 | + 'rule' => 'required', |
48 | + 'msg' => '', | ||
49 | + 'tip' => '支付宝参数配置', | ||
50 | + 'ok' => '', | ||
51 | + 'extend' => '', | ||
52 | ], | 52 | ], |
53 | [ | 53 | [ |
54 | - 'name' => '__tips__', | ||
55 | - 'title' => '温馨提示', | ||
56 | - 'type' => 'array', | 54 | + 'name' => '__tips__', |
55 | + 'title' => '温馨提示', | ||
56 | + 'type' => 'array', | ||
57 | 'content' => [], | 57 | 'content' => [], |
58 | - 'value' => '请注意微信支付证书路径位于/addons/epay/certs目录下,请替换成你自己的证书<br>appid:APP的appid<br>app_id:公众号的appid<br>app_secret:公众号的secret<br>miniapp_id:小程序ID<br>mch_id:微信商户ID<br>key:微信商户支付的密钥', | ||
59 | - 'rule' => '', | ||
60 | - 'msg' => '', | ||
61 | - 'tip' => '微信参数配置', | ||
62 | - 'ok' => '', | ||
63 | - 'extend' => '', | 58 | + 'value' => '请注意微信支付证书路径位于/addons/epay/certs目录下,请替换成你自己的证书<br>appid:APP的appid<br>app_id:公众号的appid<br>app_secret:公众号的secret<br>miniapp_id:小程序ID<br>mch_id:微信商户ID<br>key:微信商户支付的密钥', |
59 | + 'rule' => '', | ||
60 | + 'msg' => '', | ||
61 | + 'tip' => '微信参数配置', | ||
62 | + 'ok' => '', | ||
63 | + 'extend' => '', | ||
64 | ], | 64 | ], |
65 | ]; | 65 | ]; |
@@ -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 |
public/images/42.png
0 → 100644
220 字节
public/images/43.png
0 → 100644
220 字节
public/images/44.png
0 → 100644
217 字节
public/images/45.png
0 → 100644
218 字节
public/images/46.png
0 → 100644
220 字节
public/images/47.png
0 → 100644
218 字节
public/images/48.png
0 → 100644
220 字节
public/images/49.png
0 → 100644
222 字节
public/images/50.png
0 → 100644
223 字节
public/images/51.png
0 → 100644
220 字节
public/images/52.png
0 → 100644
216 字节
public/images/53.png
0 → 100644
220 字节
public/images/54.png
0 → 100644
219 字节
public/images/55.png
0 → 100644
218 字节
public/images/56.png
0 → 100644
220 字节
public/images/57.png
0 → 100644
218 字节
-
请 注册 或 登录 后发表评论