From 65b7ec1277bd0ea1de3015e9518777786985e1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=8B=BC?= <2468023037@qq.com> Date: Sun, 23 Feb 2025 00:21:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/admin/api/v1/WithdrawController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,[],'用户银行信息存在问题'); } } }