This commit is contained in:
邹宗楠
2022-08-24 10:44:32 +08:00
parent 174aacd231
commit 7190d106ab
2 changed files with 5 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ func BindStoreList(req *model.AddPrinterParam) error {
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
StoreID: req.StoreId,
StoreName: req.StoreName,
StoreName: req.Name,
StoreVendor: 9, // 绑定平台,全平台
PrintNo: req.PrintNo,
UserId: "system", // 所属用户

View File

@@ -15,11 +15,10 @@ const (
)
type AddPrinterParam struct {
PrintNo string `json:"print_no"` //打印机编号
Name string `json:"name"` //打印机备注名
SIM string `json:"sim"` //sim卡号-电话号码,接受验证的电话
StoreId int64 `json:"store_id"` // 门店id
StoreName string `json:"store_name"` // 门店名称
PrintNo string `json:"print_no"` //打印机编号
Name string `json:"name"` //打印机备注名
SIM string `json:"sim"` //sim卡号-电话号码,接受验证的电话
StoreId int64 `json:"store_id"` // 门店id
}
type Printer struct {