feat(app): update
This commit is contained in:
21
pkg/dto/request/GetUserSkillRateListH5Request.go
Normal file
21
pkg/dto/request/GetUserSkillRateListH5Request.go
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user