wong1988 1 year ago
parent
commit
2a44a4fae5
  1. 2
      common/request.api.js
  2. 2
      pages/home/cloudCard2.vue

2
common/request.api.js

@ -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),
// 获取补充菜窖 商品分类列表

2
pages/home/cloudCard2.vue

@ -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

Loading…
Cancel
Save