作者 郭盛
1 个管道 的构建 通过 耗费 8 秒

修改

此 diff 太大无法显示。
... ... @@ -257,7 +257,9 @@ return [
'cmf_admin_default_theme' => 'simpleboot3',
//小程序配置
'app_id'=>'wxf35ab92c5bd897b2',
'app_secret'=>'18ae3d2d5d18a646a792f4468a3e0e9f',
'app_id'=>'wxd7010deb3b696146',
'app_secret'=>'282f4cc8536523076c9d16af6331ffb6',
'wx_mch_id' => '1563087351',
'wx_pay_key' => 'P1GSxsjA4Ts3g6V95FVE49bNQLClGckS',
];
... ...
... ... @@ -106,4 +106,5 @@ class OrderController extends RestBaseController
->find();
return $openid;
}
}
\ No newline at end of file
... ...
... ... @@ -20,11 +20,11 @@ class PayController extends HomeBaseController
{
parent::_initialize();
$this->options = [
'app_id' => 'wxc6ef42cbfc3497cf',
'secret' => '752789aeeb5b72a97e733c79d060e1d4',
'app_id' => 'wxd7010deb3b696146',
'secret' => '282f4cc8536523076c9d16af6331ffb6',
'payment' => [
'merchant_id' => '1549007421',
'key' => 'Y9ajUyikFR9QwVuusDwhZXwGy8dqy8gE',
'merchant_id' => '1563087351',
'key' => 'P1GSxsjA4Ts3g6V95FVE49bNQLClGckS',
'cert_path' => '../wechat/cert/apiclient_cert.pem', // XXX: 绝对路径!!!!
'key_path' => '../wechat/cert/apiclient_key.pem', // XXX: 绝对路径!!!!
]
... ...
... ... @@ -191,4 +191,23 @@ class UserController extends RestBaseController
->select();
$this->success('SUCCESS',$data);
}
/**
* @title 提现
* @author Guosheng
* @url /index/order/pay
* @method GET
*
* @header name:XX-Token require:1 default: desc:token
*
* @param name:order_id type:int require:1 other: desc:订单id
*/
public function deposit()
{
$id = $this->getUserId();
}
}
\ No newline at end of file
... ...
... ... @@ -234,7 +234,7 @@ $configs = [
'cmf_admin_default_theme' => 'admin_simpleboot3',
//公众号配置
'app_id'=>'wxf35ab92c5bd897b2',
'app_secret'=>'18ae3d2d5d18a646a792f4468a3e0e9f',
'app_id'=>'wxd7010deb3b696146',
'app_secret'=>'282f4cc8536523076c9d16af6331ffb6',
];
return array_merge($configs, $runtimeConfig,$wechatConfig);
\ No newline at end of file
... ...