Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) CreateWeappQRUrl(request *CreateWeappQRUrlRequest) (response *CreateWeappQRUrlResponse, err error)
- func (c *Client) CreateWeappQRUrlWithContext(ctx context.Context, request *CreateWeappQRUrlRequest) (response *CreateWeappQRUrlResponse, err error)
- func (c *Client) DescribeGetAuthInfo(request *DescribeGetAuthInfoRequest) (response *DescribeGetAuthInfoResponse, err error)
- func (c *Client) DescribeGetAuthInfoWithContext(ctx context.Context, request *DescribeGetAuthInfoRequest) (response *DescribeGetAuthInfoResponse, err error)
- func (c *Client) SyncIcpOrderWebInfo(request *SyncIcpOrderWebInfoRequest) (response *SyncIcpOrderWebInfoResponse, err error)
- func (c *Client) SyncIcpOrderWebInfoWithContext(ctx context.Context, request *SyncIcpOrderWebInfoRequest) (response *SyncIcpOrderWebInfoResponse, err error)
- type CreateWeappQRUrlRequest
- type CreateWeappQRUrlRequestParams
- type CreateWeappQRUrlResponse
- type CreateWeappQRUrlResponseParams
- type DescribeGetAuthInfoRequest
- type DescribeGetAuthInfoRequestParams
- type DescribeGetAuthInfoResponse
- type DescribeGetAuthInfoResponseParams
- type SyncIcpOrderWebInfoRequest
- type SyncIcpOrderWebInfoRequestParams
- type SyncIcpOrderWebInfoResponse
- type SyncIcpOrderWebInfoResponseParams
Constants ¶
const ( // 内部错误。 INTERNALERROR = "InternalError" // 资源未找到。 INTERNALERROR_RESOURCENOTFOUND = "InternalError.ResourceNotFound" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" )
const APIVersion = "2020-07-20"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateWeappQRUrl ¶
func (c *Client) CreateWeappQRUrl(request *CreateWeappQRUrlRequest) (response *CreateWeappQRUrlResponse, err error)
CreateWeappQRUrl 创建渠道备案小程序二维码
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateWeappQRUrlWithContext ¶ added in v1.0.324
func (c *Client) CreateWeappQRUrlWithContext(ctx context.Context, request *CreateWeappQRUrlRequest) (response *CreateWeappQRUrlResponse, err error)
CreateWeappQRUrl 创建渠道备案小程序二维码
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeGetAuthInfo ¶ added in v1.0.218
func (c *Client) DescribeGetAuthInfo(request *DescribeGetAuthInfoRequest) (response *DescribeGetAuthInfoResponse, err error)
DescribeGetAuthInfo 获取实名认证信息
可能返回的错误码:
INTERNALERROR_RESOURCENOTFOUND = "InternalError.ResourceNotFound" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeGetAuthInfoWithContext ¶ added in v1.0.324
func (c *Client) DescribeGetAuthInfoWithContext(ctx context.Context, request *DescribeGetAuthInfoRequest) (response *DescribeGetAuthInfoResponse, err error)
DescribeGetAuthInfo 获取实名认证信息
可能返回的错误码:
INTERNALERROR_RESOURCENOTFOUND = "InternalError.ResourceNotFound" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) SyncIcpOrderWebInfo ¶ added in v1.0.212
func (c *Client) SyncIcpOrderWebInfo(request *SyncIcpOrderWebInfoRequest) (response *SyncIcpOrderWebInfoResponse, err error)
SyncIcpOrderWebInfo 将备案ICP订单下的一个网站信息 同步给订单下其他网站,需要被同步的网站被检查通过(isCheck:true);
只有指定的网站信息字段能被同步
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SyncIcpOrderWebInfoWithContext ¶ added in v1.0.324
func (c *Client) SyncIcpOrderWebInfoWithContext(ctx context.Context, request *SyncIcpOrderWebInfoRequest) (response *SyncIcpOrderWebInfoResponse, err error)
SyncIcpOrderWebInfo 将备案ICP订单下的一个网站信息 同步给订单下其他网站,需要被同步的网站被检查通过(isCheck:true);
只有指定的网站信息字段能被同步
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
type CreateWeappQRUrlRequest ¶
type CreateWeappQRUrlRequest struct { *tchttp.BaseRequest // 代理角色临时密钥的Token SessionKey *string `json:"SessionKey,omitnil,omitempty" name:"SessionKey"` }
func NewCreateWeappQRUrlRequest ¶
func NewCreateWeappQRUrlRequest() (request *CreateWeappQRUrlRequest)
func (*CreateWeappQRUrlRequest) FromJsonString ¶
func (r *CreateWeappQRUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWeappQRUrlRequest) ToJsonString ¶
func (r *CreateWeappQRUrlRequest) ToJsonString() string
type CreateWeappQRUrlRequestParams ¶ added in v1.0.426
type CreateWeappQRUrlRequestParams struct { // 代理角色临时密钥的Token SessionKey *string `json:"SessionKey,omitnil,omitempty" name:"SessionKey"` }
Predefined struct for user
type CreateWeappQRUrlResponse ¶
type CreateWeappQRUrlResponse struct { *tchttp.BaseResponse Response *CreateWeappQRUrlResponseParams `json:"Response"` }
func NewCreateWeappQRUrlResponse ¶
func NewCreateWeappQRUrlResponse() (response *CreateWeappQRUrlResponse)
func (*CreateWeappQRUrlResponse) FromJsonString ¶
func (r *CreateWeappQRUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWeappQRUrlResponse) ToJsonString ¶
func (r *CreateWeappQRUrlResponse) ToJsonString() string
type CreateWeappQRUrlResponseParams ¶ added in v1.0.426
type CreateWeappQRUrlResponseParams struct { // 渠道备案小程序二维码 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGetAuthInfoRequest ¶ added in v1.0.218
type DescribeGetAuthInfoRequest struct {
*tchttp.BaseRequest
}
func NewDescribeGetAuthInfoRequest ¶ added in v1.0.218
func NewDescribeGetAuthInfoRequest() (request *DescribeGetAuthInfoRequest)
func (*DescribeGetAuthInfoRequest) FromJsonString ¶ added in v1.0.218
func (r *DescribeGetAuthInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGetAuthInfoRequest) ToJsonString ¶ added in v1.0.218
func (r *DescribeGetAuthInfoRequest) ToJsonString() string
type DescribeGetAuthInfoRequestParams ¶ added in v1.0.426
type DescribeGetAuthInfoRequestParams struct { }
Predefined struct for user
type DescribeGetAuthInfoResponse ¶ added in v1.0.218
type DescribeGetAuthInfoResponse struct { *tchttp.BaseResponse Response *DescribeGetAuthInfoResponseParams `json:"Response"` }
func NewDescribeGetAuthInfoResponse ¶ added in v1.0.218
func NewDescribeGetAuthInfoResponse() (response *DescribeGetAuthInfoResponse)
func (*DescribeGetAuthInfoResponse) FromJsonString ¶ added in v1.0.218
func (r *DescribeGetAuthInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGetAuthInfoResponse) ToJsonString ¶ added in v1.0.218
func (r *DescribeGetAuthInfoResponse) ToJsonString() string
type DescribeGetAuthInfoResponseParams ¶ added in v1.0.426
type DescribeGetAuthInfoResponseParams struct { // 实名认证状态:0未实名,1已实名 IsTenPayMasked *string `json:"IsTenPayMasked,omitnil,omitempty" name:"IsTenPayMasked"` // 实名认证类型:0个人,1企业 IsAuthenticated *string `json:"IsAuthenticated,omitnil,omitempty" name:"IsAuthenticated"` // 认证类型,个人0,企业1 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 大客户标识: // 1004、1003、1002、1001 // // 其余为普通的用户 Level *string `json:"Level,omitnil,omitempty" name:"Level"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SyncIcpOrderWebInfoRequest ¶ added in v1.0.212
type SyncIcpOrderWebInfoRequest struct { *tchttp.BaseRequest // 备案ICP订单号 IcpOrderId *string `json:"IcpOrderId,omitnil,omitempty" name:"IcpOrderId"` // 订单里的webId SourceWebId *string `json:"SourceWebId,omitnil,omitempty" name:"SourceWebId"` // 订单里的webId 数组(如果传入的webIds含有 订单中不包含的webId,会自动跳过) TargetWebIds []*string `json:"TargetWebIds,omitnil,omitempty" name:"TargetWebIds"` // 网站信息字段名 数组 SyncFields []*string `json:"SyncFields,omitnil,omitempty" name:"SyncFields"` // 是否先判断同步的网站负责人是否一致 (这里会判断 sitePersonName, sitePersonCerType,sitePersonCerNum三个字段完全一致) 默认:true. 非必要 不建议关闭修改该参数默认值 CheckSamePerson *bool `json:"CheckSamePerson,omitnil,omitempty" name:"CheckSamePerson"` }
func NewSyncIcpOrderWebInfoRequest ¶ added in v1.0.212
func NewSyncIcpOrderWebInfoRequest() (request *SyncIcpOrderWebInfoRequest)
func (*SyncIcpOrderWebInfoRequest) FromJsonString ¶ added in v1.0.212
func (r *SyncIcpOrderWebInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SyncIcpOrderWebInfoRequest) ToJsonString ¶ added in v1.0.212
func (r *SyncIcpOrderWebInfoRequest) ToJsonString() string
type SyncIcpOrderWebInfoRequestParams ¶ added in v1.0.426
type SyncIcpOrderWebInfoRequestParams struct { // 备案ICP订单号 IcpOrderId *string `json:"IcpOrderId,omitnil,omitempty" name:"IcpOrderId"` // 订单里的webId SourceWebId *string `json:"SourceWebId,omitnil,omitempty" name:"SourceWebId"` // 订单里的webId 数组(如果传入的webIds含有 订单中不包含的webId,会自动跳过) TargetWebIds []*string `json:"TargetWebIds,omitnil,omitempty" name:"TargetWebIds"` // 网站信息字段名 数组 SyncFields []*string `json:"SyncFields,omitnil,omitempty" name:"SyncFields"` // 是否先判断同步的网站负责人是否一致 (这里会判断 sitePersonName, sitePersonCerType,sitePersonCerNum三个字段完全一致) 默认:true. 非必要 不建议关闭修改该参数默认值 CheckSamePerson *bool `json:"CheckSamePerson,omitnil,omitempty" name:"CheckSamePerson"` }
Predefined struct for user
type SyncIcpOrderWebInfoResponse ¶ added in v1.0.212
type SyncIcpOrderWebInfoResponse struct { *tchttp.BaseResponse Response *SyncIcpOrderWebInfoResponseParams `json:"Response"` }
func NewSyncIcpOrderWebInfoResponse ¶ added in v1.0.212
func NewSyncIcpOrderWebInfoResponse() (response *SyncIcpOrderWebInfoResponse)
func (*SyncIcpOrderWebInfoResponse) FromJsonString ¶ added in v1.0.212
func (r *SyncIcpOrderWebInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SyncIcpOrderWebInfoResponse) ToJsonString ¶ added in v1.0.212
func (r *SyncIcpOrderWebInfoResponse) ToJsonString() string
type SyncIcpOrderWebInfoResponseParams ¶ added in v1.0.426
type SyncIcpOrderWebInfoResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user