Browse Source

sunguidong

zhangguidong 2 years ago
parent
commit
ae1c550b7c
1 changed files with 10 additions and 10 deletions
  1. 10 10
      app/admin/controller/Index.php

+ 10 - 10
app/admin/controller/Index.php

@@ -63,7 +63,7 @@ class Index extends BaseAdmin
             ['create_time','between',[date_to_time(date('Y-m-d 00:00:00')),date_to_time(date('Y-m-d 23:59:59'))]]
         ];
         $shop_apply_count = $shop_apply_model->suppShopApplyCount($condition);
-        $this->assign('shop_apply_count',$shop_apply_count['data']['shop_apply_count']);
+        $this->assign('shop_apply_count',1);
         //今日申请店铺数
         $shop_model = new ShopModel();
         $shop_count = $shop_model->getShopCount($condition);
@@ -121,15 +121,15 @@ class Index extends BaseAdmin
           $complain_count_result =$complain_model->getComplainCount([["complain_status", "=", 1]]);
           $this->assign("complain_count_result", $complain_count_result["data"]);
 
-          //店铺入驻申请
-            $shop_apply_model = new \app\model\shop\ShopApply();
-          $shop_apply_count_result = $shop_apply_model->getShopApplyCount([["apply_state", "in", [1,2]]]);
-          $this->assign("shop_apply_count", $shop_apply_count_result["data"]);
-          //店铺续签申请
-
-          $shop_reopen_model = new \app\model\shop\ShopReopen();
-          $shop_reopen_count_result = $shop_reopen_model->getApplyReopenCount([["apply_state", "=", 1]]);
-          $this->assign("shop_reopen_count", $shop_reopen_count_result["data"]);
+//          //店铺入驻申请
+//            $shop_apply_model = new \app\model\shop\ShopApply();
+//          $shop_apply_count_result = $shop_apply_model->getShopApplyCount([["apply_state", "in", [1,2]]]);
+//          $this->assign("shop_apply_count", $shop_apply_count_result["data"]);
+//          //店铺续签申请
+//
+//          $shop_reopen_model = new \app\model\shop\ShopReopen();
+//          $shop_reopen_count_result = $shop_reopen_model->getApplyReopenCount([["apply_state", "=", 1]]);
+//          $this->assign("shop_reopen_count", $shop_reopen_count_result["data"]);
 
       }