This commit is contained in:
suyl
2021-07-22 18:58:54 +08:00
parent b903db0c13
commit 215bf52530
2 changed files with 14 additions and 0 deletions

View File

@@ -62,6 +62,13 @@ type TokenInfo struct {
Token string `json:"token"`
}
type FlowConfig struct {
ID int `json:"id"`
Price int `json:"price"`
Flow float64 `json:"flow"`
Unit string `json:"unit"`
}
type PrintInfo struct {
PrintNo string `json:"print_no" form:"print_no" binding:"required"` //打印机编号
Name string `json:"name" form:"name"` //打印机备注

7
services/order.go Normal file
View File

@@ -0,0 +1,7 @@
package services
import "git.rosy.net.cn/jx-print/model"
func CreateOrder(tokenInfo *model.TokenInfo) (err error) {
return err
}