You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.5 KiB
25 lines
1.5 KiB
package utils
|
|
|
|
var (
|
|
IdVerify = Rules{"ID": {NotEmpty()}}
|
|
SendMessageVerity = Rules{"Phone": {NotEmpty()}, "Type": {NotEmpty()}}
|
|
SendEmailVerify = Rules{"Email": {NotEmpty()}}
|
|
LoginVerify = Rules{"Appid": {NotEmpty()}, "Type": {NotEmpty()}}
|
|
LoginPhoneVerify = Rules{"Phone": {NotEmpty()}, "Code": {NotEmpty()}}
|
|
LoginEmailVerify = Rules{"Email": {NotEmpty()}, "Code": {NotEmpty()}}
|
|
RegisterVerify = Rules{"Email": {NotEmpty()}, "Code": {NotEmpty()}, "Appid": {NotEmpty()}, "Nickname": {NotEmpty()}, "Avatar": {NotEmpty()}}
|
|
BandPhoneVerify = Rules{"Phone": {NotEmpty()}, "Code": {NotEmpty()}}
|
|
PlatformAuthVerify = Rules{"Platform": {NotEmpty()}}
|
|
TypeVerify = Rules{"Type": {NotEmpty()}}
|
|
PageInfoVerify = Rules{"Page": {NotEmpty()}, "PageSize": {NotEmpty()}}
|
|
MissionClaimVerify = Rules{"MissionId": {NotEmpty()}, "AddressId": {NotEmpty()}}
|
|
MissionIdVerify = Rules{"MissionId": {NotEmpty()}}
|
|
SpuNoVerify = Rules{"SpuNo": {NotEmpty()}}
|
|
CustomerGoodsVerify = Rules{"SkuNo": {NotEmpty()}}
|
|
MissionClaimIdVerify = Rules{"MissionId": {NotEmpty()}}
|
|
MissionCodeVerify = Rules{"Code": {NotEmpty()}}
|
|
UserAppealVerify = Rules{"Respon": {NotEmpty()}, "Contact": {NotEmpty()}}
|
|
UserEmailVerify = Rules{"Email": {NotEmpty()}, "Code": {NotEmpty()}}
|
|
ProviderAuthVerify = Rules{"Appid": {NotEmpty()}, "Client": {NotEmpty()}, "Platform": {NotEmpty()}}
|
|
ChainVerify = Rules{"Hash": {NotEmpty()}}
|
|
)
|
|
|