|
...
|
...
|
@@ -148,10 +148,12 @@ class TicketUploadDataController extends BaseController |
|
|
|
if($info === false){
|
|
|
|
$this->response('当前数据不存在或已被删除',Code::SYSTEM_ERROR);
|
|
|
|
}
|
|
|
|
ProjectServer::useProject($info['project_id']);
|
|
|
|
$info['text']['cate_name'] = $this->cateText($info['type'],$info['text']['category_id'] ?? [],$info['text']['keyword_id'] ?? [],true);
|
|
|
|
$info = $this->getHandleFileImage($info);
|
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
if($info['project_type'] == $this->model::TYPE_SIX){
|
|
|
|
ProjectServer::useProject($info['project_id']);
|
|
|
|
$info['text']['cate_name'] = $this->cateText($info['type'],$info['text']['category_id'] ?? [],$info['text']['keyword_id'] ?? [],true);
|
|
|
|
$info = $this->getHandleFileImage($info);
|
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
}
|
|
|
|
$this->response('success', Code::SUCCESS, $info);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|