正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -49,8 +49,10 @@ class TestController extends BaseController | @@ -49,8 +49,10 @@ class TestController extends BaseController | ||
| 49 | 'task_id'=>$result['data']['task_id'], | 49 | 'task_id'=>$result['data']['task_id'], |
| 50 | 'project_id'=>1, | 50 | 'project_id'=>1, |
| 51 | ]; | 51 | ]; |
| 52 | + ProjectServer::useProject(1); | ||
| 52 | $aiBlogModel = new AiBlog(); | 53 | $aiBlogModel = new AiBlog(); |
| 53 | - $res = $aiBlogModel->add($param); | 54 | + $aiBlogModel->add($param); |
| 55 | + DB::disconnect('custom_mysql'); | ||
| 54 | } | 56 | } |
| 55 | $this->response('success',Code::SUCCESS,$param); | 57 | $this->response('success',Code::SUCCESS,$param); |
| 56 | } | 58 | } |
-
请 注册 或 登录 后发表评论