Compare commits
2 Commits
78e93b919e
...
34f07127a7
Author | SHA1 | Date |
---|---|---|
|
34f07127a7 | |
|
65b7ec1277 |
|
@ -105,7 +105,7 @@ class WithdrawController
|
||||||
$Withdraw->order_number = $res->TrackingNumber ?? null;
|
$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(null, '用户银行信息存在问题');
|
return ApiResponse::error(400,[],'用户银行信息存在问题');
|
||||||
}
|
}
|
||||||
$Withdraw = Withdraw::where('id', $id)->first();
|
$Withdraw = Withdraw::where('id', $id)->first();
|
||||||
$Withdraw->status = 2;
|
$Withdraw->status = 2;
|
||||||
|
@ -120,7 +120,7 @@ class WithdrawController
|
||||||
$Withdraw->order_number = $res->TrackingNumber ?? null;
|
$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(200, null, '用户银行信息存在问题');
|
return ApiResponse::error(400,[],'用户银行信息存在问题');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue