weixin

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeOK    = 0
	MessageOK = "ok"
)
View Source
const Host = "https://api.weixin.qq.com"

Variables

View Source
var ErrRequest = errors.New("weixin request error")

Functions

This section is empty.

Types

type ResponseMeta

type ResponseMeta struct {
	ErrorCode    int64  `json:"errcode"`          // 出错返回码,为0表示成功,非0表示调用失败
	ErrorMessage string `json:"errmsg,omitempty"` // 返回码提示语
}

ResponseMeta 响应操作信息

func (ResponseMeta) String

func (t ResponseMeta) String() string

func (ResponseMeta) Succeed

func (t ResponseMeta) Succeed() bool

Succeed 操作是否成功

Directories

Path Synopsis
customer
miniprogram
offiaccount
bot

Jump to

Keyboard shortcuts

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