正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -131,9 +131,9 @@ class AiCommandController extends BaseController | @@ -131,9 +131,9 @@ class AiCommandController extends BaseController | ||
| 131 | 'html.required' => 'html不能为空', | 131 | 'html.required' => 'html不能为空', |
| 132 | ]); | 132 | ]); |
| 133 | $aiCommonModel = new AiCommand(); | 133 | $aiCommonModel = new AiCommand(); |
| 134 | - $info = $aiCommonModel->read(['key'=>'ai_layout_design','project_id'=>$this->user['project_id']]); | 134 | + $info = $aiCommonModel->read(['key'=>'ai_layout_design','project_id'=>$this->user['project_id']],['ai']); |
| 135 | if($info === false){ | 135 | if($info === false){ |
| 136 | - $info = $aiCommonModel->read(['key'=>'ai_layout_design','project_id'=>0]); | 136 | + $info = $aiCommonModel->read(['key'=>'ai_layout_design','project_id'=>0],['ai']); |
| 137 | } | 137 | } |
| 138 | $aiCommandService = new AiCommandService(); | 138 | $aiCommandService = new AiCommandService(); |
| 139 | $ai = str_replace('{html}',$this->param['html'],$info['ai']); | 139 | $ai = str_replace('{html}',$this->param['html'],$info['ai']); |
-
请 注册 或 登录 后发表评论