feat: support aff now (close #75)

This commit is contained in:
JustSong committed 2023-06-17 18:12:58 +08:00
1 parent 78b1387239
commit f123eaf379
11 files changed
+131 -7

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ func SetApiRouter(router *gin.Engine) {
selfRoute.PUT("/self", controller.UpdateSelf)
selfRoute.DELETE("/self", controller.DeleteSelf)
selfRoute.GET("/token", controller.GenerateAccessToken)
selfRoute.GET("/aff", controller.GetAffCode)
selfRoute.POST("/topup", controller.TopUp)
}