no message

This commit is contained in:
kuaifan
2023-04-10 12:36:41 +08:00
parent 1cf5a24c26
commit 4024cfb7c7
3 changed files with 13 additions and 7 deletions

View File

@@ -575,12 +575,12 @@ class SystemController extends AbstractController
$data['error'][] = '终端MAC与License不匹配';
}
}
if ($data['user_count'] > $data['info']['people']) {
$data['error'][] = '终端用户数超过License限制';
}
if ($data['info']['expired_at'] && strtotime($data['info']['expired_at']) <= Base::time()) {
$data['error'][] = '终端License已过期';
}
}
if ($data['user_count'] > $data['info']['people']) {
$data['error'][] = '终端用户数超过License限制';
}
if ($data['info']['expired_at'] && strtotime($data['info']['expired_at']) <= Base::time()) {
$data['error'][] = '终端License已过期';
}
//
return Base::retSuccess('success', $data);