memberquery

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 CardResult

type CardResult struct {
	/**
	 * 表单内容列表
	 */
	FormItemList []FormItem `json:"formItemList"`
	/**
	 * 用户领卡时间
	 */
	ReceiveTime int64 `json:"receiveTime"`
	/**
	 * 用户卡过期时间
	 */
	ExpireTime int64 `json:"expireTime"`
	/**
	 * 卡号
	 */
	CardNumber string `json:"cardNumber"`
}

type FormItem

type FormItem struct {
	/**
	 * 注册信息类别,可选值为NAME,SEX,PHONE,BIRTHDAY,CITY
	 */
	ItemEnum string `json:"itemEnum"`
	/**
	 * 值
	 */
	Value string `json:"value"`
}

type MemberQueryRequest

type MemberQueryRequest struct {
	/**
	 *  商户唯一标识,领卡事件中的userOpenId
	 */
	UserOpenId string `json:"userOpenId"`
}

func (*MemberQueryRequest) DoInvoke

func (req *MemberQueryRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*MemberQueryResponse, error)

type MemberQueryResponse

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

func (*MemberQueryResponse) IsSuccess

func (response *MemberQueryResponse) IsSuccess() bool

type Result

type Result struct {
	/**
	 * 业务状态
	 */
	Status string     `json:"status"`
	Result CardResult `json:"result"`
	/**
	 * 业务异常时的描述消息
	 */
	ErrMsg string `json:"errMsg"`
}

Jump to

Keyboard shortcuts

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