22 lines
365 B
Go
22 lines
365 B
Go
package request
|
|
|
|
import "errors"
|
|
|
|
type GetUserSkillRateListH5Request struct {
|
|
AccessToken string
|
|
UserSkillId string
|
|
PageNo string
|
|
PageSize string
|
|
}
|
|
|
|
// 参数合法性检验
|
|
func (request *GetUserSkillRateListH5Request) CheckParameter() (err error) {
|
|
|
|
if len(request.UserSkillId) == 0 {
|
|
err = errors.New("SkillId不能为空")
|
|
return
|
|
}
|
|
|
|
return
|
|
}
|