wx.getBackgroundFetchData()
发布于 6 年前 作者 yuanwei 11425 次浏览 来自 官方Issues

wx.getBackgroundFetchData({

fetchType: ‘periodic’,

success(res) {

console.log(res.fetchedData); // 缓存数据

console.log(res.timeStamp) // 客户端拿到缓存数据的时间戳

}

})

始终返回缓存数据hello world 1

1 回复

你提供的数据接口是啥,贴出来看看

回到顶部