package v1

import (
	"kami/internal/consts"

	"github.com/gogf/gf/v2/frame/g"
)

type UserInfoCollectionReq struct {
	g.Meta `path:"/restriction/collection/userInfo" tags:"限制" method:"post" summary:"收集用户基本IP信息"`
	Data   string `json:"data" v:"required#数据不能为空" dc:"加密数据"`
}

type UserInfoCollectionRes struct {
}

type BlockOrderReq struct {
	g.Meta      `path:"/restriction/block/order" tags:"限制" method:"post" summary:"封单"`
	OrderNo     string                `json:"orderNo" v:"required#订单号不能为空" dc:"订单号"`
	BlockStatus consts.RestrictStatus `json:"blockStatus" v:"required#封单状态不能为空" dc:"封单状态"`
}

type BlockOrderRes struct{}
