* Ajdust openApp logic.

This commit is contained in:
zhujinyong
2021-03-31 16:07:11 +08:00
parent bd991f876e
commit d966b2e214
8 changed files with 33 additions and 26 deletions
+2
View File
@@ -33,6 +33,8 @@ class control extends baseControl
{
parent::__construct($moduleName, $methodName, $appName);
$this->app->setOpenApp();
if(defined('IN_USE') or (defined('RUN_MODE') and RUN_MODE == 'api')) $this->setPreference();
if(!isset($this->config->bizVersion)) return false;