Browse Source

获取图片添加userId

sharp-agezi 5 years ago
parent
commit
d316a09df0

+ 1 - 0
customized/pages/boxMade/boxMadeImg/boxMadeImg.js

@@ -189,6 +189,7 @@ Page({
     wx.request({
       url: host + '/queryImgListByPlaceIdAndGoodsId',
       data: {
+        userId: app.globalData.user_id,
         customGoodsId: wx.getStorageSync('detail').id, // 商品id,白色箱子是6
         customGoodsImgPlaceId: that.data.dataId[0] == that.data.imgTouch.isActive ? 1 : 2, // that.data.dataId[0] 是正面,1是背面
       },

+ 1 - 0
customized/pages/made/madeImg/madeImg.js

@@ -202,6 +202,7 @@ Page({
     wx.request({
       url: host + '/queryImgListByPlaceIdAndGoodsId',
       data: {
+        userId: app.globalData.user_id,
         customGoodsId: 1, // 商品id
         customGoodsImgPlaceId: that.data.imgTouch.isActive * 1 - 1
       },

+ 1 - 0
customized/pages/oneMade/oneMadeImg/oneMadeImg.js

@@ -187,6 +187,7 @@ Page({
     wx.request({
       url: host + '/queryImgListByPlaceIdAndGoodsId',
       data: {
+        userId: app.globalData.user_id,
         customGoodsId: wx.getStorageSync('detail').id,
         customGoodsImgPlaceId: 1,//表示正面
       },

+ 1 - 1
readme.md

@@ -17,4 +17,4 @@
       y = -高度/2
       fillRect(x,y,宽度,高度)
 ### 缺少详情页,字体加粗、字体定制
-v:3.1.1
+v:3.1.2