fix
This commit is contained in:
parent
6a912a145e
commit
346ffd1620
|
@ -63,6 +63,7 @@ func (l *GetTagProductListLogic) GetTagProductList(req *types.GetTagProductListR
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get tag info")
|
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get tag info")
|
||||||
}
|
}
|
||||||
|
//前台用的分类是1
|
||||||
if *tagData.Category != 1 {
|
if *tagData.Category != 1 {
|
||||||
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "invalid tag")
|
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "invalid tag")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user