@@ -7,12 +7,12 @@ return [
'type' => 'array',
'content' => [],
'value' => [
- 'appid' => '',
+ 'appid' => 'wx566de30d10f8ea7f',
'app_id' => '',
'app_secret' => '',
'miniapp_id' => '',
- 'mch_id' => '',
- 'key' => '',
+ 'mch_id' => '1624477512',
+ 'key' => 'i900uFy4cQvsGzcAD0xXyajXUjfsmsRd',
'mode' => 'normal',
'sub_mch_id' => '',
'sub_appid' => '',
@@ -29,7 +29,7 @@ class Money extends Common
if(!in_array($purpose,[1,2,3,4]) || !in_array($type,['wechat','alipay'])) {
$this->error(__('Invalid parameters'));
}
- if($type == 'wechat') $this->error(__('微信支付暂未开通!请选择支付宝支付!'));
+// if($type == 'wechat') $this->error(__('微信支付暂未开通!请选择支付宝支付!'));
$user_id = $this->auth->id;
$fate_user_id = 0;
$vip_config_id = 0;