fix delay

This commit is contained in:
2025-03-21 16:12:47 +08:00
parent 8a7a7aaba7
commit 29f248f1b4
2 changed files with 27 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ func (l *QuerySingleTestLogic) QuerySingleTest(req *types.QuerySingleTestReq) (r
// 使用新的超时上下文
apiResp, err := l.svcCtx.ApiRequestService.PreprocessRequestApi(timeoutCtx, marshalParams, req.Api)
if err != nil {
return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "单查测试, 获取接口失败 : %d", err)
return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "单查测试, 接口请求失败 : %d", err)
}
var respData interface{}
err = json.Unmarshal(apiResp.Data, &respData)