1
This commit is contained in:
@@ -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", // 所属用户
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user