|
|
|
@ -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); |
|
|
|
|