Pine
|
2914b40171
|
feat(miniprogram): 登录/资料改走平台 /auth(统一账号 + 平台 JWT)
阶段2:
- sendCode/phoneLogin/wxLogin/getMe/updateProfile 端点 /api/auth/*→/auth/*,
pine_token 存平台 JWT;按平台 profile 契约映射 pine_user
(username/name/avatar/phone/phoneBound/status/topics/source)。
- sendCode 兼容平台 stub_code→debugCode。
- bindPhone/wxPhoneBind 保留 /api/auth(阶段3 已使其读写平台 users + 验平台 JWT)。
- 手机绑定、业务(报名/签到/测评)使用平台 JWT 鉴权。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-25 20:22:46 +08:00 |
|
Pine
|
2a1436295f
|
feat(tasks): 小程序接单卡展示 接单方式/交付时限(轻量)
- scan/index.jsx 我的接单卡显示 接单方式/交付时限;加 modeLabel helper。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-25 19:30:34 +08:00 |
|
Pine
|
d93e1d4226
|
feat(tasks): 小程序扫码接单 — 个人中心入口 + scan 页
- miniprogram/src/utils/tasks.js:claimByCode/getMyTasks/parseTaskCode。
- 新增 pages/scan/index(jsx/scss/config):Taro.scanCode→解析 task_code→领单→展示我的接单。
- app.config.js 注册 pages/scan/index。
- mine/index.jsx 加「扫码接单」入口卡(navigateTo scan);mine/index.scss 加样式。
- 接单走 OPC/创业者身份(后端按账号 find-or-create);属小程序增量,web C 端暂不同步。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-25 18:43:07 +08:00 |
|
Pine
|
440c15e969
|
feat(auth): 来源上报 X-Client(web/miniprogram)
- website fetch 带 X-Client:web; miniprogram 统一请求带 X-Client:miniprogram
- server-core /auth 据此识别 source, 零推断(与 desktop 端对应)
|
2026-08-25 16:32:27 +08:00 |
|
Pine
|
1f65a1a7a8
|
feat: 培训小程序(Taro+React,OPC AI 移动端)
- 页面:首页/活动/报名/测评/政策/流程/调研/我的
- 自定义 tabBar、骨架屏、后端驱动测评
|
2026-08-23 22:32:39 +08:00 |
|