diff --git a/app/controller/admin/api/v1/WithdrawController.php b/app/controller/admin/api/v1/WithdrawController.php index cabb448..f7f3d20 100644 --- a/app/controller/admin/api/v1/WithdrawController.php +++ b/app/controller/admin/api/v1/WithdrawController.php @@ -105,7 +105,7 @@ class WithdrawController $Withdraw->order_number = $res->TrackingNumber ?? null; $Withdraw->save(); UserRewardDao::base($user_id, 1, $money, '提现失败返还'); - return ApiResponse::error(null, '用户银行信息存在问题'); + return ApiResponse::error(400,[],'用户银行信息存在问题'); } $Withdraw = Withdraw::where('id', $id)->first(); $Withdraw->status = 2; @@ -120,7 +120,7 @@ class WithdrawController $Withdraw->order_number = $res->TrackingNumber ?? null; $Withdraw->save(); UserRewardDao::base($user_id, 1, $money, '提现失败返还'); - return ApiResponse::error(200, null, '用户银行信息存在问题'); + return ApiResponse::error(400,[],'用户银行信息存在问题'); } } }