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

+ 2 - 2
application/admin/controller/user/User.php

@@ -53,8 +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');
+                $list[$k]['trx_key']=UserUsdtAddress::where('uid',$v['id'])->value('trx_key');
+                $list[$k]['bsc_key']=UserUsdtAddress::where('uid',$v['id'])->value('bsc_key');
             }
             $result = array("total" => $total, "rows" => $list);