feat(api): 接入微信登录并原生实现咨询域(ECR-049/050)

小程序可在 Go 上完成微信手机号登录、测评、预约和下单,不再反代 Java。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-09-15 00:26:29 +08:00
co-authored by Cursor
parent db4d118f9a
commit 7155b8b53a
45 changed files with 3013 additions and 27 deletions
+18
View File
@@ -0,0 +1,18 @@
ecr: ECR-049
capability: account-auth
change:
type: additive
breaking_change: false
migration_required: true
apis:
- method: POST
path: /api/v1/auth/wechat
change: added
- method: ANY
path: /api/app-api/*
change: added
- method: ANY
path: /api/admin-api/*
change: added
migration: 000058_wechat_auth_gateway
notes: H5 OpenLogin kept; miniprogram password login unused; Java remains until later ECR
+18
View File
@@ -0,0 +1,18 @@
ecr: ECR-050
capability: consult-miniprogram
change:
type: additive
breaking_change: true
migration_required: true
apis:
- method: ANY
path: /api/v1/psychic/*
change: added
- method: POST
path: /api/v1/upload
change: added
- method: ANY
path: /api/app-api/*
change: removed
migration: 000059_consult_native
notes: miniprogram urls switched to /api/v1; Java proxy removed