Commit c86001dc authored by zhoucong's avatar zhoucong

添加临时缓存说明

parent 1e8ba92e
...@@ -12,13 +12,6 @@ ...@@ -12,13 +12,6 @@
} }
}, },
onLoad(option) { onLoad(option) {
//相册完成支付后删除Storage内保存的数据
uni.removeStorageSync('productVo')
uni.removeStorageSync('coverInside')
uni.removeStorageSync('imgList')
uni.removeStorageSync('checkList')
uni.removeStorageSync('sortImglist')
let pdOpenid=uni.getStorageSync("openid")//胖丁小程序openid,临时用,当公众号授权做好之后可以删除 let pdOpenid=uni.getStorageSync("openid")//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let pdToken=uni.getStorageSync("token") let pdToken=uni.getStorageSync("token")
let pdCreateUserId=uni.getStorageSync("createUserId") let pdCreateUserId=uni.getStorageSync("createUserId")
......
...@@ -184,6 +184,12 @@ ...@@ -184,6 +184,12 @@
signType:this.signType, signType:this.signType,
paySign:this.paySign, paySign:this.paySign,
success: function (res) { success: function (res) {
//相册完成支付后删除Storage内保存的数据
// uni.removeStorageSync('productVo')
// uni.removeStorageSync('coverInside')
// uni.removeStorageSync('imgList')
// uni.removeStorageSync('checkList')
// uni.removeStorageSync('sortImglist')
uni.navigateTo({ uni.navigateTo({
url:"../my/order/electronicTicket/electronicTicket?orderId="+_this.orderId url:"../my/order/electronicTicket/electronicTicket?orderId="+_this.orderId
}) })
......
...@@ -6,3 +6,10 @@ ...@@ -6,3 +6,10 @@
4.uni.getStorageSync("userId") //平台id 4.uni.getStorageSync("userId") //平台id
5.uni.getStorageSync("alipayQrCode") //支付宝参数码 5.uni.getStorageSync("alipayQrCode") //支付宝参数码
6.uni.getStorageSync("enterOptions") //进入项目参数 6.uni.getStorageSync("enterOptions") //进入项目参数
//VLOG相册
7.uni.getStorageSync("productVo") //选择的产品信息
8.uni.getStorageSync("coverInside") //选择的封面
9.uni.getStorageSync("imgList") //上传的图片
10.uni.getStorageSync("checkList") //选中的图片下标
11.uni.getStorageSync("sortImglist") //排序后的图片
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment