vas

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 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 CreateOrderService

type CreateOrderService struct {
	Action string `json:"action" binding:"required,eq=group|eq=pack|eq=score"`
	Method string `json:"method" binding:"required,eq=alipay|eq=score|eq=payjs|eq=wechat|eq=custom"`
	ID     int64  `json:"id" binding:"required"`
	Num    int    `json:"num" binding:"required,min=1"`
}

CreateOrderService 创建订单服务

type OrderService

type OrderService struct {
	ID string `uri:"id" binding:"required"`
}

OrderService 订单查询

type RedeemData

type RedeemData struct {
	Name string `json:"name"`
	Type int    `json:"type"`
	Num  int    `json:"num"`
	Time int64  `json:"time"`
}

兑换码信息

type RedeemService

type RedeemService struct {
	Code string `uri:"code" binding:"required,max=64"`
}

RedeemService 兑换服务

Jump to

Keyboard shortcuts

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