This commit is contained in:
2026-02-01 19:15:52 +08:00
parent e30e69f8b8
commit 5942de22ad
4 changed files with 30 additions and 16 deletions

View File

@@ -95,6 +95,8 @@ func (l *QueryShareDetailLogic) QueryShareDetail(req *types.QueryShareDetailReq)
if processParamsErr != nil {
return "", errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "报告查询, 报告参数处理失败: %v", processParamsErr)
}
// 保证分享报告也有 id_card供前端评分 ±10 使用
ensureQueryParamsIDCard(&query.QueryParams, "fallback_"+queryModel.Id)
processErr := ProcessQueryData(queryModel.QueryData, &query.QueryData, key)
if processErr != nil {
return "", errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "报告查询, 报告结果处理失败: %v", processErr)