feat : spu
This commit is contained in:
@@ -97,13 +97,13 @@ abstract class WxJsRechargeBaseService implements ThirdPayInterface
|
|||||||
{
|
{
|
||||||
$this->setConfig();
|
$this->setConfig();
|
||||||
|
|
||||||
$this->callbackData = $this->request->all();
|
// $this->callbackData = $this->request->all();
|
||||||
// try {
|
try {
|
||||||
// $this->callbackData = $this->ysdPay->wechat($this->config)->callback($this->request)->toArray()['resource']['ciphertext'];
|
$this->callbackData = $this->ysdPay->wechat($this->config)->callback($this->request)->toArray()['resource']['ciphertext'];
|
||||||
// }catch (Exception $e) {
|
}catch (Exception $e) {
|
||||||
// $this->log->debug(__CLASS__.'wxPay回调解密失败'.json_encode($e->getMessage()));
|
$this->log->debug(__CLASS__.'wxPay回调解密失败'.json_encode($e->getMessage()));
|
||||||
// throw new ErrException('wxPay回调解密失败');
|
throw new ErrException('wxPay回调解密失败');
|
||||||
// }
|
}
|
||||||
|
|
||||||
if (empty($this->callbackData)) {
|
if (empty($this->callbackData)) {
|
||||||
$this->log->debug(__CLASS__.'wxPay获取回调失败'.json_encode($this->request));
|
$this->log->debug(__CLASS__.'wxPay获取回调失败'.json_encode($this->request));
|
||||||
|
|||||||
Reference in New Issue
Block a user