Browse Source

channel_id改为category_id

master
李可松 4 years ago
parent
commit
b108c49a7d
  1. 6
      pages/goodsList/index.vue

6
pages/goodsList/index.vue

@ -36,16 +36,16 @@
page: 1,
isPage: true,
pageSize: 20,
channel_id: 0
category_id: 0
}
},
onLoad(e){
this.channel_id = e.channel_id
this.category_id = e.category_id
this.getActivityList();
},
methods: {
getActivityList(){
this.$http(this.API.API_PRODUCTLIST,{page:this.page,channel_id: this.channel_id}).then(res => {
this.$http(this.API.API_PRODUCTLIST,{page:this.page,category_id: this.category_id}).then(res => {
let isPage = res.data.next_page_url == null?false:true;
this.isPage = isPage;
let list = res.data.data;

Loading…
Cancel
Save