1
This commit is contained in:
@@ -20,7 +20,7 @@ func BindStoreList(req *model.AddPrinterParam) error {
|
|||||||
CreatedAt: time.Now(),
|
CreatedAt: time.Now(),
|
||||||
UpdatedAt: time.Now(),
|
UpdatedAt: time.Now(),
|
||||||
StoreID: req.StoreId,
|
StoreID: req.StoreId,
|
||||||
StoreName: req.StoreName,
|
StoreName: req.Name,
|
||||||
StoreVendor: 9, // 绑定平台,全平台
|
StoreVendor: 9, // 绑定平台,全平台
|
||||||
PrintNo: req.PrintNo,
|
PrintNo: req.PrintNo,
|
||||||
UserId: "system", // 所属用户
|
UserId: "system", // 所属用户
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ type AddPrinterParam struct {
|
|||||||
Name string `json:"name"` //打印机备注名
|
Name string `json:"name"` //打印机备注名
|
||||||
SIM string `json:"sim"` //sim卡号-电话号码,接受验证的电话
|
SIM string `json:"sim"` //sim卡号-电话号码,接受验证的电话
|
||||||
StoreId int64 `json:"store_id"` // 门店id
|
StoreId int64 `json:"store_id"` // 门店id
|
||||||
StoreName string `json:"store_name"` // 门店名称
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Printer struct {
|
type Printer struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user