Compare commits

..

1 Commits

Author SHA1 Message Date
7c067839af feat: 添加 gitea 构建脚本
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 11m50s
2025-07-15 23:14:05 +08:00
2 changed files with 0 additions and 8 deletions

View File

@@ -80,7 +80,6 @@ func InitRouters(router *gin.Engine, db *gorm.DB, meta *ServerMeta, smtpCfg *ser
minecraftservices := router.Group("/minecraftservices")
{
minecraftservices.GET("/player/attributes", userRouter.PlayerAttributes)
minecraftservices.GET("/privacy/blocklist", userRouter.PlayerBlockList)
minecraftservices.POST("/player/certificates", userRouter.ProfileKey)
minecraftservices.GET("/publickeys", homeRouter.PublicKeys)
minecraftservices.GET("/minecraft/profile/lookup/:uuid", userRouter.UUIDToUUID)

View File

@@ -39,7 +39,6 @@ type UserRouter interface {
QueryUUIDs(c *gin.Context)
QueryProfile(c *gin.Context)
PlayerAttributes(c *gin.Context)
PlayerBlockList(c *gin.Context)
ProfileKey(c *gin.Context)
SendEmail(c *gin.Context)
VerifyEmail(c *gin.Context)
@@ -316,12 +315,6 @@ func (u *userRouterImpl) PlayerAttributes(c *gin.Context) {
})
}
func (u *userRouterImpl) PlayerBlockList(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"blockedProfiles": []string{},
})
}
func (u *userRouterImpl) ProfileKey(c *gin.Context) {
bearerToken := c.GetHeader("Authorization")
if len(bearerToken) < 8 {