This commit is contained in:
邹宗楠
2022-12-16 13:46:59 +08:00
parent 1a7aeb6a7f
commit d635748fb7

View File

@@ -113,10 +113,11 @@ func (a *API) AddPrinter(addPrinterParams []*AddPrinterParam) (err error) {
return err
}
func (a *API) DelPrinter(printNos []string) (err error) {
func (a *API) DelPrinter(printNos []string, storeId string) (err error) {
data, _ := json.Marshal(printNos)
_, err = a.AccessAPI("DelPrinter", map[string]interface{}{
"print_nos": string(data),
"storeId": storeId,
})
return err
}