request

package
v2.0.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestBroadcastAddAssistant

type RequestBroadcastAddAssistant struct {
	RoomID int                                `json:"roomId"`
	Users  []RequestBroadcastAddAssistantUser `json:"users"`
}

type RequestBroadcastAddAssistantUser

type RequestBroadcastAddAssistantUser struct {
	Username string `json:"username"`
	Nickname string `json:"nickname"`
}

type RequestBroadcastAddGoods

type RequestBroadcastAddGoods struct {
	IDs    []int `json:"ids"`
	RoomID int   `json:"roomId"`
}

type RequestBroadcastCreateRoom

type RequestBroadcastCreateRoom struct {
	Name            string `json:"name"`
	CoverImg        string `json:"coverImg"`
	StartTime       int64  `json:"startTime"`
	EndTime         int64  `json:"endTime"`
	AnchorName      string `json:"anchorName"`
	AnchorWechat    string `json:"anchorWechat"`
	SubAnchorWechat string `json:"subAnchorWechat"`
	CreaterWechat   string `json:"createrWechat"`
	ShareImg        string `json:"shareImg"`
	FeedsImg        string `json:"feedsImg"`
	IsFeedsPublic   int    `json:"isFeedsPublic"`
	Type            int    `json:"type"`
	CloseLike       int    `json:"closeLike"`
	CloseGoods      int    `json:"closeGoods"`
	CloseComment    int    `json:"closeComment"`
	CloseReplay     int    `json:"closeReplay"`
	CloseShare      int    `json:"closeShare"`
	CloseKf         int    `json:"closeKf"`
}

type RequestBroadcastEditRoom

type RequestBroadcastEditRoom struct {
	ID            int    `json:"id"`
	Name          string `json:"name"`
	CoverImg      string `json:"coverImg"`
	StartTime     int    `json:"startTime"`
	EndTime       int    `json:"endTime"`
	AnchorName    string `json:"anchorName"`
	AnchorWechat  string `json:"anchorWechat"`
	ShareImg      string `json:"shareImg"`
	CloseLike     int    `json:"closeLike"`
	CloseGoods    int    `json:"closeGoods"`
	CloseComment  int    `json:"closeComment"`
	IsFeedsPublic int    `json:"isFeedsPublic"`
	CloseReplay   int    `json:"closeReplay"`
	CloseShare    int    `json:"closeShare"`
	CloseKF       int    `json:"closeKf"`
	FeedsImg      string `json:"feedsImg"`
}

type RequestBroadcastGetLiveInfo

type RequestBroadcastGetLiveInfo struct {
	Start int `json:"start"`
	Limit int `json:"limit"`
}

type RequestBroadcastGetLiveReplay

type RequestBroadcastGetLiveReplay struct {
	Action string `json:"action"`
	RoomID int    `json:"room_id"`
	Start  int    `json:"start"`
	Limit  int    `json:"limit"`
}

type RequestBroadcastGetRoleList

type RequestBroadcastGetRoleList struct {
	Role    int    `json:"role"`
	Offset  int    `json:"offset"`
	Limit   int    `json:"limit"`
	Keyword string `json:"keyword,omitempty"`
}

type RequestBroadcastGetSharedCode

type RequestBroadcastGetSharedCode struct {
	RoomID int    `json:"roomId"`
	Params string `json:"params"`
}

type RequestBroadcastGoodsAdd

type RequestBroadcastGoodsAdd struct {
	GoodsInfo *RequestBroadcastGoodsAddInfo `json:"goodsInfo"`
}

type RequestBroadcastGoodsAddInfo

type RequestBroadcastGoodsAddInfo struct {
	CoverImgUrl     string  `json:"coverImgUrl"`
	Name            string  `json:"name"`
	PriceType       int     `json:"priceType"`
	Price           float64 `json:"price"`
	Price2          float64 `json:"price2"`
	Url             string  `json:"url"`
	ThirdPartyAppid string  `json:"thirdPartyAppid"` // 当商品为第三方小程序的商品则填写为对应第三方小程序的appid,自身小程序商品则为”
}

type RequestBroadcastGoodsResetAudit

type RequestBroadcastGoodsResetAudit struct {
	AuditID int `json:"auditId"`
	GoodsID int `json:"goodsId"`
}

type RequestBroadcastGoodsSort

type RequestBroadcastGoodsSort struct {
	GoodsID string `json:"goodsId"`
}

type RequestBroadcastGoodsUpdate

type RequestBroadcastGoodsUpdate struct {
	GoodsInfo *RequestBroadcastGoodsUpdateInfo `json:"goodsInfo"`
}

type RequestBroadcastGoodsUpdateInfo

type RequestBroadcastGoodsUpdateInfo struct {
	GoodsID         int     `json:"goodsId"`
	CoverImgUrl     string  `json:"coverImgUrl,omitempty"`
	Name            string  `json:"name,omitempty"`
	PriceType       int     `json:"priceType,omitempty'"`
	Price           float64 `json:"price,omitempty"`
	Price2          float64 `json:"price2,omitempty"`
	Url             string  `json:"url,omitempty"`
	ThirdPartyAppid string  `json:"thirdPartyAppid,omitempty"` // 当商品为第三方小程序的商品则填写为对应第三方小程序的appid,自身小程序商品则为”
}

type RequestBroadcastModifyAssistant

type RequestBroadcastModifyAssistant struct {
	RoomID   int    `json:"roomId"`
	UserName string `json:"username"`
	NickName string `json:"nickname"`
}

type RequestBroadcastRemoveAssistant

type RequestBroadcastRemoveAssistant struct {
	RoomID   int    `json:"roomId"`
	UserName string `json:"username"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL