小程序用户改用门店登录
This commit is contained in:
@@ -11,7 +11,6 @@ use App\Models\StoreModel;
|
||||
use App\Models\StoreOrderItemModel;
|
||||
use App\Models\StoreOrderModel;
|
||||
use App\Models\SupplierModel;
|
||||
use App\Models\UserModel;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
@@ -349,9 +348,9 @@ class DashboardController extends BaseController
|
||||
}
|
||||
|
||||
/**
|
||||
* 基础档案计数:在营门店 / 在售商品 / 合作供应商 / 小程序用户
|
||||
* 基础档案计数:在营门店 / 在售商品 / 合作供应商
|
||||
*
|
||||
* @return array{stores: int, products: int, suppliers: int, users: int}
|
||||
* @return array{stores: int, products: int, suppliers: int}
|
||||
*/
|
||||
private function archives(): array
|
||||
{
|
||||
@@ -359,7 +358,6 @@ class DashboardController extends BaseController
|
||||
'stores' => StoreModel::query()->where('status', StoreModel::STATUS_NORMAL)->count(),
|
||||
'products' => ProductModel::query()->where('status', ProductModel::STATUS_ON)->count(),
|
||||
'suppliers' => SupplierModel::query()->where('status', SupplierModel::STATUS_NORMAL)->count(),
|
||||
'users' => UserModel::query()->where('status', UserModel::STATUS_NORMAL)->count(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user