package request import "errors" type GetUserSkillDetailH5Request struct { AccessToken string UserSkillId string } // 参数合法性检验 func (request *GetUserSkillDetailH5Request) CheckParameter() (err error) { if len(request.UserSkillId) == 0 { err = errors.New("UserSkillId不能为空") return } return }