Documentation ¶
Index ¶
- func ModifyBusinessDomain(params *ModifyBusinessDomainRequest) ([]string, error)
- type DownloadDomainCheckFileRequest
- type DownloadDomainCheckFileResponse
- type DownloadDomainCheckFileResponsedata
- type ModifyBusinessDomainRequest
- type ModifyBusinessDomainResponse
- type ModifyServerDomainRequest
- type ModifyServerDomainResponse
- type ModifyServerDomainResponsedata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModifyBusinessDomain ¶
func ModifyBusinessDomain(params *ModifyBusinessDomainRequest) ([]string, error)
ModifyBusinessDomain
Types ¶
type DownloadDomainCheckFileRequest ¶
type DownloadDomainCheckFileRequest struct {
AccessToken string // 第三方平台的接口调用凭据
}
DownloadDomainCheckFileRequest 请求结构体
type DownloadDomainCheckFileResponse ¶
type DownloadDomainCheckFileResponse struct { ContentType string Data DownloadDomainCheckFileResponsedata ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
func DownloadDomainCheckFile ¶
func DownloadDomainCheckFile(params *DownloadDomainCheckFileRequest) (*DownloadDomainCheckFileResponse, error)
DownloadDomainCheckFile
type DownloadDomainCheckFileResponsedata ¶
type DownloadDomainCheckFileResponsedata []byte
type ModifyBusinessDomainRequest ¶
type ModifyBusinessDomainRequest struct { AccessToken string // 第三方平台的接口调用凭据 Action interface{} // add添加, delete删除, set覆盖, get获取。当参数是get时不需要填四个域名字段,如果没有action字段参数,则默认将开放平台第三方登记的小程序业务域名全部添加到授权的小程序中。 WebViewDomain interface{} // 小程序业务域名,多个时用,分割,当action参数是get时不需要此字段 }
ModifyBusinessDomainRequest 请求结构体
type ModifyServerDomainRequest ¶
type ModifyServerDomainRequest struct { AccessToken string // 第三方平台的接口调用凭据 Action string // 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时不需要此字段。 }
ModifyServerDomainRequest 请求结构体
type ModifyServerDomainResponse ¶
type ModifyServerDomainResponse struct { Data ModifyServerDomainResponsedata `json:"data"` // 响应参数 Errno int64 `json:"errno"` // 状态码 ErrMsg string `json:"msg"` // 错误信息 ErrorCode int64 `json:"error_code"` // openapi 错误码 ErrorMsg string `json:"error_msg"` // openapi 错误信息 }
type ModifyServerDomainResponsedata ¶
type ModifyServerDomainResponsedata 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 ModifyServerDomain ¶
func ModifyServerDomain(params *ModifyServerDomainRequest) (*ModifyServerDomainResponsedata, error)
ModifyServerDomain
Click to show internal directories.
Click to hide internal directories.