Compare commits

...

2 Commits

Author SHA1 Message Date
陈狼 34f07127a7 Merge branch 'master' of https://git.shagain.club/shulang/webman 2025-02-23 00:21:46 +08:00
陈狼 65b7ec1277 feat: 页面更改 2025-02-23 00:21:39 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -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,[],'用户银行信息存在问题');
} }
} }
} }