Files
servicebase/pkg/dto/request/GetUserVisitLogRequest.go
2025-11-19 14:24:13 +08:00

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
}