diff --git a/app/hdl/hdl_printer_list.go b/app/hdl/hdl_printer_list.go index 15f2dc8..8d8f96a 100644 --- a/app/hdl/hdl_printer_list.go +++ b/app/hdl/hdl_printer_list.go @@ -63,3 +63,6 @@ func PrinterIndexToSend(c *gin.Context) { func PrinterIndexCheck(c *gin.Context) { svc.PrinterIndexCheck(c) } +func ReplacePrinterContent(c *gin.Context) { + svc.ReplacePrinterContent(c) +} diff --git a/app/router/router.go b/app/router/router.go index 75731c4..53cb695 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -205,5 +205,5 @@ func routeCommunityTeam(r *gin.RouterGroup) { r.GET("/printer/record/screen", hdl.PrinterIndexRecordScreen) //打印机筛选 r.POST("/printer/send", hdl.PrinterIndexToSend) //打印机测试 r.POST("/printer/check", hdl.PrinterIndexCheck) //订 - + r.POST("/printer/doing", hdl.ReplacePrinterContent) //订 }