Documentation ¶
Index ¶
- type AddTermsReq
- type AddTermsRes
- type AddUserTermData
- type AddUserTermsReq
- type AddUserTermsRes
- type DelTermsReq
- type DelTermsRes
- type DelUserTermData
- type DelUserTermsReq
- type DelUserTermsRes
- type Fail
- type TermsListItermData
- type TermsListReq
- type TermsListRes
- type TermsUserListIterm
- type TermsUserListItermData
- type TermsUserListReq
- type TermsUserListRes
- type UpdateTermsReq
- type UpdateTermsRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTermsReq ¶
type AddTermsReq struct { AdvertiserId int64 `json:"advertiser_id"` AwemeId string `json:"aweme_id"` IsApplyToAdv bool `json:"is_apply_to_adv"` Terms []string `json:"terms"` }
AddTermsReq 添加屏蔽词
func (AddTermsReq) Encode ¶
func (r AddTermsReq) Encode() []byte
Encode implement GetRequest interface
type AddTermsRes ¶
type AddTermsRes struct { model.BaseResponse //common.OceanEngineApiCommonResultParam Data struct{} `json:"data"` // json返回值 }
AddTermsRes AddTermsRes
type AddUserTermData ¶
type AddUserTermsReq ¶
type AddUserTermsReq struct { AdvertiserId int64 `json:"advertiser_id"` BannedType string `json:"banned_type"` AwemeId string `json:"aweme_id,omitempty"` IsApplyToAdv bool `json:"is_apply_to_adv"` AwemeUserIds []string `json:"aweme_user_ids,omitempty"` NicknameKeywords []string `json:"nickname_keywords,omitempty"` }
AddUserTermsReq 添加屏蔽用户
func (AddUserTermsReq) Encode ¶
func (r AddUserTermsReq) Encode() []byte
Encode implement GetRequest interface
type AddUserTermsRes ¶
type AddUserTermsRes struct { model.BaseResponse Data *AddUserTermData `json:"data"` // json返回值 }
AddUserTermsRes
type DelTermsReq ¶
type DelTermsReq struct { AdvertiserId int64 `json:"advertiser_id"` AwemeId string `json:"aweme_id"` IsApplyToAdv bool `json:"is_apply_to_adv"` Terms []string `json:"terms"` }
DelTermsReq 删除屏蔽词
func (DelTermsReq) Encode ¶
func (r DelTermsReq) Encode() []byte
Encode implement GetRequest interface
type DelTermsRes ¶
type DelTermsRes struct { model.BaseResponse //common.OceanEngineApiCommonResultParam Data struct{} `json:"data"` // json返回值 }
DelTermsRes DelTermsRes
type DelUserTermData ¶
type DelUserTermsReq ¶
type DelUserTermsReq struct { AdvertiserId int64 `json:"advertiser_id"` BannedType string `json:"banned_type"` AwemeId string `json:"aweme_id,omitempty"` IsApplyToAdv bool `json:"is_apply_to_adv"` AwemeUserIds []string `json:"aweme_user_ids,omitempty"` NicknameKeywords []string `json:"nickname_keywords,omitempty"` }
DelUserTermsReq 删除屏蔽用户
func (DelUserTermsReq) Encode ¶
func (r DelUserTermsReq) Encode() []byte
Encode implement GetRequest interface
type DelUserTermsRes ¶
type DelUserTermsRes struct { model.BaseResponse Data *DelUserTermData `json:"data"` // json返回值 }
DelUserTermsRes
type TermsListItermData ¶
type TermsListReq ¶
type TermsListReq struct { AdvertiserId int64 `json:"advertiser_id"` AwemeId string `json:"aweme_id"` IsApplyToAdv bool `json:"is_apply_to_adv"` Page int `json:"page"` PageSize int `json:"page_size"` }
TermsListReq 获取屏蔽词
func (TermsListReq) Encode ¶
func (r TermsListReq) Encode() string
Encode implement GetRequest interface
type TermsListRes ¶
type TermsListRes struct { model.BaseResponse Data *TermsListItermData `json:"data"` // json返回值 }
TermsListRes
type TermsUserListIterm ¶
type TermsUserListItermData ¶
type TermsUserListItermData struct { List []TermsUserListIterm `json:"list"` // PageInfo promotion.PageInfo `json:"page_info,omitempty"` //分页信息 }
type TermsUserListReq ¶
type TermsUserListReq struct { AdvertiserId int64 `json:"advertiser_id"` AwemeId string `json:"aweme_id,omitempty"` IsApplyToAdv bool `json:"is_apply_to_adv,omitempty"` BannedType string `json:"banned_type,omitempty"` AwemeUserId string `json:"aweme_user_id,omitempty"` NicknameKeyword string `json:"nickname_keyword,omitempty"` Page int `json:"page"` PageSize int `json:"page_size"` }
TermsUserListReq 获取屏蔽用户
func (TermsUserListReq) Encode ¶
func (r TermsUserListReq) Encode() string
Encode implement GetRequest interface
type TermsUserListRes ¶
type TermsUserListRes struct { model.BaseResponse Data *TermsUserListItermData `json:"data"` // json返回值 }
TermsUserListRes
type UpdateTermsReq ¶
type UpdateTermsReq struct { AdvertiserId int64 `json:"advertiser_id"` AwemeId string `json:"aweme_id,omitempty"` IsApplyToAdv bool `json:"is_apply_to_adv"` OriginTerm string `json:"origin_term"` NewTerm string `json:"new_term"` }
UpdateTermsReq 更新屏蔽词
func (UpdateTermsReq) Encode ¶
func (r UpdateTermsReq) Encode() []byte
Encode implement GetRequest interface
type UpdateTermsRes ¶
type UpdateTermsRes struct { model.BaseResponse //common.OceanEngineApiCommonResultParam Data struct{} `json:"data"` // json返回值 }
UpdateTermsRes DelTermsRes
Click to show internal directories.
Click to hide internal directories.