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

19 lines
282 B
Go

package inner
import "errors"
type GetRoomWeeklyTopListRequest struct {
Week string
}
// 参数合法性检验
func (request *GetRoomWeeklyTopListRequest) CheckParameter() (err error) {
if len(request.Week) == 0 {
err = errors.New("Week不能为空")
return
}
return
}