Browse Source

sunguidong

zhangguidong 2 years ago
parent
commit
0a170e1c19

+ 2 - 2
application/store/controller/Examine.php

@@ -31,8 +31,8 @@ class Examine extends Controller
     public function index()
     {
         $this->title = '会员认证审核';
-        $query = $this->_query($this->table)->alias('e')->join('store_member m','m.id=e.mid')->join('store_work_nature n','n.id=e.n_id')->like('m.username#name')->equal('e.status#status');
-        $query->dateBetween('e.create_at')->where('e.is_deleted',0)->field('e.*,m.username,n.name nname')->order('e.id desc')->page();
+        $query = $this->_query($this->table)->alias('e')->join('store_member m','m.id=e.mid')->like('m.username#name')->equal('e.status#status');
+        $query->dateBetween('e.create_at')->where('e.is_deleted',0)->field('e.*,m.username')->order('e.id desc')->page();
     }
     /**
      * 添加快递公司

+ 1 - 1
application/store/view/examine/form.html

@@ -12,7 +12,7 @@
         <div class="layui-form-item">
             <label class="layui-form-label">工作性质</label>
             <div class="layui-input-block">
-                <input name="n_id"  disabled value='{$vo.nname|default=""}' class="layui-input">
+                <input name="n_id"  disabled value='{$vo.n_id|default=""}' class="layui-input">
             </div>
         </div>
         <div class="layui-form-item">