fix
This commit is contained in:
parent
c8444d71f6
commit
548d49271f
|
@ -145,13 +145,9 @@ func (l *GetProductListLogic) GetProductList(req *types.GetProductListReq, login
|
|||
itemList := make([]types.Items, 0, productLen)
|
||||
for _, v := range productList {
|
||||
minPrice, ok := mapProductMinPrice[v.Id]
|
||||
//无最小价格则不显示
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
_, ok = mapProductTemplate[v.Id]
|
||||
//没有模板也不显示
|
||||
if !ok {
|
||||
_, tmpOk := mapProductTemplate[v.Id]
|
||||
//无最小价格则不显示 || 没有模板也不显示
|
||||
if !ok || !tmpOk {
|
||||
continue
|
||||
}
|
||||
item := types.Items{
|
||||
|
|
Loading…
Reference in New Issue
Block a user