获取服务器时间
const res = await BaaS.getServerDate()
console.log(res.data.time)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?