This commit is contained in:
2026-06-27 23:56:18 +08:00
parent 15a8571628
commit 30a24aab68
10 changed files with 813 additions and 28 deletions

View File

@@ -425,6 +425,9 @@ func (s *ApiApplicationServiceImpl) callExternalApi(ctx context.Context, cmd *co
zap.String("error_type", mappedErrorType),
zap.Error(err))
if errors.Is(err, processors.ErrContactBusiness) {
return "", ErrContactBusiness
}
if mappedErrorType == entities.ApiCallErrorInvalidParam {
return "", ErrInvalidParam
}