wesmiler 2 هفته پیش
والد
کامیت
212abac8f8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Http/Controllers/Admin/IndexController.php

+ 1 - 1
app/Http/Controllers/Admin/IndexController.php

@@ -179,7 +179,7 @@ class IndexController extends Backend
             ],
             // 企业统计(商户用户不显示商家统计,返回0)
             'stores' => [
-                'count' => $storeId > 0 ? 0 : \App\Models\StoreModel::where(['type'=>2,'mark'=>1])->count(), // 总数
+                'count' => $storeId > 0 ? 0 : \App\Models\StoreModel::where(['mark'=>1])->count(), // 总数
             ],
             // 提现申请统计(balance_logs表没有store_id字段,商户用户返回0)
             'withdrawals' => [