|
|
@@ -34,7 +34,9 @@ class BaseController extends PublicController
|
|
|
$requestVersion = $headers->get('appVersion');
|
|
|
$currentVersion = dict::getDict('appVersion');
|
|
|
if ($requestVersion < $currentVersion) {
|
|
|
- util::fail('请先升级系统');
|
|
|
+ if (in_array($action->id, $this->guestAccess) == false) {
|
|
|
+ util::fail('请先升级系统');
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//token验证
|