From f75de98dec13a687b3e61f5211956ade56e66a8a Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Mon, 25 Nov 2024 18:16:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=A1=8C=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Gh.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/api/controller/Gh.php b/app/api/controller/Gh.php index fb1a7c16..dda1686c 100644 --- a/app/api/controller/Gh.php +++ b/app/api/controller/Gh.php @@ -187,14 +187,16 @@ class Gh extends Api ->update(['pay_status'=>1]); Db::name("distribution_member_apply")->where("id",$id)->update(['alog_id'=>$alog_id]); }else{ + $da['order_status'] = 1; + $da['pay_status'] = 1; if($abutment['form'] == "trade"){ Db::name("order") ->where("trade_id",$abutment['order_id']) - ->update(['order_status'=>1,'pay_status'=>1]); + ->update($da); }else{ Db::name("order") ->where("id",$abutment['order_id']) - ->update(['order_status'=>1,'pay_status'=>1]); + ->update($da); } }