response

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TYPE_RAW = "raw"
	TYPE_MAP = "map"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseGetToken

type ResponseGetToken struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
	*ResponseWork
}

type ResponseMiniProgram

type ResponseMiniProgram struct {
	Msg     string `json:"msg,omitempty"` // 小程序直播的部分接口会把错误提示抛在msg字段
	ErrCode int    `json:"errcode"`
	ErrMSG  string `json:"errmsg,omitempty"`

	ResultCode string `json:"resultcode"`
	ResultMSG  string `json:"resultmsg,omitempty"`
}

type ResponseOfficialAccount

type ResponseOfficialAccount struct {
	ErrCode int    `json:"errcode"`
	ErrMSG  string `json:"errmsg,omitempty"`

	ResultCode string `json:"resultcode"`
	ResultMSG  string `json:"resultmsg,omitempty"`
}

type ResponsePayment

type ResponsePayment struct {
	ReturnCode string `json:"return_code"`
	ReturnMSG  string `json:"return_msg,omitempty"`

	ResultCode string `json:"result_code"`        // 是	String(16)	SUCCESS/FAIL
	ErrCode    string `json:"err_code,omitempty"` // 否	String(32)	SYSTEMERROR--系统错误
	ErrMSG     string `json:"errmsg,omitempty"`
	ErrCodeDes string `json:"err_code_des,omitempty"`
}

type ResponseWork

type ResponseWork struct {
	ErrCode int    `json:"errcode"`
	ErrMSG  string `json:"errmsg,omitempty"`
}

Jump to

Keyboard shortcuts

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