Documentation ¶
Overview ¶
Package sungari 包含平台治理API相关结构体
Index ¶
- type DisposeInfoDo
- type DisposeResultVo
- type InspectionResultInfo
- type TaobaoCloudbridgeCaseinvestExecuteAPIRequest
- func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiMethodName() string
- func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiName() string
- func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiParams() url.Values
- func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetData() string
- func (r *TaobaoCloudbridgeCaseinvestExecuteAPIRequest) SetApiName(_apiName string) error
- func (r *TaobaoCloudbridgeCaseinvestExecuteAPIRequest) SetData(_data string) error
- type TaobaoCloudbridgeCaseinvestExecuteAPIResponse
- type TaobaoCloudbridgeCaseinvestExecuteAPIResponseModel
- type TaobaoCloudbridgeCaseinvestExecuteResult
- type TaobaoSungariDisposeQueryAPIRequest
- type TaobaoSungariDisposeQueryAPIResponse
- type TaobaoSungariDisposeQueryAPIResponseModel
- type TaobaoSungariDisposeQueryResult
- type TaobaoSungariDisposeSubmitAPIRequest
- type TaobaoSungariDisposeSubmitAPIResponse
- type TaobaoSungariDisposeSubmitAPIResponseModel
- type TaobaoSungariInspectionSubmitAPIRequest
- func (r TaobaoSungariInspectionSubmitAPIRequest) GetApiMethodName() string
- func (r TaobaoSungariInspectionSubmitAPIRequest) GetApiParams() url.Values
- func (r TaobaoSungariInspectionSubmitAPIRequest) GetData() string
- func (r TaobaoSungariInspectionSubmitAPIRequest) GetMethodName() string
- func (r *TaobaoSungariInspectionSubmitAPIRequest) SetData(_data string) error
- func (r *TaobaoSungariInspectionSubmitAPIRequest) SetMethodName(_methodName string) error
- type TaobaoSungariInspectionSubmitAPIResponse
- type TaobaoSungariInspectionSubmitAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisposeInfoDo ¶
type DisposeInfoDo struct { // 抽检报告编号 CheckNumber string `json:"check_number,omitempty" xml:"check_number,omitempty"` // 处置函单位名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 处置函录入时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 处置对象内容 DisposeContent string `json:"dispose_content,omitempty" xml:"dispose_content,omitempty"` // 处置函件文号 DocName string `json:"doc_name,omitempty" xml:"doc_name,omitempty"` // 资质证件号(执照) LicenceNo string `json:"licence_no,omitempty" xml:"licence_no,omitempty"` // 处置函联系人 LinkMan string `json:"link_man,omitempty" xml:"link_man,omitempty"` // 处置函件Oss中的key OssKey string `json:"oss_key,omitempty" xml:"oss_key,omitempty"` // 处置函联系人电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 处置原因 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 备注信息 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 原始函单位地址 SourceAddress string `json:"source_address,omitempty" xml:"source_address,omitempty"` // 原始函单位名称 SourceCompanyName string `json:"source_company_name,omitempty" xml:"source_company_name,omitempty"` // 原始函联系人 SourceLinkMan string `json:"source_link_man,omitempty" xml:"source_link_man,omitempty"` // 原始函件Oss中的key SourceOssKey string `json:"source_oss_key,omitempty" xml:"source_oss_key,omitempty"` // 原始函联系人电话 SourcePhone string `json:"source_phone,omitempty" xml:"source_phone,omitempty"` // 原始函单位邮编 SourcePostCode string `json:"source_post_code,omitempty" xml:"source_post_code,omitempty"` // 原始函接收时间 SourceTime string `json:"source_time,omitempty" xml:"source_time,omitempty"` // 函件url链接 OssKeyUrl string `json:"oss_key_url,omitempty" xml:"oss_key_url,omitempty"` // 原始函链接 SourceOssKeyUrl string `json:"source_oss_key_url,omitempty" xml:"source_oss_key_url,omitempty"` // 处置类型,1:商品处置 2:经营者处置 ApiType int64 `json:"api_type,omitempty" xml:"api_type,omitempty"` // 处置对象类型,1:订单号 2:商品ID 3:商家会员账号 4:全网排查关键字 DisposeType int64 `json:"dispose_type,omitempty" xml:"dispose_type,omitempty"` // 处置函件接收平台,1:淘宝 2:天猫 3:1688 PlatformType int64 `json:"platform_type,omitempty" xml:"platform_type,omitempty"` }
DisposeInfoDo 结构体
type DisposeResultVo ¶
type DisposeResultVo struct { // 完成时间 FinishTime string `json:"finish_time,omitempty" xml:"finish_time,omitempty"` // 结果描述 Result string `json:"result,omitempty" xml:"result,omitempty"` // 状态描述 Status string `json:"status,omitempty" xml:"status,omitempty"` // 回复函保存的ossKey,需要自行下载 ReplyKey string `json:"reply_key,omitempty" xml:"reply_key,omitempty"` // 创建人 CreatePerson string `json:"create_person,omitempty" xml:"create_person,omitempty"` // id Id string `json:"id,omitempty" xml:"id,omitempty"` // 回复函链接 ReplyUrl string `json:"reply_url,omitempty" xml:"reply_url,omitempty"` }
DisposeResultVo 结构体
type InspectionResultInfo ¶
type InspectionResultInfo struct { // 卖家nick SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 发货地址 SendAddress string `json:"send_address,omitempty" xml:"send_address,omitempty"` // 注册地址 RegisterAddress string `json:"register_address,omitempty" xml:"register_address,omitempty"` // 营业执照编号 LicenceNo string `json:"licence_no,omitempty" xml:"licence_no,omitempty"` // 卖家电话 SellerTel string `json:"seller_tel,omitempty" xml:"seller_tel,omitempty"` // 认证名称 CertificationName string `json:"certification_name,omitempty" xml:"certification_name,omitempty"` // 处置结果 DisposeResult string `json:"dispose_result,omitempty" xml:"dispose_result,omitempty"` }
InspectionResultInfo 结构体
type TaobaoCloudbridgeCaseinvestExecuteAPIRequest ¶ added in v1.2.0
type TaobaoCloudbridgeCaseinvestExecuteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoCloudbridgeCaseinvestExecuteAPIRequest 红盾云桥案件协查服务 API请求 taobao.cloudbridge.caseinvest.execute
通过API接口直接提供政府部门录入及查询函件服务
func NewTaobaoCloudbridgeCaseinvestExecuteRequest ¶
func NewTaobaoCloudbridgeCaseinvestExecuteRequest() *TaobaoCloudbridgeCaseinvestExecuteAPIRequest
NewTaobaoCloudbridgeCaseinvestExecuteRequest 初始化TaobaoCloudbridgeCaseinvestExecuteAPIRequest对象
func (TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiName ¶ added in v1.2.0
func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiName() string
GetApiName ApiName Getter
func (TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetData ¶ added in v1.2.0
func (r TaobaoCloudbridgeCaseinvestExecuteAPIRequest) GetData() string
GetData Data Getter
func (*TaobaoCloudbridgeCaseinvestExecuteAPIRequest) SetApiName ¶ added in v1.2.0
func (r *TaobaoCloudbridgeCaseinvestExecuteAPIRequest) SetApiName(_apiName string) error
SetApiName is ApiName Setter 方法名称
func (*TaobaoCloudbridgeCaseinvestExecuteAPIRequest) SetData ¶ added in v1.2.0
func (r *TaobaoCloudbridgeCaseinvestExecuteAPIRequest) SetData(_data string) error
SetData is Data Setter 方法参数
type TaobaoCloudbridgeCaseinvestExecuteAPIResponse ¶
type TaobaoCloudbridgeCaseinvestExecuteAPIResponse struct { model.CommonResponse TaobaoCloudbridgeCaseinvestExecuteAPIResponseModel }
TaobaoCloudbridgeCaseinvestExecuteAPIResponse 红盾云桥案件协查服务 API返回值 taobao.cloudbridge.caseinvest.execute
通过API接口直接提供政府部门录入及查询函件服务
type TaobaoCloudbridgeCaseinvestExecuteAPIResponseModel ¶ added in v1.2.0
type TaobaoCloudbridgeCaseinvestExecuteAPIResponseModel struct { XMLName xml.Name `xml:"cloudbridge_caseinvest_execute_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoCloudbridgeCaseinvestExecuteResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoCloudbridgeCaseinvestExecuteAPIResponseModel is 红盾云桥案件协查服务 成功返回结果
type TaobaoCloudbridgeCaseinvestExecuteResult ¶
type TaobaoCloudbridgeCaseinvestExecuteResult struct { // data值,JSON数据,可转换成对应的结果 Data string `json:"data,omitempty" xml:"data,omitempty"` // 说明 Message string `json:"message,omitempty" xml:"message,omitempty"` // 接口调用是否成功,1:成功;2:失败 Code int64 `json:"code,omitempty" xml:"code,omitempty"` }
TaobaoCloudbridgeCaseinvestExecuteResult 结构体
type TaobaoSungariDisposeQueryAPIRequest ¶ added in v1.2.0
type TaobaoSungariDisposeQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSungariDisposeQueryAPIRequest 商品商家处置结果查询 API请求 taobao.sungari.dispose.query
红盾云桥同政府合作,将线下寄函的商品商家处置转为线上处理
func NewTaobaoSungariDisposeQueryRequest ¶
func NewTaobaoSungariDisposeQueryRequest() *TaobaoSungariDisposeQueryAPIRequest
NewTaobaoSungariDisposeQueryRequest 初始化TaobaoSungariDisposeQueryAPIRequest对象
func (TaobaoSungariDisposeQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSungariDisposeQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSungariDisposeQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSungariDisposeQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSungariDisposeQueryAPIRequest) GetParamList ¶ added in v1.2.0
func (r TaobaoSungariDisposeQueryAPIRequest) GetParamList() []string
GetParamList ParamList Getter
func (*TaobaoSungariDisposeQueryAPIRequest) SetParamList ¶ added in v1.2.0
func (r *TaobaoSungariDisposeQueryAPIRequest) SetParamList(_paramList []string) error
SetParamList is ParamList Setter 查询的key列表
type TaobaoSungariDisposeQueryAPIResponse ¶
type TaobaoSungariDisposeQueryAPIResponse struct { model.CommonResponse TaobaoSungariDisposeQueryAPIResponseModel }
TaobaoSungariDisposeQueryAPIResponse 商品商家处置结果查询 API返回值 taobao.sungari.dispose.query
红盾云桥同政府合作,将线下寄函的商品商家处置转为线上处理
type TaobaoSungariDisposeQueryAPIResponseModel ¶ added in v1.2.0
type TaobaoSungariDisposeQueryAPIResponseModel struct { XMLName xml.Name `xml:"sungari_dispose_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoSungariDisposeQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoSungariDisposeQueryAPIResponseModel is 商品商家处置结果查询 成功返回结果
type TaobaoSungariDisposeQueryResult ¶
type TaobaoSungariDisposeQueryResult struct { // data List []DisposeResultVo `json:"list,omitempty" xml:"list>dispose_result_vo,omitempty"` // 提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 服务是否调用成功,1:成功 2:失败 11:重复提交 其他:失败 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaoSungariDisposeQueryResult 结构体
type TaobaoSungariDisposeSubmitAPIRequest ¶ added in v1.2.0
type TaobaoSungariDisposeSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSungariDisposeSubmitAPIRequest 商品商家处置提交任务 API请求 taobao.sungari.dispose.submit
商品商家处置信息接口,提供政府部门发送处置信息给阿里
func NewTaobaoSungariDisposeSubmitRequest ¶
func NewTaobaoSungariDisposeSubmitRequest() *TaobaoSungariDisposeSubmitAPIRequest
NewTaobaoSungariDisposeSubmitRequest 初始化TaobaoSungariDisposeSubmitAPIRequest对象
func (TaobaoSungariDisposeSubmitAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSungariDisposeSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSungariDisposeSubmitAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSungariDisposeSubmitAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSungariDisposeSubmitAPIRequest) GetInfo ¶ added in v1.2.0
func (r TaobaoSungariDisposeSubmitAPIRequest) GetInfo() *DisposeInfoDo
GetInfo Info Getter
func (*TaobaoSungariDisposeSubmitAPIRequest) SetInfo ¶ added in v1.2.0
func (r *TaobaoSungariDisposeSubmitAPIRequest) SetInfo(_info *DisposeInfoDo) error
SetInfo is Info Setter 平台处置信息入参
type TaobaoSungariDisposeSubmitAPIResponse ¶
type TaobaoSungariDisposeSubmitAPIResponse struct { model.CommonResponse TaobaoSungariDisposeSubmitAPIResponseModel }
TaobaoSungariDisposeSubmitAPIResponse 商品商家处置提交任务 API返回值 taobao.sungari.dispose.submit
商品商家处置信息接口,提供政府部门发送处置信息给阿里
type TaobaoSungariDisposeSubmitAPIResponseModel ¶ added in v1.2.0
type TaobaoSungariDisposeSubmitAPIResponseModel struct { XMLName xml.Name `xml:"sungari_dispose_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回的ID Data string `json:"data,omitempty" xml:"data,omitempty"` // 提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 服务是否调用成功,1:成功 2:失败 11:重复提交 其他:失败 ResuleCode int64 `json:"resule_code,omitempty" xml:"resule_code,omitempty"` }
TaobaoSungariDisposeSubmitAPIResponseModel is 商品商家处置提交任务 成功返回结果
type TaobaoSungariInspectionSubmitAPIRequest ¶ added in v1.2.0
type TaobaoSungariInspectionSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSungariInspectionSubmitAPIRequest 抽检指令录入 API请求 taobao.sungari.inspection.submit
抽检指令录入
func NewTaobaoSungariInspectionSubmitRequest ¶
func NewTaobaoSungariInspectionSubmitRequest() *TaobaoSungariInspectionSubmitAPIRequest
NewTaobaoSungariInspectionSubmitRequest 初始化TaobaoSungariInspectionSubmitAPIRequest对象
func (TaobaoSungariInspectionSubmitAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSungariInspectionSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSungariInspectionSubmitAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSungariInspectionSubmitAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSungariInspectionSubmitAPIRequest) GetData ¶ added in v1.2.0
func (r TaobaoSungariInspectionSubmitAPIRequest) GetData() string
GetData Data Getter
func (TaobaoSungariInspectionSubmitAPIRequest) GetMethodName ¶ added in v1.2.0
func (r TaobaoSungariInspectionSubmitAPIRequest) GetMethodName() string
GetMethodName MethodName Getter
func (*TaobaoSungariInspectionSubmitAPIRequest) SetData ¶ added in v1.2.0
func (r *TaobaoSungariInspectionSubmitAPIRequest) SetData(_data string) error
SetData is Data Setter 抽检入参
func (*TaobaoSungariInspectionSubmitAPIRequest) SetMethodName ¶ added in v1.2.0
func (r *TaobaoSungariInspectionSubmitAPIRequest) SetMethodName(_methodName string) error
SetMethodName is MethodName Setter 操作类型
type TaobaoSungariInspectionSubmitAPIResponse ¶
type TaobaoSungariInspectionSubmitAPIResponse struct { model.CommonResponse TaobaoSungariInspectionSubmitAPIResponseModel }
TaobaoSungariInspectionSubmitAPIResponse 抽检指令录入 API返回值 taobao.sungari.inspection.submit
抽检指令录入
type TaobaoSungariInspectionSubmitAPIResponseModel ¶ added in v1.2.0
type TaobaoSungariInspectionSubmitAPIResponseModel struct { XMLName xml.Name `xml:"sungari_inspection_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 状态码 ReturnCode int64 `json:"return_code,omitempty" xml:"return_code,omitempty"` // 是否成功 Data *InspectionResultInfo `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoSungariInspectionSubmitAPIResponseModel is 抽检指令录入 成功返回结果
Source Files ¶
- DisposeInfoDo.go
- DisposeResultVo.go
- InspectionResultInfo.go
- TaobaoCloudbridgeCaseinvestExecuteAPIRequest.go
- TaobaoCloudbridgeCaseinvestExecuteAPIResponse.go
- TaobaoCloudbridgeCaseinvestExecuteResult.go
- TaobaoSungariDisposeQueryAPIRequest.go
- TaobaoSungariDisposeQueryAPIResponse.go
- TaobaoSungariDisposeQueryResult.go
- TaobaoSungariDisposeSubmitAPIRequest.go
- TaobaoSungariDisposeSubmitAPIResponse.go
- TaobaoSungariInspectionSubmitAPIRequest.go
- TaobaoSungariInspectionSubmitAPIResponse.go
- doc.go