修改打印模板

This commit is contained in:
邹宗楠
2022-07-26 17:24:41 +08:00
parent ecdb628231
commit d038f31e87
35 changed files with 2586 additions and 201 deletions

20
routers/v1_router.go Normal file
View File

@@ -0,0 +1,20 @@
package routers
import (
"git.rosy.net.cn/jx-print/controllers"
"git.rosy.net.cn/jx-print/controllers/controller"
"github.com/gin-gonic/gin"
)
func InitV1System(v1 *gin.RouterGroup) {
userw := v1.Group("/user")
userw.POST("/login", controllers.Login)
userw.GET("/refreshCode", controllers.RefreshCode)
userw.POST("/register", controllers.RegisterUser)
userw.GET("/getMenus", controllers.GetMenus)
userw.GET("/getMenuDetail", controllers.GetMenuDetail)
//config
config := v1.Group("/config")
config.GET("/getConfig", controller.GetConfig)
}