From fd059cb886ea428071302ce5b674fef71fbd633d Mon Sep 17 00:00:00 2001 From: Rin SAMA <1181127934@qq.com> Date: Tue, 3 Apr 2018 23:09:15 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=E4=BF=AE=E5=A4=8D=E7=A0=81=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=9B=9E=E8=B0=83BUG=EF=BC=8C=E9=A1=BA=E5=B8=A6?= =?UTF-8?q?=E5=9B=9E=E6=94=B6=E6=98=A8=E5=A4=A9=E7=9A=84Flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Utils/Pay.php | 9 ++------- config/.config.php.example | 8 ++++++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/Utils/Pay.php b/app/Utils/Pay.php index 32512911..b8af9d5f 100644 --- a/app/Utils/Pay.php +++ b/app/Utils/Pay.php @@ -638,7 +638,7 @@ class Pay $user=User::find($trade->userid); $user->money=$user->money+$_POST['total_amount']; $user->save(); - + //更新充值(捐赠)记录 $codeq=new Code(); $codeq->code="支付宝 充值"; @@ -732,12 +732,7 @@ class Pay } } if ($codeq!=null){ - echo ' - - '; + return; } } diff --git a/config/.config.php.example b/config/.config.php.example index d6a66dad..654a327e 100644 --- a/config/.config.php.example +++ b/config/.config.php.example @@ -58,6 +58,10 @@ $System_Config['smtp_sender'] = ''; $System_Config['smtp_passsword'] = ''; $System_Config['smtp_ssl'] = 'true'; +# sendgrid +$System_Config['sendgrid_key'] = ''; +$System_Config['sendgrid_sender'] = ''; + //备份设置----------------------------------------------------------------------- $System_Config['enable_auto_backup']='false'; @@ -146,8 +150,8 @@ $System_Config['payment_system']='none'; #codepay码支付 #wiki地址:https://goo.gl/dRwRDi http://t.cn/RnsWjtB -$System_Config['codepay_id']='';//码支付ID -$System_Config['codepay_key']='';//码支付通信密钥 +$System_Config['codepay_id']=''; //码支付ID +$System_Config['codepay_key']=''; //码支付通信密钥 #doiampay,https://www.daimiyun.cn/v3/ $System_Config['doiampay']=[