Documentation
¶
Index ¶
- func SetAppWebViewDomain(params *SetAppWebViewDomainRequest) (string, error)
- type CheckAppNickNameRequest
- type CheckAppNickNameResponse
- type CheckAppNickNameResponsedata
- type ControlAppFlowRequest
- type ControlAppFlowResponse
- type ControlAppFlowResponsedata
- type GetAppCategoryListRequest
- type GetAppCategoryListResponse
- type GetAppCategoryListResponsedataItem
- type GetAppCategoryListResponsedataItemsubItems
- type GetAppQRCodeRequest
- type GetAppQRCodeResponse
- type GetAppQRCodeResponsedata
- type GetAppSupportVerRequest
- type GetAppSupportVerResponse
- type GetAppSupportVerResponsedata
- type GetAppSupportVerResponsedataitemsItem
- type PauseAppRequest
- type PauseAppResponse
- type PauseAppResponsedata
- type ResumeAppRequest
- type ResumeAppResponse
- type ResumeAppResponsedata
- type SetAppCategoryRequest
- type SetAppCategoryResponse
- type SetAppCategoryResponsedata
- type SetAppDomainRequest
- type SetAppDomainResponse
- type SetAppDomainResponsedata
- type SetAppImageRequest
- type SetAppImageResponse
- type SetAppImageResponsedata
- type SetAppNickNameRequest
- type SetAppNickNameResponse
- type SetAppNickNameResponsedataItem
- type SetAppSignatureRequest
- type SetAppSignatureResponse
- type SetAppSignatureResponsedata
- type SetAppWebViewDomainRequest
- type SetAppWebViewDomainResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAppWebViewDomain ¶
func SetAppWebViewDomain(params *SetAppWebViewDomainRequest) (string, error)
SetAppWebViewDomain
Types ¶
type CheckAppNickNameRequest ¶
type CheckAppNickNameRequest struct { AccessToken string // 授权小程序的接口调用凭据 AppName string // 小程序名字 QualMaterials interface{} // 如果小程序名称包含品牌词,需要上传品牌资质证明。 }
CheckAppNickNameRequest 请求结构体
type CheckAppNickNameResponse ¶
type CheckAppNickNameResponse struct { Data CheckAppNickNameResponsedata `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type CheckAppNickNameResponsedata ¶
type CheckAppNickNameResponsedata struct { CheckResult int64 `json:"checkResult"` // 检测结果码 CheckWords []string `json:"checkWords"` // 命中关键词 OptionalFields []int64 `json:"optionalFields"` // 当前名称可上传的资质字段(qual_materials参数) RequiredFields []int64 `json:"requiredFields"` // 当前名称必须要上传的资质字段(qual_materials参数) }
func CheckAppNickName ¶
func CheckAppNickName(params *CheckAppNickNameRequest) (*CheckAppNickNameResponsedata, error)
CheckAppNickName
type ControlAppFlowRequest ¶
type ControlAppFlowRequest struct { AccessToken string // 授权小程序的接口调用凭据 Type int64 // 流量下线开关状态,1:开启流量,2:下线流量 }
ControlAppFlowRequest 请求结构体
type ControlAppFlowResponse ¶
type ControlAppFlowResponse struct { Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 Data ControlAppFlowResponsedata }
type ControlAppFlowResponsedata ¶
type ControlAppFlowResponsedata struct { Errno int64 `json:"errno"` // 状态码 Msg string `json:"msg"` // 状态描述 }
func ControlAppFlow ¶
func ControlAppFlow(params *ControlAppFlowRequest) (*ControlAppFlowResponsedata, error)
ControlAppFlow
type GetAppCategoryListRequest ¶
type GetAppCategoryListRequest struct { AccessToken string // 授权小程序的接口调用凭据 CategoryType string // 1.个人类型类目 2.企业类型类目 为2时可以查出全部类目 }
GetAppCategoryListRequest 请求结构体
type GetAppCategoryListResponse ¶
type GetAppCategoryListResponse struct { Data []GetAppCategoryListResponsedataItem `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type GetAppCategoryListResponsedataItem ¶
type GetAppCategoryListResponsedataItem struct { CategoryName string `json:"category_name"` // 父类目名称 CategoryType int64 `json:"category_type"` // 父类目类型 1.个人服务 2.企业服务 主体为企业类型所有类目均可设置,主体为个人类型时只能设置个人服务 ID int64 `json:"id"` // 类目 Id SubItems map[string]GetAppCategoryListResponsedataItemsubItems `json:"sub_items"` // 子类目 key为类目id value为类目详情 }
func GetAppCategoryList ¶
func GetAppCategoryList(params *GetAppCategoryListRequest) ([]GetAppCategoryListResponsedataItem, error)
GetAppCategoryList
type GetAppCategoryListResponsedataItemsubItems ¶
type GetAppCategoryListResponsedataItemsubItems struct { CategoryName string `json:"category_name"` // 子类目名称 CategoryQuali string `json:"category_quali"` // 类目 资质要求 CategoryType int64 `json:"category_type"` // 子类目类型 规则同父类目类型 ID int64 `json:"id"` // 子类目 Id NeedQuali int64 `json:"need_quali"` // 类目是否需资质 1:需要 0:不需要 }
type GetAppQRCodeRequest ¶
type GetAppQRCodeRequest struct { AccessToken string // 授权小程序的接口调用凭据 Path interface{} // 自定义打开路径 PackageID interface{} // 可指定代码包id(只支持审核、开发、线上版本),不传默认线上版本 Width interface{} // 默认 200px ,最大 1280px ,最小 200px }
GetAppQRCodeRequest 请求结构体
type GetAppQRCodeResponse ¶
type GetAppQRCodeResponse struct { ContentType string Data GetAppQRCodeResponsedata Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
func GetAppQRCode ¶
func GetAppQRCode(params *GetAppQRCodeRequest) (*GetAppQRCodeResponse, error)
GetAppQRCode
type GetAppQRCodeResponsedata ¶
type GetAppQRCodeResponsedata []byte
type GetAppSupportVerRequest ¶
type GetAppSupportVerRequest struct {
AccessToken string // 授权小程序的接口调用凭据
}
GetAppSupportVerRequest 请求结构体
type GetAppSupportVerResponse ¶
type GetAppSupportVerResponse struct { Data GetAppSupportVerResponsedata `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type GetAppSupportVerResponsedata ¶
type GetAppSupportVerResponsedata struct { Items []GetAppSupportVerResponsedataitemsItem `json:"items"` // 版本号列表 NowVersion string `json:"now_version"` // 当前版本 }
func GetAppSupportVer ¶
func GetAppSupportVer(params *GetAppSupportVerRequest) (*GetAppSupportVerResponsedata, error)
GetAppSupportVer
type GetAppSupportVerResponsedataitemsItem ¶
type GetAppSupportVerResponsedataitemsItem struct {
Version string `json:"version"` //
}
type PauseAppRequest ¶
type PauseAppRequest struct {
AccessToken string // 授权小程序的接口调用凭据
}
PauseAppRequest 请求结构体
type PauseAppResponse ¶
type PauseAppResponse struct { Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 Data PauseAppResponsedata }
type PauseAppResponsedata ¶
type ResumeAppRequest ¶
type ResumeAppRequest struct {
AccessToken string // 授权小程序的接口调用凭据
}
ResumeAppRequest 请求结构体
type ResumeAppResponse ¶
type ResumeAppResponse struct { Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 Data ResumeAppResponsedata }
type ResumeAppResponsedata ¶
type SetAppCategoryRequest ¶
SetAppCategoryRequest 请求结构体
type SetAppCategoryResponse ¶
type SetAppCategoryResponse struct { Data SetAppCategoryResponsedata `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type SetAppCategoryResponsedata ¶
type SetAppCategoryResponsedata struct {
ExamineID int64 `json:"examine_id"` //
}
func SetAppCategory ¶
func SetAppCategory(params *SetAppCategoryRequest) (*SetAppCategoryResponsedata, error)
SetAppCategory
type SetAppDomainRequest ¶
type SetAppDomainRequest struct { AccessToken string // 授权小程序的接口调用凭据 Action interface{} // add添加, delete删除, set覆盖, get获取。当参数是get时不需要填四个域名字段,如果没有action字段参数,则默认将开放平台第三方登记的小程序业务域名全部添加到授权的小程序中。 DownloadDomain interface{} // download合法域名,多个时用,分割,当action参数是get时不需要此字段 RequestDomain interface{} // request合法域名,多个时用,分割,当action参数是get时不需要此字段。 SocketDomain interface{} // socket合法域名,多个时用,分割,当action参数是get时不需要此字段。 UploadDomain interface{} // upload合法域名,多个时用,分割,当action参数是get时不需要此字段。 }
SetAppDomainRequest 请求结构体
type SetAppDomainResponse ¶
type SetAppDomainResponse struct { Data SetAppDomainResponsedata `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type SetAppDomainResponsedata ¶
type SetAppDomainResponsedata struct { DownloadDomain string `json:"download_domain"` // download合法域名 RequestDomain string `json:"request_domain"` // request合法域名 SocketDomain string `json:"socket_domain"` // socket合法域名 UploadDomain string `json:"upload_domain"` // upload合法域名 }
func SetAppDomain ¶
func SetAppDomain(params *SetAppDomainRequest) (*SetAppDomainResponsedata, error)
SetAppDomain
type SetAppImageRequest ¶
type SetAppImageRequest struct { AccessToken string // 授权小程序的接口调用凭据 ImageURL string // 小程序icon地址,可以通过图片上传接口获取icon的url。 }
SetAppImageRequest 请求结构体
type SetAppImageResponse ¶
type SetAppImageResponse struct { Data SetAppImageResponsedata `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type SetAppImageResponsedata ¶
type SetAppImageResponsedata struct { }
func SetAppImage ¶
func SetAppImage(params *SetAppImageRequest) (*SetAppImageResponsedata, error)
SetAppImage
type SetAppNickNameRequest ¶
type SetAppNickNameRequest struct { AccessToken string // 授权小程序的接口调用凭据 NickName string // 小程序名字 QualMaterials interface{} // 如果小程序名称包含品牌词,需要上传品牌资质证明。要求图片链接来自于图片上传接口返回的 url。 }
SetAppNickNameRequest 请求结构体
type SetAppNickNameResponse ¶
type SetAppNickNameResponse struct { Data []SetAppNickNameResponsedataItem `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type SetAppNickNameResponsedataItem ¶
type SetAppNickNameResponsedataItem struct {
ExamineID int64 `json:"examine_id"` //
}
func SetAppNickName ¶
func SetAppNickName(params *SetAppNickNameRequest) ([]SetAppNickNameResponsedataItem, error)
SetAppNickName
type SetAppSignatureRequest ¶
type SetAppSignatureRequest struct { AccessToken string // 授权小程序的接口调用凭据 Signature string // 功能介绍(简介) 简介字数要求 10-56 个字符之间 (一个中文算两个字符) }
SetAppSignatureRequest 请求结构体
type SetAppSignatureResponse ¶
type SetAppSignatureResponse struct { Data SetAppSignatureResponsedata `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type SetAppSignatureResponsedata ¶
type SetAppSignatureResponsedata struct { }
func SetAppSignature ¶
func SetAppSignature(params *SetAppSignatureRequest) (*SetAppSignatureResponsedata, error)
SetAppSignature
type SetAppWebViewDomainRequest ¶
type SetAppWebViewDomainRequest struct { AccessToken string // 授权小程序的接口调用凭据 Action interface{} // add 添加, delete 删除, set 覆盖, get 获取。当参数是 get 时不需要填四个域名字段,如果没有 action 字段参数,则默认将开放平台第三方登记的业务域名全部添加到授权的小程序中。 WebViewDomain interface{} // 小程序业务域名,多个时用,分割,当 action 参数是 get 时不需要此字段 }
SetAppWebViewDomainRequest 请求结构体
Click to show internal directories.
Click to hide internal directories.