|
@@ -71,9 +71,10 @@ class Order extends AuthController
|
|
|
['data', ''],
|
|
['data', ''],
|
|
|
['type', ''],
|
|
['type', ''],
|
|
|
['pay_type', ''],
|
|
['pay_type', ''],
|
|
|
- ['order', '']
|
|
|
|
|
|
|
+ ['order', ''],
|
|
|
]);
|
|
]);
|
|
|
$where['store_id'] = $this->adminInfo['store_id'];
|
|
$where['store_id'] = $this->adminInfo['store_id'];
|
|
|
|
|
+ if ($this->request->post(['store_id']) > 0) $where['store_id'] = $this->request->post(['store_id']);
|
|
|
return Json::successful(StoreOrderModel::getBadge($where));
|
|
return Json::successful(StoreOrderModel::getBadge($where));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|