vote-api/api/requests/BasicRequest.go

11 lines
330 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package requests
type BasicRequest struct {
GetBasicAgreement // 获取协议详情
}
// GetBasicAgreement 获取协议详情
type GetBasicAgreement struct {
AgreementType int `json:"agreement_type" form:"agreement_type" label:"协议类型" validate:"required,oneof=1 2"` // 协议类型1:大赛介绍 2:投票规则)
}