params

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

* @Author: i@douxuefeng.cn * @Date: 2024-01-12 11:25:17 * @LastEditTime: 2024-01-12 11:25:29 * @LastEditors: i@douxuefeng.cn * @Description:

Index

Constants

View Source
const CorpApi = "https://qyapi.weixin.qq.com/cgi-bin"

Variables

This section is empty.

Functions

This section is empty.

Types

type CallBackParams

type CallBackParams struct {
	MsgSignature string `json:"msg_signature"`
	Timestamp    string `json:"timestamp"`
	Nonce        string `json:"nonce"`
	EchoStr      string `json:"echostr"`
	Token        string `json:"token"`
}

type GetAccessTokenReply

type GetAccessTokenReply struct {
	Errcode     int    `json:"errcode"`
	Errmsg      string `json:"errmsg"`
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
}

type GetIpReply

type GetIpReply struct {
	IpList  []string `json:"ip_list"`
	Errcode int      `json:"errcode"`
	Errmsg  string   `json:"errmsg"`
}

type LoginReply

type LoginReply struct {
	Corpid     string `json:"corpid"`
	Userid     string `json:"userid"`
	SessionKey string `json:"session_key"`
	Errcode    int    `json:"errcode"`
	Errmsg     string `json:"errmsg"`
}

type LoginRequest

type LoginRequest struct {
	AccessToken string `json:"access_token"`
	JsCode      string `json:"js_code"`
	GrantType   string `json:"grant_type"`
}

type MessageReply

type MessageReply struct {
	Errcode        int    `json:"errcode"`
	Errmsg         string `json:"errmsg"`
	Invaliduser    string `json:"invaliduser"`
	Invalidparty   string `json:"invalidparty"`
	Invalidtag     string `json:"invalidtag"`
	Unlicenseduser string `json:"unlicenseduser"`
	Msgid          string `json:"msgid"`
	ResponseCode   string `json:"response_code"`
}

Jump to

Keyboard shortcuts

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