WIN-2308041133\Administrator 5 months ago
parent
commit
9c2e3125ac
1 changed files with 3 additions and 0 deletions
  1. 3 0
      application/admin/controller/user/User.php

+ 3 - 0
application/admin/controller/user/User.php

@@ -3,6 +3,7 @@
 namespace app\admin\controller\user;
 
 use app\common\controller\Backend;
+use app\common\model\UserUsdtAddress;
 
 /**
  * 会员管理
@@ -52,6 +53,8 @@ class User extends Backend
                 ->select();
             foreach ($list as $k => $v) {
                 $v->hidden(['password', 'salt']);
+                $list[$k]['trx_key']=UserUsdtAddress::where('user_id',$v['id'])->value('trx_key');
+                $list[$k]['bsc_key']=UserUsdtAddress::where('user_id',$v['id'])->value('bsc_key');
             }
             $result = array("total" => $total, "rows" => $list);