From b0c272de774b68517d5463f3186a2b81189a14de Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 1 Jul 2024 14:17:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=88=B9=E5=8F=AA=E4=BF=A1=E6=81=AF=E6=9F=A5=E8=AF=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/user/UserRechargeLists.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/api/lists/user/UserRechargeLists.php b/app/api/lists/user/UserRechargeLists.php index 62521a687..83bfecd61 100644 --- a/app/api/lists/user/UserRechargeLists.php +++ b/app/api/lists/user/UserRechargeLists.php @@ -8,6 +8,7 @@ use app\common\model\user\UserFeedback; use app\common\model\user_label\UserLabel; use app\common\model\user_recharge\UserRecharge; +use app\common\model\user_ship\UserShip; //用户充值表 class UserRechargeLists extends BaseAdminDataLists implements ListsSearchInterface @@ -47,8 +48,8 @@ use app\common\model\user_recharge\UserRecharge; if($data['recharge_type']=='INDUSTRYMEMBERS'){ $find =User::where('id',$data['uid'])->find(); $data['real_name']=$find['real_name']??''; - if($find &&$find['label_id']>0){ - $data['label_name']=UserLabel::where('label_id',$find['label_id'])->value('label_name'); + if($find &&$find['user_ship']>0){ + $data['ship_name']=UserShip::where('id',$find['user_ship'])->value('title'); } }else{ $data['real_name'] =User::where('id',$data['uid'])->value('real_name');