|
|
@@ -199,8 +199,8 @@ class SystemStore extends AuthController
|
|
|
public function apply()
|
|
|
{
|
|
|
$type = $this->request->param('type');
|
|
|
- $show = SystemStoreApply::where('status', 1)->count();//显示中的门店
|
|
|
- $hide = SystemStoreApply::where('status', 0)->count();//隐藏的门店
|
|
|
+ $show = SystemStoreApply::where('status', 0)->count();//显示中的门店
|
|
|
+ $hide = SystemStoreApply::where('status', 1)->count();//隐藏的门店
|
|
|
$recycle = SystemStoreApply::where('status', 2)->count();//删除的门店
|
|
|
if ($type == null) $type = 1;
|
|
|
$this->assign(compact('type', 'show', 'hide', 'recycle'));
|