|
@@ -50,14 +50,14 @@ class Order extends AuthController
|
|
|
'orderCount' => StoreOrderModel::orderCount($this->adminInfo['store_id']),
|
|
|
'payTypeCount' => StoreOrderModel::payTypeCount($this->adminInfo['store_id']),
|
|
|
]);
|
|
|
- $this->assign('type',$this->adminInfo['type']);
|
|
|
- if($this->adminInfo['type']==0)
|
|
|
- {
|
|
|
- $this->assign('store',SystemStore::where('is_show',1)->where('is_del',0)->field('id,name')->select());
|
|
|
+ $this->assign('type', $this->adminInfo['type']);
|
|
|
+ if ($this->adminInfo['type'] == 0) {
|
|
|
+ $this->assign('store', SystemStore::where('is_show', 1)->where('is_del', 0)->field('id,name')->select());
|
|
|
}
|
|
|
- $this->assign('store_id',$this->adminInfo['store_id']);
|
|
|
+ $this->assign('store_id', $this->adminInfo['store_id']);
|
|
|
return $this->fetch();
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 获取头部订单金额等信息
|
|
|
* return json
|