This commit is contained in:
wong1988
2024-01-19 20:06:18 +08:00
parent 2bea90ae5b
commit 2a44a4fae5
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ export default {
// 2024-1-15 新需求
// 获取分类和品牌
getGoodsTypeAndBrand: (params = {}) => request.get("/lpkgoods/getGoodsTypeAndBrand", {}),
getGoodsTypeAndBrand: (params = {}) => request.get("/lpkgoods/getGoodsTypeAndBrand", {}, {}, {}, true),
// 获取补充菜窖 商品分类列表
getAllGoodsType: (params = {}) => request.get("/lpkgiftcard/getAllGoodsType/" + params, params),
// 获取补充菜窖 商品分类列表

View File

@@ -287,7 +287,7 @@
},
request() {
let _this = this
_this.$api.getAllGoodsType(_this.brandType).then((resp) => {
_this.$api.getGoodsTypeAndBrand(_this.brandType).then((resp) => {
console.log("------------", resp);
_this.data = resp
_this.searchInfo.sid = _this.data[0].sid