工行支付

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

@ -189,7 +189,7 @@ class Gh extends Api
}else{
$da['order_status'] = 1;
$da['pay_status'] = 1;
if($abutment['form'] == "trade"){
if($abutment['from'] == "trade"){
Db::name("order")
->where("trade_id",$abutment['order_id'])
->update($da);
@ -198,7 +198,6 @@ class Gh extends Api
->where("id",$abutment['order_id'])
->update($da);
}
}
}else{
return JsonServer::error('支付失败');