From 856f1fa53fd1b0b374b697cf5bae97029da8a84d Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Thu, 9 Dec 2021 13:44:57 +0800 Subject: [PATCH] settter --- app/controller/api/Business.php | 2 +- app/controller/api/Recharge.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/api/Business.php b/app/controller/api/Business.php index 10b347c..f8c56d2 100644 --- a/app/controller/api/Business.php +++ b/app/controller/api/Business.php @@ -366,7 +366,7 @@ class Business extends Base 'package' => 'prepay_id='.$res['prepay_id'], "signType" =>'MD5', ]; - + $payData['sign'] = generate_sign($payData, config("wechat.key")); Db::commit(); diff --git a/app/controller/api/Recharge.php b/app/controller/api/Recharge.php index 11fa329..1593796 100644 --- a/app/controller/api/Recharge.php +++ b/app/controller/api/Recharge.php @@ -18,7 +18,7 @@ use think\facade\Log; */ class Recharge extends Base { - protected $noNeedLogin = ['query']; + protected $noNeedLogin = ['query',"notify"]; /** * 查询是否支付成功