add printer get printers

This commit is contained in:
suyl
2021-07-08 14:53:20 +08:00
parent ace0d7e5f3
commit 9be410cec6
7 changed files with 265 additions and 0 deletions

View File

@@ -18,6 +18,10 @@ func Init(r *gin.Engine) {
app.GET("/getApps", controllers.GetApps)
app.GET("/addApp", controllers.AddApp)
app.GET("/delApp", controllers.DelApp)
//print
print := v2.Group("/print")
print.GET("/addPrinters", controllers.AddPrinters)
print.GET("/getPrinters", controllers.GetPrinters)
//v1是不需要token的
v1 := r.Group("v1")