feat(PayController): 增加微信支付查询API
This commit is contained in:
parent
d98a5aff3b
commit
74e70c92bb
@ -19,7 +19,7 @@ use support\Log;
|
||||
class PayController extends BaseApiController
|
||||
{
|
||||
|
||||
public $notNeedLogin = ['notifyMnp', 'alipay_return', 'alipay_notify'];
|
||||
public $notNeedLogin = ['notifyMnp', 'alipay_return', 'alipay_notify','wechatQuery'];
|
||||
|
||||
/**
|
||||
* @notes 小程序支付回调
|
||||
@ -83,7 +83,7 @@ class PayController extends BaseApiController
|
||||
}
|
||||
return $this->success('支付成功');
|
||||
} else {
|
||||
return $this->fail('订单支付中');
|
||||
return $this->fail('订单支付中或已失效');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user