作者 王智

xiugao

... ... @@ -1025,7 +1025,7 @@ class User extends Api
if ($params['status'] == 1) {
//未测试
foreach ($SonUserArray as $k => $v) {
$Weiceshi = Db::name('sleep')->where('user_id', $v['user_id'])->where('type', 1)->find();
$Weiceshi = Db::name('sleep')->where('user_id', $v['user_id'])->where('type', 'NEQ', 1)->find();
if (!empty($Weiceshi)) {
$UserArray[] = $v['user_id'];
}
... ...