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