zhangguidong před 2 roky
rodič
revize
6b3947c631
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 7 0
      application/store/controller/Examine.php

+ 7 - 0
application/store/controller/Examine.php

@@ -34,6 +34,13 @@ class Examine extends Controller
         $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();
     }
+    protected function _index_page_filter(&$data)
+    {
+        foreach ($data as &$v){
+            $v['n_id']=Db::name('store_work_nature')->where('id',$v['n_id'])->value('name');
+        }
+
+    }
     /**
      * 添加快递公司
      * @auth false