junyuanz 5 years ago
parent
commit
2ac9ec2caa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/areacart/areacart.js

+ 2 - 2
pages/areacart/areacart.js

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