工行支付

This commit is contained in:
xucong 2024-11-25 18:16:25 +08:00
parent f00b46d296
commit f75de98dec

@ -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);
}
}