修改打印机

This commit is contained in:
邹宗楠
2022-07-28 16:46:20 +08:00
parent dbfafb7077
commit 102ab32266
6 changed files with 146 additions and 115 deletions

View File

@@ -56,6 +56,7 @@ func AddPrinters(c *gin.Context, tokenInfo *model.TokenInfo, appID int, printInf
IsOnline: model.PrinterOffline,
Sound: sounda,
Volume: 4,
UserId: "system",
}
if err = dao.Insert(db, printer); err != nil {
errs = append(errs, err)