From e79c06507433adef7feabd22257d4be29f710de1 Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Tue, 11 Jun 2024 16:51:35 +0800 Subject: [PATCH] YS --- application/controllers/Api/Sysset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Api/Sysset.php b/application/controllers/Api/Sysset.php index c11a8f8..eec37e5 100644 --- a/application/controllers/Api/Sysset.php +++ b/application/controllers/Api/Sysset.php @@ -54,7 +54,7 @@ class Api_SyssetController extends Ctrl_Api{ $data = $UserModel->field("*")->where("id={$uid}")->fRow(); //获取笼位数量 $Cagemodel = new CageModel(); - $CageNum = $Cagemodel->field('count(*) as num')->where("c_user_id={$uid}")->fRow(); + $CageNum = $Cagemodel->field('count(*) as num')->where("c_user_id={$uid} and is_delete=0")->fRow(); $data['cage_num'] = $CageNum['num']; unset($data['password']); Tool_Fnc::apiMsg('获取成功', '200',$data);