songxingwei 3 年之前
父节点
当前提交
db28d252f3
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      application/store/controller/Member.php

+ 11 - 0
application/store/controller/Member.php

@@ -67,6 +67,17 @@ class Member extends Controller
             $v['industry_name'] = Db::name('q_industry')->where('id',$v['industry_id'])->value('name');
         }
 
+        $array = [
+            [
+                'id'=>'',
+                'name'=>'全部',
+                'create_at'=>'2021-08-12 11:34:15',
+                'is_del'=>1
+            ]
+        ];
+        $industry_list = Db::name('q_industry')->where('is_del',1)->select();
+        $industry_list = array_merge($array,$industry_list);
+        dump($industry_list);die;
         //行业列表
         $this->industry_list = Db::name('q_industry')->where('is_del',1)->select();
     }