This commit is contained in:
suyl
2021-07-21 14:15:49 +08:00
parent bc3c3f800a
commit 4d4b83ce37

View File

@@ -138,10 +138,10 @@ type Printer struct {
Name string `json:"name"` //打印机备注名
Status int `json:"status"` //打印机状态
IsOnline int `json:"is_online" db:"is_online"` //1在线0离线
IccID string `json:"iccid" db:"icc_id"` //sim卡号
IccID string `json:"icc_id" db:"icc_id"` //sim卡号
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
Volume int `json:"volume"` //音量1-5 对应打印机2-10
FlowFlag int `json:"flowFlag" db:"flow_flag"` //是否超流量了1表示超了
FlowFlag int `json:"flow_flag" db:"flow_flag"` //是否超流量了1表示超了
}
type PrintMsg struct {
@@ -164,9 +164,9 @@ type SimFlowExpend struct {
CreatedAt *time.Time `json:"created_at" db:"created_at"`
UpdatedAt *time.Time `json:"updated_at" db:"updated_at"`
LastOperator string `json:"last_operator" db:"last_operator"`
IccID string `json:"iccid" db:"icc_id"` //sim卡iccid
Flow float64 `json:"flow"` //流量数
FlowUnit string `json:"flowUnit" db:"flow_unit"` //流量单位
IccID string `json:"icc_id" db:"icc_id"` //sim卡iccid
Flow float64 `json:"flow"` //流量数
FlowUnit string `json:"flow_unit" db:"flow_unit"` //流量单位
}
//流量划入
@@ -175,8 +175,8 @@ type SimFlowIncome struct {
CreatedAt *time.Time `json:"created_at" db:"created_at"`
UpdatedAt *time.Time `json:"updated_at" db:"updated_at"`
LastOperator string `json:"last_operator" db:"last_operator"`
IccID string `json:"iccid" db:"icc_id"` //sim卡iccid
Flow float64 `json:"flow"` //流量数
FlowUnit string `json:"flowUnit" db:"flow_unit"` //流量单位
IncomeType int `json:"incomeType" db:"income_type"` //1 表示系统每月自动划转2 表示商户自己冲的
IccID string `json:"icc_id" db:"icc_id"` //sim卡iccid
Flow float64 `json:"flow"` //流量数
FlowUnit string `json:"flow_unit" db:"flow_unit"` //流量单位
IncomeType int `json:"income_type" db:"income_type"` //1 表示系统每月自动划转2 表示商户自己冲的
}