code

package
v2.0.1-beta21 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kernel.BaseClient
}

func NewClient

func NewClient(app *kernel.ApplicationInterface) (*Client, error)

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) Commit

func (comp *Client) Commit(templateID string, extJson string, version string, description string) (*response2.ResponseOpenPlatform, error)

上传小程序代码并生成体验版 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/commit.html

func (*Client) GetAuditStatus

func (comp *Client) GetAuditStatus(auditID int) (*response.ResponseGetAuditStatus, error)

查询指定发布审核单的审核状态 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/get_auditstatus.html#请求地址

func (*Client) GetCategory

func (comp *Client) GetCategory() (*response.ResponseGetCategory, error)

获取审核时可填写的类目信息 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/category/get_category.html#请求地址

func (*Client) GetPage

func (comp *Client) GetPage() (*response.ResponseGetPage, error)

获取已上传的代码的页面列表 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/get_page.html#请求地址

func (*Client) GetSupportVersion

func (comp *Client) GetSupportVersion() (*response.ResponseGetSupportVersion, error)

查询当前设置的最低基础库版本及各版本用户占比 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/getweappsupportversion.html#请求地址

func (*Client) QueryQuota

func (comp *Client) QueryQuota() (*response.ResponseQueryQuota, error)

查询服务商的当月提审限额(quota)和加急次数 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/query_quota.html#请求地址

func (*Client) Release

func (comp *Client) Release() (*response2.ResponseOpenPlatform, error)

发布已通过审核的小程序 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/release.html#请求地址

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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