calculator

This commit is contained in:
jiangyong27 2025-03-12 17:13:32 +08:00
parent c96d275a95
commit 64594c0789
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ func initRoutge(engine *gin.Engine) {
apiGroup.PUT("/staff", controller.NewStaff().Update)
apiGroup.DELETE("/staff", controller.NewStaff().Delete)
apiGroup.GET("/staff", controller.NewStaff().List)
apiGroup.GET("/calculator", controller.NewCalculator().List)
apiGroup.POST("/calculator", controller.NewCalculator().Create)
apiGroup.PUT("/calculator", controller.NewCalculator().Update)
apiGroup.DELETE("/calculator", controller.NewCalculator().Delete)
engine.LoadHTMLGlob("conf/template/*")