* Fix view file of cron.

This commit is contained in:
朱金勇
2024-01-24 16:42:17 +08:00
parent 0029ebdafe
commit 2db5977722
+2
View File
@@ -395,6 +395,8 @@ class cron extends control
parse_str($task->command, $params);
if(isset($params['moduleName']) and isset($params['methodName']))
{
$this->viewType = 'html';
$this->app->loadLang($params['moduleName']);
$this->app->loadConfig($params['moduleName']);
$output = $this->fetch($params['moduleName'], $params['methodName']);