array (
'name' => 'wechat',
'title' => '微信',
'type' => 'array',
'content' =>
array (
),
'value' =>
array (
'appid' => 'wxbe6da4af3e529e0c',
'app_id' => 'wxbe6da4af3e529e0c',
'app_secret' => '7c1b14020e87e9e213696e870da0e549',
'miniapp_id' => '',
'mch_id' => '1329733601',
'key' => 'a6654d342eedd8e293692a3e211a5e53',
'notify_url' => '',
'cert_client' => '/epay/certs/apiclient_cert.pem',
'cert_key' => '/epay/certs/apiclient_key.pem',
'log' => '1',
),
'rule' => '',
'msg' => '',
'tip' => '微信参数配置',
'ok' => '',
'extend' => '',
),
1 =>
array (
'name' => 'alipay',
'title' => '支付宝',
'type' => 'array',
'content' =>
array (
),
'value' =>
array (
'app_id' => AliPayConfig::getByName('ali_app_id'),
'notify_url' => AliPayConfig::getByName('ali_notify_url'),
'return_url' => AliPayConfig::getByName('ali_return_url'),
'ali_public_key' => AliPayConfig::getByName('ali_public_key'),
'private_key' => AliPayConfig::getByName('ali_private_key'),
'log' => '1',
),
'rule' => 'required',
'msg' => '',
'tip' => '支付宝参数配置',
'ok' => '',
'extend' => '',
),
2 =>
array (
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'array',
'content' =>
array (
),
'value' => '请注意微信支付证书路径位于/addons/epay/certs目录下,请替换成你自己的证书
appid:APP的appid
app_id:公众号的appid
app_secret:公众号的secret
miniapp_id:小程序ID
mch_id:微信商户ID
key:微信商户支付的密钥',
'rule' => '',
'msg' => '',
'tip' => '微信参数配置',
'ok' => '',
'extend' => '',
),
);