no message

This commit is contained in:
kuaifan
2022-06-27 20:30:01 +08:00
parent 58856c6620
commit 688fcd3c77
16 changed files with 110 additions and 46 deletions

View File

@@ -107,7 +107,7 @@ class Base
public static function checkClientVersion($min)
{
if (version_compare(Base::getClientVersion(), $min, '<')) {
throw new ApiException('当前版本 (v' . Base::getClientVersion() . ') 过低');
throw new ApiException('当前版本 (v' . Base::getClientVersion() . ') 过低,最低版本要求 (v' . $min . ')。');
}
}