feat : ide config

This commit is contained in:
2025-03-17 17:29:51 +08:00
parent 4758aa598d
commit 9e22529161
14 changed files with 259 additions and 52 deletions

View File

@@ -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;