|
...
|
...
|
@@ -142,10 +142,12 @@ class TicketUploadDataLogic extends BaseLogic |
|
|
|
if($info === false){
|
|
|
|
$this->fail('当前数据不存在或已被删除');
|
|
|
|
}
|
|
|
|
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');
|
|
|
|
}
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|