taskresultquery

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 FailUser

type FailUser struct {
	UserId int64  `json:"userId"`
	Reason string `json:"reason"`
}

type TaskResultQueryData

type TaskResultQueryData struct {
	SendNum     int64      `json:"sendNum"`
	SendTime    int64      `json:"sendTime"`
	SuccessUser []int64    `json:"successUser"`
	FailUser    []FailUser `json:"failUser"`
}

type TaskResultQueryRequest

type TaskResultQueryRequest struct {
	/**
	 *  枚举 2 根据系统标签获取用户列表 3 根据自定以标签获取用户列表 4 建券并发券 5 手机号发券
	 */
	TaskType int32 `json:"taskType"`
	/**
	 *  任务请求id。 支持手机号发券生成的任务id
	 */
	QueryId string `json:"queryId"`
}

func (*TaskResultQueryRequest) DoInvoke

func (req *TaskResultQueryRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*TaskResultQueryResponse, error)

type TaskResultQueryResponse

type TaskResultQueryResponse struct {
	Code    string                `json:"code"`
	Msg     string                `json:"msg"`
	Data    []TaskResultQueryData `json:"data"`
	TraceId string                `json:"traceId"`
}

func (*TaskResultQueryResponse) IsSuccess

func (response *TaskResultQueryResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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