Merge branch 'songquanpeng:main' into refactor-main

This commit is contained in:
ckt
2023-08-07 09:26:22 +08:00
committed by GitHub
13 changed files with 275 additions and 64 deletions

View File

@@ -38,7 +38,7 @@ func SetApiRouter(router *gin.Engine) {
{
selfRoute.GET("/self", controller.GetSelf)
selfRoute.PUT("/self", controller.UpdateSelf)
selfRoute.DELETE("/self", middleware.TurnstileCheck(), controller.DeleteSelf)
selfRoute.DELETE("/self", controller.DeleteSelf)
selfRoute.GET("/token", controller.GenerateAccessToken)
selfRoute.GET("/aff", controller.GetAffCode)
selfRoute.POST("/topup", controller.TopUp)