feat(PayController): 增加微信支付查询API

This commit is contained in:
mkm 2024-06-22 17:39:39 +08:00
parent d98a5aff3b
commit 74e70c92bb

View File

@ -19,7 +19,7 @@ use support\Log;
class PayController extends BaseApiController class PayController extends BaseApiController
{ {
public $notNeedLogin = ['notifyMnp', 'alipay_return', 'alipay_notify']; public $notNeedLogin = ['notifyMnp', 'alipay_return', 'alipay_notify','wechatQuery'];
/** /**
* @notes 小程序支付回调 * @notes 小程序支付回调
@ -83,7 +83,7 @@ class PayController extends BaseApiController
} }
return $this->success('支付成功'); return $this->success('支付成功');
} else { } else {
return $this->fail('订单支付中'); return $this->fail('订单支付中或已失效');
} }
} }