Commit 31240465c2f6f16685a0f9e9131ad9455f5f524d

Authored by vking
1 parent a0e1e3c5

boost

Showing 1 changed file with 20 additions and 0 deletions
... ... @@ -188,6 +188,26 @@ App({
onHide(){
console.log('onHide');
PubSub.emit('appHide')
wx.getStorage({
key:'EVENT_LOG_CACHE',
success:async res=>{
wx.request({
url: uri_dc.HOST__LINE+'App.Reserve.UUUU',
method: 'POST',
data: {
openid:await this.getOpenid(),
logs:JSON.stringify(res.data)
},
header: {
'content-type': 'application/x-www-form-urlencoded'
},
success:()=>{
wx.removeStorage({key:'EVENT_LOG_CACHE'})
},
})
}
})
let time=new Date()/1000;
wx.getStorageInfo({
success:(res)=>{
... ...