package request type CreateAuthCodeReq struct { Source int `json:"source" form:"source" binding:"oneof=1 2" description:"来源: 1-CRM; 2-ETA"` AdminName string `json:"admin_name" form:"admin_name" binding:"required"` } type TokenLoginReq struct { AuthCode string `json:"auth_code" form:"auth_code" binding:"required"` }