获取服务器时间
wx.BaaS.getServerDate().then(res => {
// success
console.log(res.data.time)
}).catch(e=>{
// HError 对象
})属性
类型
说明
{
"data": {
"time": "2019-11-25T15:05:19.387067+08:00",
},
"status": 200
}Last updated
Was this helpful?
wx.BaaS.getServerDate().then(res => {
// success
console.log(res.data.time)
}).catch(e=>{
// HError 对象
}){
"data": {
"time": "2019-11-25T15:05:19.387067+08:00",
},
"status": 200
}Last updated
Was this helpful?
Was this helpful?