| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- package mini_live_config
- import (
- "git.sxidc.com/go-framework/baize/framework/core/api/request"
- )
- type (
- CreateMiniLiveConfigJsonBody struct {
- ComponentID string `json:"componentId" binding:"required" assign:"toField:ComponentID"`
- LiveTitle string `json:"liveTitle" binding:"required" assign:"toField:LiveTitle"`
- LiveCoverUrl string `json:"liveCoverUrl" assign:"toField:LiveCoverUrl"`
- LiveRoomID string `json:"liveRoomId" assign:"toField:LiveRoomID"`
- LiveStatus int `json:"liveStatus" binding:"required" assign:"toField:LiveStatus"`
- PlaceholderImage string `json:"placeholderImage" binding:"required" assign:"toField:PlaceholderImage"`
- PlaceholderText string `json:"placeholderText" binding:"required" assign:"toField:PlaceholderText"`
- IsEnabled string `json:"isEnabled" binding:"required" assign:"toField:IsEnabled"`
- request.CreateUserIDJsonBody
- request.OperatorUserNameJsonBody
- }
- DeleteMiniLiveConfigQueryParams struct {
- request.IDQueryParam
- request.DeleteUserIDQueryParams
- request.OperatorUserNameQueryParams
- }
- UpdateMiniLiveConfigJsonBody struct {
- request.IDJsonBody
- ComponentID string `json:"componentId" assign:"toField:ComponentID"`
- LiveTitle string `json:"liveTitle" assign:"toField:LiveTitle"`
- LiveCoverUrl string `json:"liveCoverUrl" assign:"toField:LiveCoverUrl"`
- LiveRoomID string `json:"liveRoomId" assign:"toField:LiveRoomID"`
- LiveStatus int `json:"liveStatus" assign:"toField:LiveStatus"`
- PlaceholderImage string `json:"placeholderImage" assign:"toField:PlaceholderImage"`
- PlaceholderText string `json:"placeholderText" assign:"toField:PlaceholderText"`
- IsEnabled string `json:"isEnabled" assign:"toField:IsEnabled"`
- request.UpdateUserIDJsonBody
- request.OperatorUserNameJsonBody
- }
- GetMiniLiveConfigsQueryParams struct {
- ComponentID string `form:"componentId" assign:"toField:ComponentID"`
- request.BaseQueryParams
- }
- GetMiniLiveConfigQueryParams struct {
- request.IDQueryParam
- }
- EnabledOrDisableJsonBody struct {
- request.IDJsonBody
- IsEnabled string `json:"isEnabled" assign:"toField:IsEnabled"`
- }
- /* HAC: HTTP RELATION REQUEST PARAMS */
- /* HAC: END HTTP RELATION REQUEST PARAMS */
- )
|