@@ -15,7 +15,7 @@ Page({
submitlock:false,
x:0,
currentX: 0,
- perpage:5,
+ perpage:10,
nowpage:1,
cartMore:true
},
@@ -54,7 +54,7 @@ Page({
getCartList:function(){
console.log('getCartList')
var that = this
- var url = 'v1/products?ptype=&&page='+that.data.nowpage+'&&per_page='+that.data.perpage
+ var url = 'v1/products?ptype=shop_sale&&page='+that.data.nowpage+'&&per_page='+that.data.perpage
var params = {}
var success = function (res) {
console.log(res)