正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -99,8 +99,8 @@ class AdminCommon extends Backend | @@ -99,8 +99,8 @@ class AdminCommon extends Backend | ||
99 | $r_ids = array_unique(array_column($expTableData,'r_id')); | 99 | $r_ids = array_unique(array_column($expTableData,'r_id')); |
100 | $res_mobile = Common::selectWhereData('registers',['id'=>['in',$r_ids]],'id,mobile'); | 100 | $res_mobile = Common::selectWhereData('registers',['id'=>['in',$r_ids]],'id,mobile'); |
101 | foreach($expTableData as $key => $r){ | 101 | foreach($expTableData as $key => $r){ |
102 | - $user_id = Db::name('registers')->where(['id'=>$r['r_id']])->value('uid'); | ||
103 | - $expTableData[$key]['user_name'] = Db::name('user')->where(['id'=>$user_id])->value('nickname'); | 102 | + $user_name = Db::name('registers')->where(['id'=>$r['r_id']])->value('user_name'); |
103 | + $expTableData[$key]['user_name'] = $user_name;//Db::name('user')->where(['id'=>$user_id])->value('nickname'); | ||
104 | } | 104 | } |
105 | $expCellName = [ | 105 | $expCellName = [ |
106 | ['order_sn','订单编号',15], | 106 | ['order_sn','订单编号',15], |
-
请 注册 或 登录 后发表评论