aa
This commit is contained in:
@@ -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
7
services/order.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package services
|
||||
|
||||
import "git.rosy.net.cn/jx-print/model"
|
||||
|
||||
func CreateOrder(tokenInfo *model.TokenInfo) (err error) {
|
||||
return err
|
||||
}
|
||||
Reference in New Issue
Block a user