This commit is contained in:
2025-09-14 00:00:03 +08:00
commit cbed8ff6ac
14 changed files with 261 additions and 0 deletions

16
app.js Normal file
View File

@@ -0,0 +1,16 @@
// app.js
App({
onLaunch() {
// 登录
xhs.login({
success: res => {
// 发送 res.code 到后台换取 openId, sessionKey, unionId
console.log('login', res)
}
});
},
globalData: {
userInfo: null
}
});