request

package
v0.0.0-...-a5e1bbd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddGoods

type AddGoods struct {
	Barcode string  `json:"barcode"  binding:"required"`
	Name    string  `json:"name"  binding:"required"`
	Spec    string  `json:"spec"  `
	Cost    float64 `json:"cost"  binding:"required"`
	Price   float64 `json:"price"  binding:"required"`
	Brand   string  `json:"brand"  `
	MadeIn  string  `json:"made_in" `
	Img     string  `json:"img" `
}

type AuthJWT

type AuthJWT struct {
	Storehouse string `json:"storehouse"` // 倉庫
	Account    string `json:"account"`
}

type CoreExport

type CoreExport struct {
	Account  string `json:"account" binding:"required"`
	Password string `json:"password" binding:"required"`
}

type IOList

type IOList struct {
	Offset int `json:"offset"`
	Limit  int `json:"limit"`
}

type IORevoke

type IORevoke struct {
	OrderID string `json:"order_id" binding:"required"`
}

type ModifyGoods

type ModifyGoods struct {
	ID     string  `json:"id"  binding:"required"`
	Name   string  `json:"name"  binding:"required"`
	Spec   string  `json:"spec"  `
	Cost   float64 `json:"cost"  binding:"required"`
	Price  float64 `json:"price"  binding:"required"`
	Brand  string  `json:"brand"  `
	MadeIn string  `json:"made_in" `
	Img    string  `json:"img" `
}

type OutStock

type OutStock struct {
	Barcode        string  `json:"barcode" binding:"required"` // 条码
	Cost           float64 `json:"cost" binding:"required"`    // 成本
	Price          float64 `json:"price" binding:"required"`   // 总价
	NumberProducts int     `json:"number_products" binding:"required"`
	Remark         string  `json:"remark"`
}

type UserInfo

type UserInfo struct {
	Account string `json:"account" binding:"required"`
}

type UserLogin

type UserLogin struct {
	Account  string `json:"account" binding:"required"`
	Password string `json:"password"  binding:"required"`
}

type Warehousing

type Warehousing struct {
	Barcode        string  `json:"barcode" binding:"required"` // 条码
	Cost           float64 `json:"cost" binding:"required"`    // 成本
	NumberProducts int     `json:"number_products" binding:"required"`
	Remark         string  `json:"remark"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL