panlumeng 3 years ago
parent
commit
c6e15a8f8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Customar.php

+ 1 - 1
app/admin/controller/Customar.php

@@ -162,7 +162,7 @@ class Customar extends BaseController
         $total = ceil($count / $size);
         $page = $page >= $total ? $total : $page;
         $list = Db::name('customer_member')->alias('a')->join('customer_info b', "b.companyNo=a.companyNo", "left")
-            ->where($where)->page($page, $size)->order("addtime desc")->field("a.*,b.companyName,b.parent")->select();
+            ->where($where)->page($page, $size)->order("addtime desc")->field("a.*,b.companyName,b.parent,b.id")->select();
         return app_show(0, "获取成功", ['list' => $list, 'count' => $count]);
     }