26 lines
402 B
Go
26 lines
402 B
Go
package request
|
|
|
|
import "errors"
|
|
|
|
type GetUserVisitLogRequest struct {
|
|
BaseRequest
|
|
AnchorId string
|
|
PageSize string
|
|
}
|
|
|
|
// 签名验证
|
|
func (request *GetUserVisitLogRequest) CheckParameter() (err error) {
|
|
|
|
if len(request.AccessToken) == 0 {
|
|
err = errors.New("AccessToken不能为空")
|
|
return
|
|
}
|
|
|
|
if len(request.PageSize) == 0 {
|
|
err = errors.New("PageSize不能为空")
|
|
return
|
|
}
|
|
|
|
return
|
|
}
|