This commit is contained in:
aozhiwei 2024-08-01 13:22:03 +08:00
parent d1dd03656e
commit 623a7b0bbd
2 changed files with 2 additions and 1 deletions

View File

@ -326,7 +326,7 @@ class BaseController {
private function _internalMustBeLoadModule($fullName) private function _internalMustBeLoadModule($fullName)
{ {
if (!array_key_exists($fullName, $this->moduleHash)) { if (!array_key_exists($fullName, $this->moduleHash)) {
require_once($fullName . '.php'); require_once(str_replace('\\', '/', $fullName) . '.php');
$this->moduleHash[$fullName] = $this->_getNowTime(); $this->moduleHash[$fullName] = $this->_getNowTime();
} }
} }

View File

@ -14,6 +14,7 @@ class BigwheelController extends BaseAuthedController
{ {
public function info(){ public function info(){
echo myself()->_getModelConstant('MidData', 'BIG_WHEEL_TYPE');
} }
public function drawS(){ public function drawS(){