This commit is contained in:
laodaming 2023-07-19 18:27:27 +08:00
parent 37078d5772
commit 3ef96dab13

View File

@ -60,6 +60,8 @@ func (l *GetTagProductListLogic) GetTagProductList(req *types.GetTagProductListR
if errors.Is(err, gorm.ErrRecordNotFound) {
return resp.SetStatusWithMessage(basic.CodeDbRecordNotFoundErr, "param cid is invalid:record not found")
}
logx.Error(err)
return resp.SetStatusWithMessage(basic.CodeDbSqlErr,"failed to get tag info")
}
tReq.LevelPrefixLeftLike = *tagData.LevelPrefix
}