From e6f87cd4ad8114ec5b41fc6edc3d03cd910b0836 Mon Sep 17 00:00:00 2001 From: Chenjianyu Date: Thu, 20 Jul 2023 15:18:35 +0800 Subject: [PATCH] * change default active module. --- module/ai/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ai/control.php b/module/ai/control.php index 277b4c029f..8f5deec640 100644 --- a/module/ai/control.php +++ b/module/ai/control.php @@ -264,7 +264,7 @@ class ai extends control return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->inlink('promptSelectDataSource', "promptID=$promptID") . '#app=admin')); } - $this->view->activeDataSource = empty($prompt->module) ? 'story' : $prompt->module; + $this->view->activeDataSource = empty($prompt->module) ? 'my' : $prompt->module; $this->view->dataSource = $this->config->ai->dataSource; $this->view->prompt = $prompt; $this->view->promptID = $promptID;