瀏覽代碼

品牌接口添加启用参数

wangzhuo 1 年之前
父節點
當前提交
e268cb20cc
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pages/tabBar/classification.vue
  2. 1 1
      pages/tabBar/home.vue

+ 1 - 1
pages/tabBar/classification.vue

@@ -74,7 +74,7 @@
 			}
 		},
 		onShow() {
-			listAll({type:'PP'}).then(res => {
+			listAll({type:'PP', enableOrNot:'1'}).then(res => {
 				this.tabbarTwo = res.data
 				this.page = {
 					total: 0,

+ 1 - 1
pages/tabBar/home.vue

@@ -209,7 +209,7 @@
 					})
 				})
 				//获取所有品牌
-				listAll({type:'PP'}).then(res => {
+				listAll({type:'PP', enableOrNot:'1'}).then(res => {
 					this.brandList = res.data
 				})
 				this.page = {