浏览代码

产品信息

kobe6258 4 月之前
父节点
当前提交
2a475dd1cf
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      controllers/product.go

+ 2 - 0
controllers/product.go

@@ -473,6 +473,8 @@ func (this *ProductController) ProductList() {
 				br.ErrMsg = "无效的产品类型:" + ProductType
 				return
 			}
+		} else {
+			condition += " AND type !=  '" + string(models.ProductReport) + "'"
 		}
 
 	} else {