package controllers import ( beego "github.com/astaxie/beego/server/web" ) type PrintController struct { beego.Controller } type CallBackPrint struct { Data string `json:"data"` Code string `json:"code"` } // @Title 添加打印机 // @Description 添加打印机 // @Param token header string true "认证token" // @Success 200 {object} controllers.CallResult // @Failure 200 {object} controllers.CallResult // @router /AddPrint [post] func (c *PrintController) AddPrint() { }