Files
digital-psychology/docs/ECR/ECR-050-consult-native.md
T
jackyu66gitandCursor 7155b8b53a feat(api): 接入微信登录并原生实现咨询域(ECR-049/050)
小程序可在 Go 上完成微信手机号登录、测评、预约和下单,不再反代 Java。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 00:26:29 +08:00

25 lines
793 B
Markdown

# ECR-050
**Canonical-ID:** `ECR-050`
**Title:** 咨询域迁入 Go + 去掉 Java 反代
**Status:** **Approved · Coding**
**Auth:** `ECR-050_WRITE_AUTHORIZATION.md`
## Change
1. Spec `consult-miniprogram`:小程序咨询/测评/内容/订单/支付由 Go+PG 原生提供
2. Migration `000059`:咨询域表 + 可测种子数据
3. 路径 `/api/v1/psychic/*` 对齐原 Java VO
4. 小程序 `apiUrl.js` 全部切到 `/api/v1`;删除 Go 对 Java `/api/app-api` 反代
5. 微信支付:有商户密钥走统一下单;无密钥返回 mock 参数(dev)
## Forbidden
自动 ECR-051 · Admin 登录 · 在本机关现网 Java
## Acceptance
- 小程序 MUST 路径均有 Go 实现
- `go test` / `go build` / governance PASS
- 未配置微信商户时下单不 500