miniprogram

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiniProgram

type MiniProgram struct {
	Auth *auth.Auth
	// contains filtered or unexported fields
}

MiniProgram 微信小程序相关API

func GetMiniProgram

func GetMiniProgram(cfg *config.Config) *MiniProgram

func NewMiniProgram

func NewMiniProgram(cfg *config.Config) *MiniProgram

func (*MiniProgram) HTTPGet

func (m *MiniProgram) HTTPGet(url string, params map[string]interface{}) (resp []byte, err error)

HTTPGet HTTPGet请求

func (*MiniProgram) HTTPPost

func (m *MiniProgram) HTTPPost(url string, params map[string]interface{}) (resp []byte, err error)

HTTPPost HTTPPost请求

func (*MiniProgram) HTTPPostJSON

func (m *MiniProgram) HTTPPostJSON(url string, params interface{}) (resp []byte, err error)

HTTPPostJSON HTTPPostJSON请求

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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