合并分支 'lyh-server' 到 'master'
变更数据 查看合并请求 !3252
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -142,10 +142,12 @@ class TicketUploadDataLogic extends BaseLogic | @@ -142,10 +142,12 @@ class TicketUploadDataLogic extends BaseLogic | ||
| 142 | if($info === false){ | 142 | if($info === false){ |
| 143 | $this->fail('当前数据不存在或已被删除'); | 143 | $this->fail('当前数据不存在或已被删除'); |
| 144 | } | 144 | } |
| 145 | + if($info['project_type'] == $this->model::TYPE_SIX){ | ||
| 145 | ProjectServer::useProject($info['project_id']); | 146 | ProjectServer::useProject($info['project_id']); |
| 146 | $info['text']['cate_name'] = $this->cateText($info['type'],$info['text']['category_id'] ?? [],$info['text']['keyword_id'] ?? [],true); | 147 | $info['text']['cate_name'] = $this->cateText($info['type'],$info['text']['category_id'] ?? [],$info['text']['keyword_id'] ?? [],true); |
| 147 | $info = $this->getHandleFileImage($info); | 148 | $info = $this->getHandleFileImage($info); |
| 148 | DB::disconnect('custom_mysql'); | 149 | DB::disconnect('custom_mysql'); |
| 150 | + } | ||
| 149 | return $this->success($info); | 151 | return $this->success($info); |
| 150 | } | 152 | } |
| 151 | 153 |
-
请 注册 或 登录 后发表评论