作者 李宇航

合并分支 'lyh-server' 到 'master'

变更数据



查看合并请求 !3252
... ... @@ -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);
}
... ...