Documentation
¶
Index ¶
- Constants
- func ChangeVisitstatus(action string, appid string) error
- func CommitAudit(p *CommitParam, appid string) error
- func GetPage(appid string) ([]string, error)
- func GetQrcode(path, appid string) ([]byte, error)
- func GetWxaCodeUnLimit(appid string, scene string, pages ...string) ([]byte, error)
- func Grayrelease(grayPercentage int, appid string) error
- func Release(appid string) error
- func ReleaseVersion(token string) error
- func RevertCodeRelease(token string) error
- func Revertcoderelease(appid string) error
- func Revertgrayrelease(appid string) error
- func Setweappsupportversion(version string, appid string) error
- func Speedupaudit(auditid int, appid string) error
- func UndoCodeAudit(token string) error
- func Undocodeaudit(appid string) error
- type AuditstatusResult
- type CommitParam
- type GetGrayReleasePlanResult
- type GetPageResult
- type GetWeappSupportVersionResult
- type GrayReleasePlan
- type QueryquotaResult
- type SubmitAuditItem
- type SubmitAuditNotifyResult
- type SubmitAuditParam
- type SubmitAuditPreview
- type SubmitAuditUgc
- type SubmitResult
- type UvInfo
Constants ¶
const ( WeappAuditSuccess = "weapp_audit_success" WeappAuditFail = "weapp_audit_fail" WeappAuditDelay = "weapp_audit_delay" )
Variables ¶
This section is empty.
Functions ¶
func ChangeVisitstatus ¶
POST https://api.weixin.qq.com/wxa/change_visitstatus?access_token=ACCESS_TOKEN
func CommitAudit ¶
func CommitAudit(p *CommitParam, appid string) error
POST https://api.weixin.qq.com/wxa/commit?access_token=ACCESS_TOKEN
func GetQrcode ¶
GET https://api.weixin.qq.com/wxa/get_qrcode?access_token=ACCESS_TOKEN&path=page%2Findex%3Faction%3D1
func GetWxaCodeUnLimit ¶
无限小程序码
func RevertCodeRelease ¶
func Revertcoderelease ¶
func Revertgrayrelease ¶
GET https://api.weixin.qq.com/wxa/revertgrayrelease?access_token=ACCESS_TOKEN
func Setweappsupportversion ¶
POST https://api.weixin.qq.com/cgi-bin/wxopen/setweappsupportversion?access_token=ACCESS_TOKEN
Types ¶
type AuditstatusResult ¶
type AuditstatusResult struct {
Auditid int `json:"auditid"`
Status int `json:"status"`
Reason string `json:"reason"`
ScreenShot string `json:"screen_shot"`
}
func GetAuditstatus ¶
func GetAuditstatus(auditId int, appid string) (*AuditstatusResult, error)
POST https://api.weixin.qq.com/wxa/get_auditstatus?access_token=ACCESS_TOKEN
func GetLatestAuditstatus ¶
func GetLatestAuditstatus(appid string) (*AuditstatusResult, error)
GET https://api.weixin.qq.com/wxa/get_latest_auditstatus?access_token=ACCESS_TOKEN
type CommitParam ¶
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"`
}
func Getgrayreleaseplan ¶
func Getgrayreleaseplan(appid string) ([]*GrayReleasePlan, error)
GET https://api.weixin.qq.com/wxa/getgrayreleaseplan?access_token=ACCESS_TOKEN
type QueryquotaResult ¶
type QueryquotaResult struct {
Rest int `json:"rest"`
Limit int `json:"limit"`
SpeedupRest int `json:"speedup_rest"`
SpeedupLimit int `json:"speedup_limit"`
}
func Queryquota ¶
func Queryquota(appid string) (*QueryquotaResult, error)
GET https://api.weixin.qq.com/wxa/queryquota?access_token=ACCESS_TOKEN
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 SubmitAuditUgc ¶
type SubmitResult ¶
type SubmitResult struct {
Auditid int `json:"auditid"`
}
func SubmitAudit ¶
func SubmitAudit(p *SubmitAuditParam, appid string) (*SubmitResult, error)
POST https://api.weixin.qq.com/wxa/submit_audit?access_token=ACCESS_TOKEN
Source Files
¶
- change_visitstatus.go
- commit.go
- get_auditstatus.go
- get_latest_auditstatus.go
- get_page.go
- get_qrcode.go
- getgrayreleaseplan.go
- getweappsupportversion.go
- getwxacodeunlimit.go
- grayrelease.go
- queryquota.go
- receive_submit_audit.go
- release.go
- revertcoderelease.go
- revertgrayrelease.go
- setweappsupportversion.go
- speedupaudit.go
- submit_audit.go
- undocodeaudit.go