Guoguo
|
a1b189483f
|
fix: use WeChat profile authorization login
|
2026-04-28 23:00:13 +08:00 |
|
Guoguo
|
444c91c0b0
|
refactor: migrate to Tencent Cloud backend
|
2026-04-28 22:56:47 +08:00 |
|
Guoguo
|
52cb1f72dc
|
fix: resolve header overlap on Dynamic Island iPhones
- app.js 通过 wx.getSystemInfoSync 获取 statusBarHeight 存入 globalData
- 所有12个自定义导航页面的 JS 读取 statusBarHeight
- WXML 通过 style="padding-top: {{statusBarHeight + 24}}px" 动态适配
- 普通手机和灵动岛手机都能正确显示
|
2026-04-24 22:20:10 +08:00 |
|
Guoguo
|
36e80d503a
|
refactor: migrate to WeChat cloud development
- 新增 cloud-functions/ 目录(6个云函数:auth/device/subscription/treatment/user/admin)
- 云函数使用 wx-server-sdk + 云数据库(不再依赖 MySQL)
- auth 云函数通过 cloud.getWXContext() 自动获取 openid,无需手动 wx.login
- request.js 改为通过 wx.cloud.callFunction() 调用云函数
- 登录流程简化:点击授权 → 直接调 auth 云函数 → 获取用户信息
- 保留 HTTP 模式切换能力(USE_CLOUD 变量控制)
|
2026-04-24 22:03:16 +08:00 |
|
Guoguo
|
a84e37a6e2
|
feat: init project with miniprogram, cloud functions and admin console
|
2026-04-22 21:24:20 +08:00 |
|