This commit is contained in:
laodaming
2023-08-02 15:10:16 +08:00
parent 1f8d9029eb
commit 786fc59b0d
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ func (l *GetTagProductListLogic) GetTagProductList(req *types.GetTagProductListR
logx.Error(err)
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get tag info")
}
if *tagData.Categroy != 1 {
if *tagData.Category != 1 {
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "invalid tag")
}
tReq.LevelPrefixLeftLike = *tagData.LevelPrefix