...
|
...
|
@@ -153,16 +153,8 @@ class UserMoneyLogAudit extends Backend |
|
|
}
|
|
|
|
|
|
public function merchantPay($openid,$user_name,$price,$desc){
|
|
|
$options = [
|
|
|
'app_id' => config('wechat.app_id'),
|
|
|
'secret' => config('wechat.app_secret'),
|
|
|
'payment' => [
|
|
|
'merchant_id' => config('wechat.merchant_id'),
|
|
|
'key' => config('wechat.key'),
|
|
|
'cert_path' => config('wechat.cert_path'),
|
|
|
'key_path' => config('wechat.key_path'),
|
|
|
],
|
|
|
];
|
|
|
$options = config('wechat');
|
|
|
dump($options);
|
|
|
$app = new Application($options);
|
|
|
$merchantPay = $app->merchant_pay;
|
|
|
$merchantPayData = [
|
...
|
...
|
|