Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
package router
import (
"91porn-server/web/api/statcenterctl"
"github.com/gin-gonic/gin"
)
// syncRouter 数据同步
func syncRouter(router *gin.RouterGroup) {
routerGroup := router.Group("/router")
{
// 返回所有同步接口路由
routerGroup.GET("/all", statcenterctl.SyncAllRouterList)
}
userGroup := router.Group("/user")
{
// 新用户
userGroup.GET("/newUser", statcenterctl.NewUserRegisterList)
// 用户访问
userGroup.GET("/userAccess", statcenterctl.NewUserAccessList)
// 邀请
userGroup.GET("/inviteRecord", statcenterctl.NewUserInviterList)
}
orderGroup := router.Group("/order")
{
// 充值订单,所有的
orderGroup.GET("/newOrder", statcenterctl.NewUserRechargeList)
// 充值订单,已完成的
orderGroup.GET("/finishOrder", statcenterctl.NewUserPaidRechargeList)
}
}