作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

修改we

@@ -55,7 +55,7 @@ class Litestoreorder extends Backend @@ -55,7 +55,7 @@ class Litestoreorder extends Backend
55 } 55 }
56 list($where, $sort, $order, $offset, $limit) = $this->buildparams(); 56 list($where, $sort, $order, $offset, $limit) = $this->buildparams();
57 57
58 - $store = model('Store')->where('admin_id',$this->auth->id)->field('id')->find(); 58 + $store = \app\admin\model\store\Store::where('admin_id',$this->auth->id)->field('id')->find();
59 $store_id = $store ? $store['id'] : 0; 59 $store_id = $store ? $store['id'] : 0;
60 60
61 $total = $this->model 61 $total = $this->model