
代码:
onLoad: function (options) {
wx.cloud.callFunction({
name: "getDate"
}).then(res => {
console.log(res, "res")
}).catch(err => {
console.log(err, "err")
})
},
代码:
onLoad: function (options) {
wx.cloud.callFunction({
name: "getDate"
}).then(res => {
console.log(res, "res")
}).catch(err => {
console.log(err, "err")
})
},
本文标题:25.利用云函数获取openid
本文链接:https://www.haomeiwen.com/subject/yejfpltx.html
网友评论