Подготовить HY2XS к production-сборке
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"hy2xs-admin/controller"
|
||||
)
|
||||
|
||||
func initAccountAdminRouter(accountApi *gin.RouterGroup) {
|
||||
account := accountApi.Group("/account")
|
||||
{
|
||||
account.GET("/pageAccount", controller.PageAccount)
|
||||
account.POST("/saveAccount", controller.SaveAccount)
|
||||
account.POST("/deleteAccount", controller.DeleteAccount)
|
||||
account.POST("/updateAccount", controller.UpdateAccount)
|
||||
account.POST("/resetTraffic", controller.ResetTraffic)
|
||||
account.GET("/getAccountInfo", controller.GetAccountInfo)
|
||||
account.GET("/getAccount", controller.GetAccount)
|
||||
account.POST("/importAccount", controller.ImportAccount)
|
||||
account.POST("/exportAccount", controller.ExportAccount)
|
||||
account.POST("/releaseKickAccount", controller.ReleaseKickAccount)
|
||||
account.GET("/verifyDefaultPass", controller.VerifyDefaultPass)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user