feat(M08-A): 接入顾客端选店下单入口
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
App({
|
||||
onLaunch() {
|
||||
// 记录本地启动时间,便于开发调试。
|
||||
const logs = wx.getStorageSync('logs') || []
|
||||
logs.unshift(Date.now())
|
||||
wx.setStorageSync('logs', logs)
|
||||
|
||||
// 获取临时登录凭证;正式换取会话在 M08 接入。
|
||||
wx.login({
|
||||
success: res => {
|
||||
// 后续将 res.code 发送到 /app-api/auth/wechat-login。
|
||||
void res
|
||||
}
|
||||
})
|
||||
},
|
||||
globalData: {
|
||||
userInfo: null
|
||||
|
||||
Reference in New Issue
Block a user