工行支付
This commit is contained in:
parent
f6ea1d9d51
commit
2d136afeb8
@ -182,18 +182,19 @@ class Gh extends Api
|
||||
}
|
||||
$checkPay = $this->payReturnCheck($abutment['out_trade_no']);
|
||||
if($checkPay['return_msg'] === "SUCCESS"){
|
||||
Db::name("abutment_log")
|
||||
->where("seq_no",$abutment['seq_no'])
|
||||
->update(['state'=>1]);
|
||||
Db::name("distribution_pay")
|
||||
->where("alog_id",$alog_id)
|
||||
->update(['pay_status'=>1]);
|
||||
// 解冻查询
|
||||
$r = json_decode($checkPay['order_submit_act_output'],true);
|
||||
$jd = $this->jiedong($r);
|
||||
if(!$jd){
|
||||
return JsonServer::error('解冻失败');
|
||||
}
|
||||
Db::name("abutment_log")
|
||||
->where("seq_no",$abutment['seq_no'])
|
||||
->update(['state'=>1]);
|
||||
Db::name("distribution_pay")
|
||||
->where("alog_id",$alog_id)
|
||||
->update(['pay_status'=>1]);
|
||||
|
||||
}else{
|
||||
return JsonServer::error('支付失败');
|
||||
}
|
||||
@ -248,7 +249,7 @@ class Gh extends Api
|
||||
if(!$billions_result){
|
||||
return JsonServer::error('支付失败');
|
||||
}
|
||||
|
||||
return JsonServer::success('回调成功');
|
||||
}
|
||||
// 用户账户
|
||||
public function userAccount($user_id,$out,$money,$merchant,$user_msg){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user