feat: 新增
This commit is contained in:
parent
021ddd7961
commit
79f8ddca31
|
@ -102,7 +102,6 @@ class WithdrawController
|
||||||
$Withdraw = Withdraw::where('id', $id)->first();
|
$Withdraw = Withdraw::where('id', $id)->first();
|
||||||
$Withdraw->status = 5;
|
$Withdraw->status = 5;
|
||||||
$Withdraw->status_text = '支付失败:用户银行信息存在问题';
|
$Withdraw->status_text = '支付失败:用户银行信息存在问题';
|
||||||
$Withdraw->order_number = $res->TrackingNumber ?? null;
|
|
||||||
$Withdraw->save();
|
$Withdraw->save();
|
||||||
UserRewardDao::base($user_id, 1, $money, '提现失败返还');
|
UserRewardDao::base($user_id, 1, $money, '提现失败返还');
|
||||||
return ApiResponse::error(400,[],'用户银行信息存在问题');
|
return ApiResponse::error(400,[],'用户银行信息存在问题');
|
||||||
|
@ -117,7 +116,6 @@ class WithdrawController
|
||||||
$Withdraw = Withdraw::where('id', $id)->first();
|
$Withdraw = Withdraw::where('id', $id)->first();
|
||||||
$Withdraw->status = 5;
|
$Withdraw->status = 5;
|
||||||
$Withdraw->status_text = '支付失败:用户银行信息存在问题';
|
$Withdraw->status_text = '支付失败:用户银行信息存在问题';
|
||||||
$Withdraw->order_number = $res->TrackingNumber ?? null;
|
|
||||||
$Withdraw->save();
|
$Withdraw->save();
|
||||||
UserRewardDao::base($user_id, 1, $money, '提现失败返还');
|
UserRewardDao::base($user_id, 1, $money, '提现失败返还');
|
||||||
return ApiResponse::error(400,[],'用户银行信息存在问题');
|
return ApiResponse::error(400,[],'用户银行信息存在问题');
|
||||||
|
|
Loading…
Reference in New Issue