20 lines
325 B
Go
20 lines
325 B
Go
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
|
|
}
|