Favorites and profile need a stable guest identity inside WeChat. Chinese tourists already hold a WeChat account on the mountain; that is the login surface.
WeChat login that unlocks profile and saved places
Personal center starts with Log in with WeChat. The system Allow sheet asks for name, profile photo, region, and gender. After login, help shows hotline, email, and a WeChat QR for support.
Personal center login and Allow sheet
Personal center WeChat login plus Allow sheet for name, avatar, region, and gender.
Implementation narrative
Guests tap Log in with WeChat on Personal center. WeChat shows the Rosa Khutor Allow sheet for name, avatar, region, and gender. Cancel stays available; Allow continues into the profile.
Session setup follows the official Mini Program login path: wx.login returns a one-time `code` (about five minutes). The server exchanges it via `auth.code2Session` for `openid` / `unionid` and `session_key`. `session_key` stays on the server.
wx.login({
success (res) {
if (res.code) {
wx.request({
url: 'https://example.com/onLogin',
data: { code: res.code }
})
}
}
})Profile also links Customer help with hotline, email, and a scan QR.
- Personal center login and Allow sheet: Personal center WeChat login plus Allow sheet for name, avatar, region, and gender.
- Favorites require login: Favorites with no account shows mittens art and the same WeChat login CTA before saves work.
- Customer help: Customer help lists hotline 8-800-5000-55, info2@rosaski.com, and a WeChat QR to scan.
