code

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code struct {
	// contains filtered or unexported fields
}

Code 小程序代码管理

func New

func New(account contracts.AccountInterface) *Code

func (*Code) AuditStatus

func (code *Code) AuditStatus(auditId int64) (map[string]interface{}, error)

AuditStatus 查询指定版本的审核状态

func (*Code) Commit

func (code *Code) Commit(templateId int64, version, description, extJson string) error

Commit 上传代码

func (*Code) GetCategory

func (code *Code) GetCategory() ([]map[string]interface{}, error)

GetCategory 获取小程序类目信息

func (*Code) GetPage

func (code *Code) GetPage() ([]string, error)

GetPage 获取已上传代码的页面列表

func (*Code) LatestAuditStatus

func (code *Code) LatestAuditStatus() (map[string]interface{}, error)

LatestAuditStatus 查询最新一次提交的审核状态

func (*Code) QrCode

func (code *Code) QrCode(path string) ([]byte, string, error)

QrCode 获取体验版二维码

func (*Code) Release

func (code *Code) Release() error

Release 发布已审核通过版本

func (*Code) RevokeAudit

func (code *Code) RevokeAudit() error

RevokeAudit 审核撤回

func (*Code) RollbackRelease

func (code *Code) RollbackRelease() error

RollbackRelease 版本回退

func (*Code) SubmitAudit

func (code *Code) SubmitAudit(data map[string]interface{}) (int64, error)

SubmitAudit 提交审核

func (*Code) UrgentAudit

func (code *Code) UrgentAudit(auditId int64) error

UrgentAudit 加急审核申请

Jump to

Keyboard shortcuts

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