Documentation
¶
Index ¶
Constants ¶
View Source
const ( PlatformID string = "PlatformID" MiniProgramID = "MiniProgramID" PayMchID = "PayMchID" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitCodeParam ¶
type CommitCodeParam struct { MiniProgramID string `binding:"required"` // 小程序ID TemplateID int `binding:"required"` // 模板编号 }
提交代码
type ListMiniAppParam ¶
type ListMiniAppParam struct { PageParam AppID string // 小程序appid PlatformID string // 开放平台ID Version string // 版本号 State int8 // -1-授权失效 1授权成功,2审核中,3审核通过,4审核失败,5已发布 OrderBase }
ListMiniAppParam 列表
type MiniAppConfigParam ¶
type MiniAppConfigParam struct { AppID string `binding:"required"` // 小程序appid MchID string // 支付商户号id Secret string // 小程序secret ExtConfig string // 小程序扩展配置,发布时会注入至ext.json AutoAudit int8 // 自动提审(升级) -1否 1是 AutoRelease int8 // 自动发布-1否 1是 }
MiniAppConfigParam 小程序配置
type PageParam ¶
type PageParam struct { // id分页时使用,如无特殊说明不用此字段 LastId int `json:"last_id"` Page int `json:"page" binding:"min=1"` PageSize int `json:"page_size" binding:"min=1,max=50"` }
分页基础入参
type PlatformParam ¶
type PlatformParam struct { PlatformID string `binding:"required"` // 平台 appid PlatformSecret string // 平台 appsecret PlatformToken string // 平台 token PlatformKey string // 平台 消息解密key ServerDomain string // 服务器域名 BizDomain string // 业务域名 AuthRedirectURL string // 用户授权成功回跳地址 }
平台编辑
type SpeedUpAuditParam ¶
type SpeedUpAuditParam struct { MiniProgramID string `binding:"required"` // 小程序ID AuditID uint64 `binding:"required"` // 要加急的审核单号 }
SpeedUpAuditParam 加急审核
type WxACodeParam ¶
Click to show internal directories.
Click to hide internal directories.