新功能: 还原 v1/public/user/invite_sales 接口 + promo schema 修复迁移
Build docker and publish / build (20.15.1) (push) Failing after 13m47s
Build docker and publish / build (20.15.1) (pull_request) Failing after 15m7s

- 还原 /v1/public/user/invite_sales 接口及 /invite/sales 别名(与 invite_records 并存)
  逻辑/handler/types 与 197fed7d 删除前版本完全一致,按 fefbd4f5 新 routes 结构注册
- 新增迁移 02155_promo_schema_fix: 幂等修复 subscribe_promo / order 列类型与索引偏差
- 同步 etc/ppanel.yaml 数据库连接配置
- 补齐相关需求与设计文档
This commit is contained in:
2026-05-28 20:46:37 -07:00
parent fefbd4f56a
commit 3e265bd837
12 changed files with 2418 additions and 2 deletions
+12
View File
@@ -2200,6 +2200,18 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/invite_records",
Handler: publicuser.GetInviteRecordsHandler(serverCtx),
},
{
// Get Invite Sales
Method: http.MethodGet,
Path: "/invite_sales",
Handler: publicuser.GetInviteSalesHandler(serverCtx),
},
{
// Get Invite Sales (backward-compat alias)
Method: http.MethodGet,
Path: "/invite/sales",
Handler: publicuser.GetInviteSalesHandler(serverCtx),
},
{
// Get User Invite Stats
Method: http.MethodGet,