code

package
v0.0.0-...-94578c2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WeappAuditSuccess = "weapp_audit_success"
	WeappAuditFail    = "weapp_audit_fail"
	WeappAuditDelay   = "weapp_audit_delay"
)

Variables

This section is empty.

Functions

func GetWxaCodeUnLimit

func GetWxaCodeUnLimit(appid string, scene string, pages ...string) ([]byte, error)

无限小程序码

func RevertCodeRelease

func RevertCodeRelease(token string) error

func Revertcoderelease

func Revertcoderelease(appid string) error

Types

type AuditstatusResult

type AuditstatusResult struct {
	Auditid    int    `json:"auditid"`
	Status     int    `json:"status"`
	Reason     string `json:"reason"`
	ScreenShot string `json:"screen_shot"`
}

type CommitParam

type CommitParam struct {
	TemplateId  int    `json:"template_id"`
	ExtJson     string `json:"ext_json"`
	UserVersion string `json:"user_version"`
	UserDesc    string `json:"user_desc"`
}

type GetGrayReleasePlanResult

type GetGrayReleasePlanResult struct {
	GrayReleasePlan []*GrayReleasePlan `json:"gray_release_plan"`
}

type GetPageResult

type GetPageResult struct {
	PageList []string `json:"page_list"`
}

type GetWeappSupportVersionResult

type GetWeappSupportVersionResult struct {
	NowVersion string `json:"now_version"`
	UvInfo     UvInfo `json:"uv_info"`
}

func Getweappsupportversion

func Getweappsupportversion(appid string) (*GetWeappSupportVersionResult, error)

type GrayReleasePlan

type GrayReleasePlan struct {
	Status          int   `json:"status"`
	CreateTimestamp int64 `json:"create_timestamp"`
	GrayPercentage  int   `json:"gray_percentage"`
}

type QueryquotaResult

type QueryquotaResult struct {
	Rest         int `json:"rest"`
	Limit        int `json:"limit"`
	SpeedupRest  int `json:"speedup_rest"`
	SpeedupLimit int `json:"speedup_limit"`
}

type SubmitAuditItem

type SubmitAuditItem struct {
	Address     string `json:"address"`
	Tag         string `json:"tag"`
	FirstClass  string `json:"first_class"`
	SecondClass string `json:"second_class"`
	ThirdClass  string `json:"third_class"`
	FirstId     string `json:"first_id"`
	SecondId    string `json:"second_id"`
	ThirdId     string `json:"third_id"`
	Title       string `json:"title"`
}

type SubmitAuditNotifyResult

type SubmitAuditNotifyResult struct {
	XMLName      xml.Name `xml:"xml" json:"xml,omitempty"`
	ToUserName   string   `xml:"to_user_name" json:"to_user_name"`
	FromUserName string   `xml:"from_user_name" json:"from_user_name"`
	CreateTime   int      `xml:"create_time" json:"create_time"`
	MsgType      string   `xml:"msg_type" json:"msg_type"`
	Event        string   `xml:"event" json:"event"`
	SuccTime     int      `xml:"succ_time" json:"succ_time"`
	FailTime     int      `xml:"fail_time" json:"fail_time"`
	DelayTime    int      `xml:"delay_time" json:"delay_time"`
	Reason       string   `xml:"reason" json:"reason"`
	ScreenShot   string   `xml:"screen_shot" json:"screen_shot"`
}

type SubmitAuditParam

type SubmitAuditParam struct {
	ItemList      []SubmitAuditItem    `json:"item_list"`
	PreviewInfo   []SubmitAuditPreview `json:"preview_info"`
	VersionDesc   string               `json:"version_desc"`
	FeedbackInfo  string               `json:"feedback_info"`
	FeedbackStuff string               `json:"feedback_stuff"`
	UgcDeclare    []SubmitAuditUgc     `json:"ugc_declare"`
}

type SubmitAuditPreview

type SubmitAuditPreview struct {
	VideoIdList []string `json:"video_id_list"`
	PicIdList   []string `json:"pic_id_list"`
}

type SubmitAuditUgc

type SubmitAuditUgc struct {
	Scene          []int  `json:"scene"`
	OtherSceneDesc string `json:"other_scene_desc"`
	Method         []int  `json:"method"`
	HasAuditTeam   int    `json:"has_audit_team"`
	AuditDesc      string `json:"audit_desc"`
}

type SubmitResult

type SubmitResult struct {
	Auditid int `json:"auditid"`
}

type UvInfo

type UvInfo struct {
	Items []*struct {
		Percentage int `json:"percentage"`
		Version    int `json:"version"`
	} `json:"items"`
}

Jump to

Keyboard shortcuts

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