blockuser

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockUserRequest

type BlockUserRequest struct {
	/**
	 *  用户id
	 */
	OpenUserId string `json:"open_user_id"`
	/**
	 *  屏蔽类型,1:骚扰、辱骂我,言辞恶劣,2:让我加微信又不下单,疑似诈骗,3:其他
	 */
	BlockCode int64 `json:"block_code"`
	/**
	 *  屏蔽原因,当屏蔽类型为「其他」时该值必填
	 */
	BlockReasonDesc string `json:"block_reason_desc"`
	/**
	 *  照片id,以,分割,最少1张,最多9张,通过图片上传接口获取图片id
	 */
	VoucherPicIds string `json:"voucher_pic_ids"`
}

func (*BlockUserRequest) DoInvoke

func (req *BlockUserRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*BlockUserResponse, error)

type BlockUserResponse

type BlockUserResponse struct {
	Code    string `json:"code"`
	Msg     string `json:"msg"`
	Data    string `json:"data"`
	TraceId string `json:"traceId"`
}

func (*BlockUserResponse) IsSuccess

func (response *BlockUserResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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