新功能: 还原 v1/public/user/invite_sales 接口 + promo schema 修复迁移
- 还原 /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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user