feat : ide config
This commit is contained in:
@@ -150,14 +150,13 @@ abstract class WxJsRechargeBaseService implements ThirdPayInterface
|
||||
'description' => '测试订单',
|
||||
'amount' => [
|
||||
'total' => (int)bcmul((string)$money, "100"),
|
||||
'currency' => 'CNY'
|
||||
],
|
||||
'payer' => [
|
||||
'openid' => $this->openId,
|
||||
]
|
||||
'sub_openid' => $this->openId,
|
||||
],
|
||||
];
|
||||
|
||||
$result = $this->ysdPay->wechat($this->config)->mini($wxOrder);
|
||||
$result = $this->ysdPay->wechat(array_merge($this->config, ['_force' => true]))->mp($wxOrder);
|
||||
|
||||
$this->log->callbackLog(__CLASS__.'微信支付调起数据|回调地址:'. json_encode($this->config['wechat']['default']).'|回调数据:'.json_encode($result).'|请求数据:'.json_encode($wxOrder));
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user