nrt

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package nrt 包含零售终端API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=42299

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaretaildevicevendingregisterAPIRequest added in v1.3.1

type AlibabaretaildevicevendingregisterAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaretaildevicevendingregisterAPIRequest 贩卖机设备注册 API请求 alibaba.retail.device.vending.register

贩卖机注册

func NewAlibabaretaildevicevendingregisterRequest added in v1.3.1

func NewAlibabaretaildevicevendingregisterRequest() *AlibabaretaildevicevendingregisterAPIRequest

NewAlibabaretaildevicevendingregisterRequest 初始化AlibabaretaildevicevendingregisterAPIRequest对象

func (AlibabaretaildevicevendingregisterAPIRequest) GetAddress added in v1.3.1

GetAddress Address Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaretaildevicevendingregisterAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaretaildevicevendingregisterAPIRequest) GetBizCode added in v1.3.1

GetBizCode BizCode Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetDeviceModel added in v1.3.1

GetDeviceModel DeviceModel Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetDeviceName added in v1.3.1

GetDeviceName DeviceName Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetDeviceSn added in v1.3.1

GetDeviceSn DeviceSn Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetDeviceUuid added in v1.3.1

GetDeviceUuid DeviceUuid Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetFloor added in v1.3.1

GetFloor Floor Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetLayer added in v1.3.1

GetLayer Layer Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetLocation added in v1.3.1

GetLocation Location Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaretaildevicevendingregisterAPIRequest) GetScene added in v1.3.1

GetScene Scene Getter

func (AlibabaretaildevicevendingregisterAPIRequest) GetSiteName added in v1.3.1

GetSiteName SiteName Getter

func (*AlibabaretaildevicevendingregisterAPIRequest) SetAddress added in v1.3.1

SetAddress is Address Setter 设备地址

func (*AlibabaretaildevicevendingregisterAPIRequest) SetBizCode added in v1.3.1

SetBizCode is BizCode Setter 业务编码,联系对接人申请

func (*AlibabaretaildevicevendingregisterAPIRequest) SetDeviceModel added in v1.3.1

func (r *AlibabaretaildevicevendingregisterAPIRequest) SetDeviceModel(_deviceModel string) error

SetDeviceModel is DeviceModel Setter 设备类型

func (*AlibabaretaildevicevendingregisterAPIRequest) SetDeviceName added in v1.3.1

func (r *AlibabaretaildevicevendingregisterAPIRequest) SetDeviceName(_deviceName string) error

SetDeviceName is DeviceName Setter 设备名称

func (*AlibabaretaildevicevendingregisterAPIRequest) SetDeviceSn added in v1.3.1

func (r *AlibabaretaildevicevendingregisterAPIRequest) SetDeviceSn(_deviceSn string) error

SetDeviceSn is DeviceSn Setter 对接过阿里atm传入

func (*AlibabaretaildevicevendingregisterAPIRequest) SetDeviceUuid added in v1.3.1

func (r *AlibabaretaildevicevendingregisterAPIRequest) SetDeviceUuid(_deviceUuid string) error

SetDeviceUuid is DeviceUuid Setter 外部设备编号

func (*AlibabaretaildevicevendingregisterAPIRequest) SetFloor added in v1.3.1

SetFloor is Floor Setter 楼栋信息。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

func (*AlibabaretaildevicevendingregisterAPIRequest) SetLayer added in v1.3.1

SetLayer is Layer Setter 层。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

func (*AlibabaretaildevicevendingregisterAPIRequest) SetLocation added in v1.3.1

func (r *AlibabaretaildevicevendingregisterAPIRequest) SetLocation(_location string) error

SetLocation is Location Setter 室内地址描述。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

func (*AlibabaretaildevicevendingregisterAPIRequest) SetScene added in v1.3.1

SetScene is Scene Setter COMMUNITY:小区,SCHOOL:学校,OFFICE:写字楼,SHOPPING_MALL:商场,AIRPORT:机场,SUBWAY:地铁,HOSPITAL:医院,PLAYGROUNDS:游乐场所,FACTORY:工厂,VIEWPOINT:旅游景点,OTHERS:其他

func (*AlibabaretaildevicevendingregisterAPIRequest) SetSiteName added in v1.3.1

func (r *AlibabaretaildevicevendingregisterAPIRequest) SetSiteName(_siteName string) error

SetSiteName is SiteName Setter 场地名称,根据场地类型来,如:学校名称,商场名称。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

type AlibabaretaildevicevendingregisterAPIResponse added in v1.3.1

type AlibabaretaildevicevendingregisterAPIResponse struct {
	model.CommonResponse
	AlibabaretaildevicevendingregisterAPIResponseModel
}

AlibabaretaildevicevendingregisterAPIResponse 贩卖机设备注册 API返回值 alibaba.retail.device.vending.register

贩卖机注册

type AlibabaretaildevicevendingregisterAPIResponseModel added in v1.3.1

type AlibabaretaildevicevendingregisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_retail_device_vending_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaretaildevicevendingregisterResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaretaildevicevendingregisterAPIResponseModel is 贩卖机设备注册 成功返回结果

type AlibabaretaildevicevendingregisterResultDo added in v1.3.1

type AlibabaretaildevicevendingregisterResultDo struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 测试
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 数据
	Data *DeviceDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

AlibabaretaildevicevendingregisterResultDo 结构体

type AuthFailedMsg added in v1.2.9

type AuthFailedMsg struct {
	// 入参手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 添加失败原因
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

AuthFailedMsg 结构体

type CategoryPropDto

type CategoryPropDto struct {
	// 属性名
	PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"`
	// 值名
	ValueText string `json:"value_text,omitempty" xml:"value_text,omitempty"`
	// 属性ID
	PropertyId int64 `json:"property_id,omitempty" xml:"property_id,omitempty"`
	// 值ID
	ValueId int64 `json:"value_id,omitempty" xml:"value_id,omitempty"`
}

CategoryPropDto 结构体

type ChannelDto added in v1.2.5

type ChannelDto struct {
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 渠道名称
	ChannelName string `json:"channel_name,omitempty" xml:"channel_name,omitempty"`
}

ChannelDto 结构体

type CouponTemplateDto

type CouponTemplateDto struct {
	// 圈选商品列表
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
	// 圈选卖场列表
	MallIds []int64 `json:"mall_ids,omitempty" xml:"mall_ids>int64,omitempty"`
	// 圈选门店列表
	StoreIds []int64 `json:"store_ids,omitempty" xml:"store_ids>int64,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,omitempty"`
	// 创建钉钉ID
	Creator string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 修改钉钉ID
	ModifiedBy string `json:"modified_by,omitempty" xml:"modified_by,omitempty"`
	// 发放结束时间yyyy-MM-dd HH:mm:ss
	SendEndTime string `json:"send_end_time,omitempty" xml:"send_end_time,omitempty"`
	// 发放开始时间yyyy-MM-dd HH:mm:ss
	SendStartTime string `json:"send_start_time,omitempty" xml:"send_start_time,omitempty"`
	// 使用结束时间:yyyy-MM-dd HH:mm:ss
	UseEndTime string `json:"use_end_time,omitempty" xml:"use_end_time,omitempty"`
	// 使用开始时间:yyyy-MM-dd HH:mm:ss
	UseStartTime string `json:"use_start_time,omitempty" xml:"use_start_time,omitempty"`
	// 发券code
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 券type
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 券模板ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 领取后可以使用的相对时间,秒或天为单位
	UseTime int64 `json:"use_time,omitempty" xml:"use_time,omitempty"`
	// 使用时间类型
	UseTimeType int64 `json:"use_time_type,omitempty" xml:"use_time_type,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 券模板ID
	CouponTemplateId int64 `json:"coupon_template_id,omitempty" xml:"coupon_template_id,omitempty"`
}

CouponTemplateDto 结构体

type DeviceDto

type DeviceDto struct {
	// 设备编码
	DeviceCode string `json:"device_code,omitempty" xml:"device_code,omitempty"`
	// 设备外部编码
	DeviceUuid string `json:"device_uuid,omitempty" xml:"device_uuid,omitempty"`
	// 设备物理编码
	DeviceSn string `json:"device_sn,omitempty" xml:"device_sn,omitempty"`
	// 设备状态0离线,1 在线 2 待激活
	DeviceStatus string `json:"device_status,omitempty" xml:"device_status,omitempty"`
	// 设备名称
	DeviceName string `json:"device_name,omitempty" xml:"device_name,omitempty"`
	// 设备地址
	DeviceAddress string `json:"device_address,omitempty" xml:"device_address,omitempty"`
	// 设备类型
	DeviceTypeName string `json:"device_type_name,omitempty" xml:"device_type_name,omitempty"`
	// 经度
	Longtitude string `json:"longtitude,omitempty" xml:"longtitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 激活码
	Activation string `json:"activation,omitempty" xml:"activation,omitempty"`
}

DeviceDto 结构体

type EaStoreContractDto added in v1.2.5

type EaStoreContractDto struct {
	// 合同号
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 老合同号
	OldCode string `json:"old_code,omitempty" xml:"old_code,omitempty"`
	// 老摊位号
	OldStoreContractCode string `json:"old_store_contract_code,omitempty" xml:"old_store_contract_code,omitempty"`
	// 卖场编码
	MallCode string `json:"mall_code,omitempty" xml:"mall_code,omitempty"`
	// 卖场名称
	MallName string `json:"mall_name,omitempty" xml:"mall_name,omitempty"`
	// 商户编码
	AgencyCode string `json:"agency_code,omitempty" xml:"agency_code,omitempty"`
	// 商户名称
	AgencyName string `json:"agency_name,omitempty" xml:"agency_name,omitempty"`
	// 摊位编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 摊位名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 合同开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 合同结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 合同状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 北京市xxx
	ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 卖场钉钉部门id
	MallDingDeptId int64 `json:"mall_ding_dept_id,omitempty" xml:"mall_ding_dept_id,omitempty"`
	// 摊位钉钉部门id
	StoreDingDeptId int64 `json:"store_ding_dept_id,omitempty" xml:"store_ding_dept_id,omitempty"`
	// 摊位老钉钉部门id
	OldStoreDingDeptId int64 `json:"old_store_ding_dept_id,omitempty" xml:"old_store_ding_dept_id,omitempty"`
	// 数据状态
	RowStatus int64 `json:"row_status,omitempty" xml:"row_status,omitempty"`
	// 卖场id
	MallId int64 `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
}

EaStoreContractDto 结构体

type ItemImageDto

type ItemImageDto struct {
	// 图片地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 图片次序
	Position int64 `json:"position,omitempty" xml:"position,omitempty"`
}

ItemImageDto 结构体

type LocationDto

type LocationDto struct {
	// 城市名
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 省份名
	Prov string `json:"prov,omitempty" xml:"prov,omitempty"`
	// 城市ID
	CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 省份ID
	ProvId int64 `json:"prov_id,omitempty" xml:"prov_id,omitempty"`
	// 类型,1:国内,2:国外
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

LocationDto 结构体

type MacallineItemExtDto

type MacallineItemExtDto struct {
	// 品牌系列ID
	BrandSeriesId string `json:"brand_series_id,omitempty" xml:"brand_series_id,omitempty"`
	// 品牌系列名称
	BrandSeriesName string `json:"brand_series_name,omitempty" xml:"brand_series_name,omitempty"`
	// 计价单位
	ChargeUnit string `json:"charge_unit,omitempty" xml:"charge_unit,omitempty"`
	// 物价员
	Pricer string `json:"pricer,omitempty" xml:"pricer,omitempty"`
	// 辅材
	SecondarySteel string `json:"secondary_steel,omitempty" xml:"secondary_steel,omitempty"`
	// 规格
	Specification string `json:"specification,omitempty" xml:"specification,omitempty"`
	// 规格单位
	SpecificationUnit string `json:"specification_unit,omitempty" xml:"specification_unit,omitempty"`
	// 基材
	Substrate string `json:"substrate,omitempty" xml:"substrate,omitempty"`
	// 饰面
	Veneer string `json:"veneer,omitempty" xml:"veneer,omitempty"`
	// 等级
	Grade int64 `json:"grade,omitempty" xml:"grade,omitempty"`
	// 标签价格类型
	LabelPriceType int64 `json:"label_price_type,omitempty" xml:"label_price_type,omitempty"`
	// 产地
	OriginalLocation *LocationDto `json:"original_location,omitempty" xml:"original_location,omitempty"`
	// 价格类型,1:明码实价,2:明码议价
	PriceType int64 `json:"price_type,omitempty" xml:"price_type,omitempty"`
	// 是否支持退换货
	SupportReturnGoods bool `json:"support_return_goods,omitempty" xml:"support_return_goods,omitempty"`
}

MacallineItemExtDto 结构体

type MemberSynResponse

type MemberSynResponse struct {
	// 加密后的taoId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 外部会员ID
	OutMemberId string `json:"out_member_id,omitempty" xml:"out_member_id,omitempty"`
	// sellerid
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
}

MemberSynResponse 结构体

type ModifyFundsTypeReqDto added in v1.2.9

type ModifyFundsTypeReqDto struct {
	// 分账类型(0卖场,1摊位)
	FundsType int64 `json:"funds_type,omitempty" xml:"funds_type,omitempty"`
	// 阿里摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

ModifyFundsTypeReqDto 结构体

type NrtBenefitDto added in v1.2.5

type NrtBenefitDto struct {
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 权益类型
	BenefitType string `json:"benefit_type,omitempty" xml:"benefit_type,omitempty"`
	// 中奖概率
	Probability string `json:"probability,omitempty" xml:"probability,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 权益名称
	BenefitName string `json:"benefit_name,omitempty" xml:"benefit_name,omitempty"`
	// 扩展信息
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 权益图片地址
	ImgUrl string `json:"img_url,omitempty" xml:"img_url,omitempty"`
	// 关联的权益模板id
	OutRelateId int64 `json:"out_relate_id,omitempty" xml:"out_relate_id,omitempty"`
	// 权益id
	BenefitId int64 `json:"benefit_id,omitempty" xml:"benefit_id,omitempty"`
	// 总数
	TotalQuantity int64 `json:"total_quantity,omitempty" xml:"total_quantity,omitempty"`
	// 个人限领数
	PersonLimitCount int64 `json:"person_limit_count,omitempty" xml:"person_limit_count,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 使用渠道
	UseChannel int64 `json:"use_channel,omitempty" xml:"use_channel,omitempty"`
}

NrtBenefitDto 结构体

type NrtCouponSendDto added in v1.2.0

type NrtCouponSendDto struct {
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 加密后淘系ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// {"key","value"}
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 幂等ID
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 券code
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 券类型,247:品类券,276:门店券,357:门店通用券
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
}

NrtCouponSendDto 结构体

type NrtEaLoginDto added in v1.2.9

type NrtEaLoginDto struct {
	// 绑定类型
	ActionType string `json:"action_type,omitempty" xml:"action_type,omitempty"`
	// 企业名称
	EntName string `json:"ent_name,omitempty" xml:"ent_name,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 绑定的用户id
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 场景
	Scene string `json:"scene,omitempty" xml:"scene,omitempty"`
	// 登录地址
	RedirectUrl string `json:"redirect_url,omitempty" xml:"redirect_url,omitempty"`
	// 被绑定用户Id
	BindSiteUserId int64 `json:"bind_site_user_id,omitempty" xml:"bind_site_user_id,omitempty"`
	// 企业id
	EntId int64 `json:"ent_id,omitempty" xml:"ent_id,omitempty"`
	// 操作时间戳
	OperateTime int64 `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
}

NrtEaLoginDto 结构体

type NrtItemSyncResultDto

type NrtItemSyncResultDto struct {
	// 摊位商品ID
	SItemId int64 `json:"s_item_id,omitempty" xml:"s_item_id,omitempty"`
	// 主商品ID
	MItemId int64 `json:"m_item_id,omitempty" xml:"m_item_id,omitempty"`
}

NrtItemSyncResultDto 结构体

type NrtMemberDto added in v1.2.0

type NrtMemberDto struct {
	// 手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 验证码
	SmsCode string `json:"sms_code,omitempty" xml:"sms_code,omitempty"`
	// 外部会员ID
	OutMemberId string `json:"out_member_id,omitempty" xml:"out_member_id,omitempty"`
	// 淘宝ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 操作类型
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// 会员等级
	LevelName string `json:"level_name,omitempty" xml:"level_name,omitempty"`
	// 会员名称
	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`
	// 幂等ID
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 会员地址
	Addr string `json:"addr,omitempty" xml:"addr,omitempty"`
	// 状态 1:正常 0:冻结
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 淘宝nick
	TaoNick string `json:"tao_nick,omitempty" xml:"tao_nick,omitempty"`
	// 会员类型(1,喵零;2会员通)
	MemberType int64 `json:"member_type,omitempty" xml:"member_type,omitempty"`
	// 同步时间
	GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

NrtMemberDto 结构体

type NrtSceneActivityDto added in v1.2.5

type NrtSceneActivityDto struct {
	// 权益列表
	BenefitList []NrtBenefitDto `json:"benefit_list,omitempty" xml:"benefit_list>nrt_benefit_dto,omitempty"`
	// 渠道
	ChannelList []ChannelDto `json:"channel_list,omitempty" xml:"channel_list>channel_dto,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 创建者id
	CreatorId string `json:"creator_id,omitempty" xml:"creator_id,omitempty"`
	// 扩展信息
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 活动类型
	ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
	// 修改人id
	ModifiedId string `json:"modified_id,omitempty" xml:"modified_id,omitempty"`
	// 有价礼包活动对应的商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 版本
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

NrtSceneActivityDto 结构体

type NrtSmsDto added in v1.2.5

type NrtSmsDto struct {
	// 短信验证码
	SmsCode string `json:"sms_code,omitempty" xml:"sms_code,omitempty"`
}

NrtSmsDto 结构体

type NrtStoreContractDto added in v1.2.5

type NrtStoreContractDto struct {
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 详细地址
	ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 街道名称
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
	// 省份名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 摊位编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 卖场名称
	MallName string `json:"mall_name,omitempty" xml:"mall_name,omitempty"`
	// 老摊位编码
	OldStoreContractCode string `json:"old_store_contract_code,omitempty" xml:"old_store_contract_code,omitempty"`
	// 合同号
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 经销商编码
	AgencyCode string `json:"agency_code,omitempty" xml:"agency_code,omitempty"`
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 城市名称
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 卖场编码
	MallCode string `json:"mall_code,omitempty" xml:"mall_code,omitempty"`
	// 摊位名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 合同开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 幂等id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 区名称
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 经销商名称
	AgencyName string `json:"agency_name,omitempty" xml:"agency_name,omitempty"`
	// 老合同号
	OldCode string `json:"old_code,omitempty" xml:"old_code,omitempty"`
	// 合同结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 联系电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 操作类型
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// 街道编码
	TownCode int64 `json:"town_code,omitempty" xml:"town_code,omitempty"`
	// 老摊位钉钉部门
	OldStoreDingDeptId int64 `json:"old_store_ding_dept_id,omitempty" xml:"old_store_ding_dept_id,omitempty"`
	// 经度
	Lat int64 `json:"lat,omitempty" xml:"lat,omitempty"`
	// 纬度
	Lng int64 `json:"lng,omitempty" xml:"lng,omitempty"`
	// 品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 合同状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 区编码
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 市编码
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 卖场钉钉部门id
	MallDingDeptId int64 `json:"mall_ding_dept_id,omitempty" xml:"mall_ding_dept_id,omitempty"`
	// 摊位钉钉部门id
	StoreDingDeptId int64 `json:"store_ding_dept_id,omitempty" xml:"store_ding_dept_id,omitempty"`
	// 省编码
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"`
}

NrtStoreContractDto 结构体

type NrtStoreDto

type NrtStoreDto struct {
	// 摊位编号
	StallCode string `json:"stall_code,omitempty" xml:"stall_code,omitempty"`
	// 业务标识
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 详细地址
	ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"`
	// 租赁结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 操作类型
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// 主图地址
	Pic string `json:"pic,omitempty" xml:"pic,omitempty"`
	// 经销商编码
	AgencyCode string `json:"agency_code,omitempty" xml:"agency_code,omitempty"`
	// 营业时间
	BusinessTime string `json:"business_time,omitempty" xml:"business_time,omitempty"`
	// 经营品牌编号
	BusinessBrandids string `json:"business_brandids,omitempty" xml:"business_brandids,omitempty"`
	// 城市名
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 摊位部门Id
	StallDeptid string `json:"stall_deptid,omitempty" xml:"stall_deptid,omitempty"`
	// 卖场编码
	MallCode string `json:"mall_code,omitempty" xml:"mall_code,omitempty"`
	// 品牌系列
	BrandSeries string `json:"brand_series,omitempty" xml:"brand_series,omitempty"`
	// 幂等id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 纬度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 租赁开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 经度
	Lng string `json:"lng,omitempty" xml:"lng,omitempty"`
	// 区名称
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 联系电话
	Contract string `json:"contract,omitempty" xml:"contract,omitempty"`
	// 经营品牌名称
	BusinessBrandnames string `json:"business_brandnames,omitempty" xml:"business_brandnames,omitempty"`
	// 摊位名称
	StallName string `json:"stall_name,omitempty" xml:"stall_name,omitempty"`
	// 主营品类
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 省名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 主营品牌Id
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 主营品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 卖场部门Id
	MallDepid string `json:"mall_depid,omitempty" xml:"mall_depid,omitempty"`
	// 关联的编码
	RelateCode string `json:"relate_code,omitempty" xml:"relate_code,omitempty"`
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 区编码
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 市编码
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 省编码
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 摊位状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 摊位Id
	StallId int64 `json:"stall_id,omitempty" xml:"stall_id,omitempty"`
	// 门店id1
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

NrtStoreDto 结构体

type NrtStoreQueryDto added in v1.2.5

type NrtStoreQueryDto struct {
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 摊位编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 页码
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
}

NrtStoreQueryDto 结构体

type PageData

type PageData struct {
	// 数据列表
	DataList []CouponTemplateDto `json:"data_list,omitempty" xml:"data_list>coupon_template_dto,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 1
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

PageData 结构体

type ResultDo added in v1.2.0

type ResultDo struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 异常信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 数据对象
	Data *NrtEaLoginDto `json:"data,omitempty" xml:"data,omitempty"`
	// 请求结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 调用是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

ResultDo 结构体

type SendCouponResponse

type SendCouponResponse struct {
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,omitempty"`
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 券模板ID
	CouponTemplateId int64 `json:"coupon_template_id,omitempty" xml:"coupon_template_id,omitempty"`
	// 券实例ID
	CouponInstanceId int64 `json:"coupon_instance_id,omitempty" xml:"coupon_instance_id,omitempty"`
	// 结束时间
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 开始时间
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
}

SendCouponResponse 结构体

type SettleCardInfoDto

type SettleCardInfoDto struct {
	// 开户支行名
	AccountBranchName string `json:"account_branch_name,omitempty" xml:"account_branch_name,omitempty"`
	// 银行卡号
	AccountNo string `json:"account_no,omitempty" xml:"account_no,omitempty"`
	// 卡类型
	AccountType string `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// 银行名称
	AccountInstName string `json:"account_inst_name,omitempty" xml:"account_inst_name,omitempty"`
	// 开户行所在地-市
	AccountInstCity string `json:"account_inst_city,omitempty" xml:"account_inst_city,omitempty"`
	// 开户行所在地-省
	AccountInstProvince string `json:"account_inst_province,omitempty" xml:"account_inst_province,omitempty"`
	// 开户行简称缩写
	AccountInstId string `json:"account_inst_id,omitempty" xml:"account_inst_id,omitempty"`
	// 卡户名
	AccountHolderName string `json:"account_holder_name,omitempty" xml:"account_holder_name,omitempty"`
	// 账号使用类型
	UsageType string `json:"usage_type,omitempty" xml:"usage_type,omitempty"`
}

SettleCardInfoDto 结构体

type SkuDto

type SkuDto struct {
	// SKU属性
	Properties []CategoryPropDto `json:"properties,omitempty" xml:"properties>category_prop_dto,omitempty"`
	// 条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 修改时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// SKU ID
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

SkuDto 结构体

type StallSigningReqDto

type StallSigningReqDto struct {
	// 银行卡信息
	BizCards []SettleCardInfoDto `json:"biz_cards,omitempty" xml:"biz_cards>settle_card_info_dto,omitempty"`
	// 对应卖场的smid
	IpRoleId string `json:"ip_role_id,omitempty" xml:"ip_role_id,omitempty"`
	// 摊位名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StallSigningReqDto 结构体

type StallSigningRespDto

type StallSigningRespDto struct {
	// 申请单id
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 摊位/门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StallSigningRespDto 结构体

type StoreQuery added in v1.2.5

type StoreQuery struct {
	// 卖场Id或者同城id
	StoreIds []int64 `json:"store_ids,omitempty" xml:"store_ids>int64,omitempty"`
	// 类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

StoreQuery 结构体

type TmallnrtassetauthorizationaddAPIRequest added in v1.3.1

type TmallnrtassetauthorizationaddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtassetauthorizationaddAPIRequest 增加数据权限授权 API请求 tmall.nrt.asset.authorization.add

增加数据权限授权

func NewTmallnrtassetauthorizationaddRequest added in v1.3.1

func NewTmallnrtassetauthorizationaddRequest() *TmallnrtassetauthorizationaddAPIRequest

NewTmallnrtassetauthorizationaddRequest 初始化TmallnrtassetauthorizationaddAPIRequest对象

func (TmallnrtassetauthorizationaddAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtassetauthorizationaddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtassetauthorizationaddAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtassetauthorizationaddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtassetauthorizationaddAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtassetauthorizationaddAPIRequest) GetTopAssetDataAuthReqDto added in v1.3.1

func (r TmallnrtassetauthorizationaddAPIRequest) GetTopAssetDataAuthReqDto() *TopAssetDataAuthReqDto

GetTopAssetDataAuthReqDto TopAssetDataAuthReqDto Getter

func (*TmallnrtassetauthorizationaddAPIRequest) SetTopAssetDataAuthReqDto added in v1.3.1

func (r *TmallnrtassetauthorizationaddAPIRequest) SetTopAssetDataAuthReqDto(_topAssetDataAuthReqDto *TopAssetDataAuthReqDto) error

SetTopAssetDataAuthReqDto is TopAssetDataAuthReqDto Setter 添加数据权限请求

type TmallnrtassetauthorizationaddAPIResponse added in v1.3.1

type TmallnrtassetauthorizationaddAPIResponse struct {
	model.CommonResponse
	TmallnrtassetauthorizationaddAPIResponseModel
}

TmallnrtassetauthorizationaddAPIResponse 增加数据权限授权 API返回值 tmall.nrt.asset.authorization.add

增加数据权限授权

type TmallnrtassetauthorizationaddAPIResponseModel added in v1.3.1

type TmallnrtassetauthorizationaddAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_asset_authorization_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Data *TopAssetDataAuthResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallnrtassetauthorizationaddAPIResponseModel is 增加数据权限授权 成功返回结果

type TmallnrtassetauthorizationdeleteAPIRequest added in v1.3.1

type TmallnrtassetauthorizationdeleteAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtassetauthorizationdeleteAPIRequest 移除资产数据权限授权关系 API请求 tmall.nrt.asset.authorization.delete

移除资产数据权限授权关系

func NewTmallnrtassetauthorizationdeleteRequest added in v1.3.1

func NewTmallnrtassetauthorizationdeleteRequest() *TmallnrtassetauthorizationdeleteAPIRequest

NewTmallnrtassetauthorizationdeleteRequest 初始化TmallnrtassetauthorizationdeleteAPIRequest对象

func (TmallnrtassetauthorizationdeleteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtassetauthorizationdeleteAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtassetauthorizationdeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtassetauthorizationdeleteAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtassetauthorizationdeleteAPIRequest) GetTopAssetDataAuthReqDto added in v1.3.1

GetTopAssetDataAuthReqDto TopAssetDataAuthReqDto Getter

func (*TmallnrtassetauthorizationdeleteAPIRequest) SetTopAssetDataAuthReqDto added in v1.3.1

func (r *TmallnrtassetauthorizationdeleteAPIRequest) SetTopAssetDataAuthReqDto(_topAssetDataAuthReqDto *TopAssetDataAuthReqDto) error

SetTopAssetDataAuthReqDto is TopAssetDataAuthReqDto Setter 请求对象

type TmallnrtassetauthorizationdeleteAPIResponse added in v1.3.1

type TmallnrtassetauthorizationdeleteAPIResponse struct {
	model.CommonResponse
	TmallnrtassetauthorizationdeleteAPIResponseModel
}

TmallnrtassetauthorizationdeleteAPIResponse 移除资产数据权限授权关系 API返回值 tmall.nrt.asset.authorization.delete

移除资产数据权限授权关系

type TmallnrtassetauthorizationdeleteAPIResponseModel added in v1.3.1

type TmallnrtassetauthorizationdeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_asset_authorization_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 请求结果
	Data *TopAssetDataAuthResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 请求是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallnrtassetauthorizationdeleteAPIResponseModel is 移除资产数据权限授权关系 成功返回结果

type TmallnrtbranddetailqueryAPIRequest added in v1.3.1

type TmallnrtbranddetailqueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtbranddetailqueryAPIRequest 品牌详情查询 API请求 tmall.nrt.branddetail.query

根据品牌id查询品牌的详细信息

func NewTmallnrtbranddetailqueryRequest added in v1.3.1

func NewTmallnrtbranddetailqueryRequest() *TmallnrtbranddetailqueryAPIRequest

NewTmallnrtbranddetailqueryRequest 初始化TmallnrtbranddetailqueryAPIRequest对象

func (TmallnrtbranddetailqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtbranddetailqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtbranddetailqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtbranddetailqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtbranddetailqueryAPIRequest) GetBrandId added in v1.3.1

GetBrandId BrandId Getter

func (TmallnrtbranddetailqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtbranddetailqueryAPIRequest) SetBrandId added in v1.3.1

func (r *TmallnrtbranddetailqueryAPIRequest) SetBrandId(_brandId int64) error

SetBrandId is BrandId Setter 品牌id

type TmallnrtbranddetailqueryAPIResponse added in v1.3.1

type TmallnrtbranddetailqueryAPIResponse struct {
	model.CommonResponse
	TmallnrtbranddetailqueryAPIResponseModel
}

TmallnrtbranddetailqueryAPIResponse 品牌详情查询 API返回值 tmall.nrt.branddetail.query

根据品牌id查询品牌的详细信息

type TmallnrtbranddetailqueryAPIResponseModel added in v1.3.1

type TmallnrtbranddetailqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_branddetail_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

TmallnrtbranddetailqueryAPIResponseModel is 品牌详情查询 成功返回结果

type TmallnrtbrandinfoqueryAPIRequest added in v1.3.1

type TmallnrtbrandinfoqueryAPIRequest struct {
	model.Params
}

TmallnrtbrandinfoqueryAPIRequest 品牌数据查询 API请求 tmall.nrt.brandinfo.query

商家获取自己旗舰店授权的品牌id列表

func NewTmallnrtbrandinfoqueryRequest added in v1.3.1

func NewTmallnrtbrandinfoqueryRequest() *TmallnrtbrandinfoqueryAPIRequest

NewTmallnrtbrandinfoqueryRequest 初始化TmallnrtbrandinfoqueryAPIRequest对象

func (TmallnrtbrandinfoqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtbrandinfoqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtbrandinfoqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtbrandinfoqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtbrandinfoqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

type TmallnrtbrandinfoqueryAPIResponse added in v1.3.1

type TmallnrtbrandinfoqueryAPIResponse struct {
	model.CommonResponse
	TmallnrtbrandinfoqueryAPIResponseModel
}

TmallnrtbrandinfoqueryAPIResponse 品牌数据查询 API返回值 tmall.nrt.brandinfo.query

商家获取自己旗舰店授权的品牌id列表

type TmallnrtbrandinfoqueryAPIResponseModel added in v1.3.1

type TmallnrtbrandinfoqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_brandinfo_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 品牌id
	Datas []string `json:"datas,omitempty" xml:"datas>string,omitempty"`
}

TmallnrtbrandinfoqueryAPIResponseModel is 品牌数据查询 成功返回结果

type TmallnrtcouponsendAPIRequest added in v1.3.1

type TmallnrtcouponsendAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtcouponsendAPIRequest 券发放接口 API请求 tmall.nrt.coupon.send

新零售场景,商家自有渠道发放券

func NewTmallnrtcouponsendRequest added in v1.3.1

func NewTmallnrtcouponsendRequest() *TmallnrtcouponsendAPIRequest

NewTmallnrtcouponsendRequest 初始化TmallnrtcouponsendAPIRequest对象

func (TmallnrtcouponsendAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtcouponsendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtcouponsendAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtcouponsendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtcouponsendAPIRequest) GetNrtCouponSendDto added in v1.3.1

func (r TmallnrtcouponsendAPIRequest) GetNrtCouponSendDto() *NrtCouponSendDto

GetNrtCouponSendDto NrtCouponSendDto Getter

func (TmallnrtcouponsendAPIRequest) GetRawParams added in v1.3.1

func (r TmallnrtcouponsendAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtcouponsendAPIRequest) SetNrtCouponSendDto added in v1.3.1

func (r *TmallnrtcouponsendAPIRequest) SetNrtCouponSendDto(_nrtCouponSendDto *NrtCouponSendDto) error

SetNrtCouponSendDto is NrtCouponSendDto Setter 发券dto

type TmallnrtcouponsendAPIResponse added in v1.3.1

type TmallnrtcouponsendAPIResponse struct {
	model.CommonResponse
	TmallnrtcouponsendAPIResponseModel
}

TmallnrtcouponsendAPIResponse 券发放接口 API返回值 tmall.nrt.coupon.send

新零售场景,商家自有渠道发放券

type TmallnrtcouponsendAPIResponseModel added in v1.3.1

type TmallnrtcouponsendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_coupon_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 发券结果对象
	Model *SendCouponResponse `json:"model,omitempty" xml:"model,omitempty"`
}

TmallnrtcouponsendAPIResponseModel is 券发放接口 成功返回结果

type TmallnrtcoupontemplatequeryAPIRequest added in v1.3.1

type TmallnrtcoupontemplatequeryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtcoupontemplatequeryAPIRequest 券模板查询 API请求 tmall.nrt.coupontemplate.query

新零售场景,商家拉取在新零售工作台设置的券数据

func NewTmallnrtcoupontemplatequeryRequest added in v1.3.1

func NewTmallnrtcoupontemplatequeryRequest() *TmallnrtcoupontemplatequeryAPIRequest

NewTmallnrtcoupontemplatequeryRequest 初始化TmallnrtcoupontemplatequeryAPIRequest对象

func (TmallnrtcoupontemplatequeryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtcoupontemplatequeryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtcoupontemplatequeryAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtcoupontemplatequeryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtcoupontemplatequeryAPIRequest) GetBizCode added in v1.3.1

GetBizCode BizCode Getter

func (TmallnrtcoupontemplatequeryAPIRequest) GetCouponTypeList added in v1.3.1

func (r TmallnrtcoupontemplatequeryAPIRequest) GetCouponTypeList() []int64

GetCouponTypeList CouponTypeList Getter

func (TmallnrtcoupontemplatequeryAPIRequest) GetCurrentPage added in v1.3.1

func (r TmallnrtcoupontemplatequeryAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TmallnrtcoupontemplatequeryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallnrtcoupontemplatequeryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtcoupontemplatequeryAPIRequest) SetBizCode added in v1.3.1

func (r *TmallnrtcoupontemplatequeryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务code阿里指定

func (*TmallnrtcoupontemplatequeryAPIRequest) SetCouponTypeList added in v1.3.1

func (r *TmallnrtcoupontemplatequeryAPIRequest) SetCouponTypeList(_couponTypeList []int64) error

SetCouponTypeList is CouponTypeList Setter 券列表

func (*TmallnrtcoupontemplatequeryAPIRequest) SetCurrentPage added in v1.3.1

func (r *TmallnrtcoupontemplatequeryAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 当前页

func (*TmallnrtcoupontemplatequeryAPIRequest) SetPageSize added in v1.3.1

func (r *TmallnrtcoupontemplatequeryAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页数据数量

type TmallnrtcoupontemplatequeryAPIResponse added in v1.3.1

type TmallnrtcoupontemplatequeryAPIResponse struct {
	model.CommonResponse
	TmallnrtcoupontemplatequeryAPIResponseModel
}

TmallnrtcoupontemplatequeryAPIResponse 券模板查询 API返回值 tmall.nrt.coupontemplate.query

新零售场景,商家拉取在新零售工作台设置的券数据

type TmallnrtcoupontemplatequeryAPIResponseModel added in v1.3.1

type TmallnrtcoupontemplatequeryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_coupontemplate_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// model
	Model *PageData `json:"model,omitempty" xml:"model,omitempty"`
}

TmallnrtcoupontemplatequeryAPIResponseModel is 券模板查询 成功返回结果

type TmallnrtcoupontemplatesynAPIRequest added in v1.3.1

type TmallnrtcoupontemplatesynAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtcoupontemplatesynAPIRequest 喵零券同步 API请求 tmall.nrt.coupon.template.syn

查询券模版

func NewTmallnrtcoupontemplatesynRequest added in v1.3.1

func NewTmallnrtcoupontemplatesynRequest() *TmallnrtcoupontemplatesynAPIRequest

NewTmallnrtcoupontemplatesynRequest 初始化TmallnrtcoupontemplatesynAPIRequest对象

func (TmallnrtcoupontemplatesynAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtcoupontemplatesynAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtcoupontemplatesynAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtcoupontemplatesynAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtcoupontemplatesynAPIRequest) GetBizCode added in v1.3.1

GetBizCode BizCode Getter

func (TmallnrtcoupontemplatesynAPIRequest) GetCouponTemplateId added in v1.3.1

func (r TmallnrtcoupontemplatesynAPIRequest) GetCouponTemplateId() string

GetCouponTemplateId CouponTemplateId Getter

func (TmallnrtcoupontemplatesynAPIRequest) GetCouponType added in v1.3.1

func (r TmallnrtcoupontemplatesynAPIRequest) GetCouponType() int64

GetCouponType CouponType Getter

func (TmallnrtcoupontemplatesynAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtcoupontemplatesynAPIRequest) SetBizCode added in v1.3.1

func (r *TmallnrtcoupontemplatesynAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务编码

func (*TmallnrtcoupontemplatesynAPIRequest) SetCouponTemplateId added in v1.3.1

func (r *TmallnrtcoupontemplatesynAPIRequest) SetCouponTemplateId(_couponTemplateId string) error

SetCouponTemplateId is CouponTemplateId Setter 券模版id集合

func (*TmallnrtcoupontemplatesynAPIRequest) SetCouponType added in v1.3.1

func (r *TmallnrtcoupontemplatesynAPIRequest) SetCouponType(_couponType int64) error

SetCouponType is CouponType Setter 券类型

type TmallnrtcoupontemplatesynAPIResponse added in v1.3.1

type TmallnrtcoupontemplatesynAPIResponse struct {
	model.CommonResponse
	TmallnrtcoupontemplatesynAPIResponseModel
}

TmallnrtcoupontemplatesynAPIResponse 喵零券同步 API返回值 tmall.nrt.coupon.template.syn

查询券模版

type TmallnrtcoupontemplatesynAPIResponseModel added in v1.3.1

type TmallnrtcoupontemplatesynAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_coupon_template_syn_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallnrtcoupontemplatesynResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallnrtcoupontemplatesynAPIResponseModel is 喵零券同步 成功返回结果

type TmallnrtcoupontemplatesynResult added in v1.3.1

type TmallnrtcoupontemplatesynResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

TmallnrtcoupontemplatesynResult 结构体

type TmallnrtitemgetAPIRequest added in v1.3.1

type TmallnrtitemgetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtitemgetAPIRequest 家装新零售商品信息查询 API请求 tmall.nrt.item.get

查询新零售商品信息

func NewTmallnrtitemgetRequest added in v1.3.1

func NewTmallnrtitemgetRequest() *TmallnrtitemgetAPIRequest

NewTmallnrtitemgetRequest 初始化TmallnrtitemgetAPIRequest对象

func (TmallnrtitemgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtitemgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtitemgetAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtitemgetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtitemgetAPIRequest) GetBoothId added in v1.3.1

func (r TmallnrtitemgetAPIRequest) GetBoothId() int64

GetBoothId BoothId Getter

func (TmallnrtitemgetAPIRequest) GetItemId added in v1.3.1

func (r TmallnrtitemgetAPIRequest) GetItemId() int64

GetItemId ItemId Getter

func (TmallnrtitemgetAPIRequest) GetRawParams added in v1.3.1

func (r TmallnrtitemgetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtitemgetAPIRequest) SetBoothId added in v1.3.1

func (r *TmallnrtitemgetAPIRequest) SetBoothId(_boothId int64) error

SetBoothId is BoothId Setter 城市站id

func (*TmallnrtitemgetAPIRequest) SetItemId added in v1.3.1

func (r *TmallnrtitemgetAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品id

type TmallnrtitemgetAPIResponse added in v1.3.1

type TmallnrtitemgetAPIResponse struct {
	model.CommonResponse
	TmallnrtitemgetAPIResponseModel
}

TmallnrtitemgetAPIResponse 家装新零售商品信息查询 API返回值 tmall.nrt.item.get

查询新零售商品信息

type TmallnrtitemgetAPIResponseModel added in v1.3.1

type TmallnrtitemgetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_item_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	TmallNrtItemGet *TmallnrtitemgetResultDo `json:"tmall_nrt_item_get,omitempty" xml:"tmall_nrt_item_get,omitempty"`
}

TmallnrtitemgetAPIResponseModel is 家装新零售商品信息查询 成功返回结果

type TmallnrtitemgetResultDo added in v1.3.1

type TmallnrtitemgetResultDo struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否成功
	Data *TopHomeItemDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallnrtitemgetResultDo 结构体

type TmallnrtitemmainsynchronizeAPIRequest added in v1.3.1

type TmallnrtitemmainsynchronizeAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtitemmainsynchronizeAPIRequest 家装新零售主商品同步至阿里 API请求 tmall.nrt.item.main.synchronize

同步卖场存量线下商品到阿里

func NewTmallnrtitemmainsynchronizeRequest added in v1.3.1

func NewTmallnrtitemmainsynchronizeRequest() *TmallnrtitemmainsynchronizeAPIRequest

NewTmallnrtitemmainsynchronizeRequest 初始化TmallnrtitemmainsynchronizeAPIRequest对象

func (TmallnrtitemmainsynchronizeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtitemmainsynchronizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtitemmainsynchronizeAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtitemmainsynchronizeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtitemmainsynchronizeAPIRequest) GetBoothId added in v1.3.1

GetBoothId BoothId Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetCid added in v1.3.1

GetCid Cid Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetDealerCode added in v1.3.1

GetDealerCode DealerCode Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetMallId added in v1.3.1

GetMallId MallId Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetOuterProps added in v1.3.1

GetOuterProps OuterProps Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetPrice added in v1.3.1

GetPrice Price Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetProps added in v1.3.1

GetProps Props Getter

func (TmallnrtitemmainsynchronizeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtitemmainsynchronizeAPIRequest) GetTitle added in v1.3.1

GetTitle Title Getter

func (*TmallnrtitemmainsynchronizeAPIRequest) SetBoothId added in v1.3.1

func (r *TmallnrtitemmainsynchronizeAPIRequest) SetBoothId(_boothId string) error

SetBoothId is BoothId Setter 摊位id

func (*TmallnrtitemmainsynchronizeAPIRequest) SetCid added in v1.3.1

SetCid is Cid Setter 叶子类目id

func (*TmallnrtitemmainsynchronizeAPIRequest) SetDealerCode added in v1.3.1

func (r *TmallnrtitemmainsynchronizeAPIRequest) SetDealerCode(_dealerCode string) error

SetDealerCode is DealerCode Setter 经销商编码

func (*TmallnrtitemmainsynchronizeAPIRequest) SetMallId added in v1.3.1

func (r *TmallnrtitemmainsynchronizeAPIRequest) SetMallId(_mallId string) error

SetMallId is MallId Setter 卖场id

func (*TmallnrtitemmainsynchronizeAPIRequest) SetOuterId added in v1.3.1

func (r *TmallnrtitemmainsynchronizeAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 商家编码

func (*TmallnrtitemmainsynchronizeAPIRequest) SetOuterProps added in v1.3.1

func (r *TmallnrtitemmainsynchronizeAPIRequest) SetOuterProps(_outerProps *MacallineItemExtDto) error

SetOuterProps is OuterProps Setter 系统自动生成

func (*TmallnrtitemmainsynchronizeAPIRequest) SetPrice added in v1.3.1

SetPrice is Price Setter 价格

func (*TmallnrtitemmainsynchronizeAPIRequest) SetProps added in v1.3.1

SetProps is Props Setter 类目属性

func (*TmallnrtitemmainsynchronizeAPIRequest) SetTitle added in v1.3.1

SetTitle is Title Setter 商品名

type TmallnrtitemmainsynchronizeAPIResponse added in v1.3.1

type TmallnrtitemmainsynchronizeAPIResponse struct {
	model.CommonResponse
	TmallnrtitemmainsynchronizeAPIResponseModel
}

TmallnrtitemmainsynchronizeAPIResponse 家装新零售主商品同步至阿里 API返回值 tmall.nrt.item.main.synchronize

同步卖场存量线下商品到阿里

type TmallnrtitemmainsynchronizeAPIResponseModel added in v1.3.1

type TmallnrtitemmainsynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_item_main_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	TmallNrtItemMainSynchronize *TmallnrtitemmainsynchronizeResultDo `json:"tmall_nrt_item_main_synchronize,omitempty" xml:"tmall_nrt_item_main_synchronize,omitempty"`
}

TmallnrtitemmainsynchronizeAPIResponseModel is 家装新零售主商品同步至阿里 成功返回结果

type TmallnrtitemmainsynchronizeResultDo added in v1.3.1

type TmallnrtitemmainsynchronizeResultDo struct {
	// 返回值
	Data *NrtItemSyncResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallnrtitemmainsynchronizeResultDo 结构体

type TmallnrtmemberopenidAPIRequest added in v1.3.1

type TmallnrtmemberopenidAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtmemberopenidAPIRequest 根据会员手机查询openId API请求 tmall.nrt.member.openid

根据会员手机查询openId

func NewTmallnrtmemberopenidRequest added in v1.3.1

func NewTmallnrtmemberopenidRequest() *TmallnrtmemberopenidAPIRequest

NewTmallnrtmemberopenidRequest 初始化TmallnrtmemberopenidAPIRequest对象

func (TmallnrtmemberopenidAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtmemberopenidAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtmemberopenidAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtmemberopenidAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtmemberopenidAPIRequest) GetNrtMemberDto added in v1.3.1

func (r TmallnrtmemberopenidAPIRequest) GetNrtMemberDto() *NrtMemberDto

GetNrtMemberDto NrtMemberDto Getter

func (TmallnrtmemberopenidAPIRequest) GetRawParams added in v1.3.1

func (r TmallnrtmemberopenidAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtmemberopenidAPIRequest) SetNrtMemberDto added in v1.3.1

func (r *TmallnrtmemberopenidAPIRequest) SetNrtMemberDto(_nrtMemberDto *NrtMemberDto) error

SetNrtMemberDto is NrtMemberDto Setter 会员DTO

type TmallnrtmemberopenidAPIResponse added in v1.3.1

type TmallnrtmemberopenidAPIResponse struct {
	model.CommonResponse
	TmallnrtmemberopenidAPIResponseModel
}

TmallnrtmemberopenidAPIResponse 根据会员手机查询openId API返回值 tmall.nrt.member.openid

根据会员手机查询openId

type TmallnrtmemberopenidAPIResponseModel added in v1.3.1

type TmallnrtmemberopenidAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_member_openid_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TmallnrtmemberopenidResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TmallnrtmemberopenidAPIResponseModel is 根据会员手机查询openId 成功返回结果

type TmallnrtmemberopenidResultDo added in v1.3.1

type TmallnrtmemberopenidResultDo struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误信息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 返回的业务数据
	Data *MemberSynResponse `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallnrtmemberopenidResultDo 结构体

type TmallnrtmembersynchronizeAPIRequest added in v1.3.1

type TmallnrtmembersynchronizeAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtmembersynchronizeAPIRequest 新零售会员同步接口 API请求 tmall.nrt.member.synchronize

新零售会员上翻接口,商家的会员信息同步至阿里侧

func NewTmallnrtmembersynchronizeRequest added in v1.3.1

func NewTmallnrtmembersynchronizeRequest() *TmallnrtmembersynchronizeAPIRequest

NewTmallnrtmembersynchronizeRequest 初始化TmallnrtmembersynchronizeAPIRequest对象

func (TmallnrtmembersynchronizeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtmembersynchronizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtmembersynchronizeAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtmembersynchronizeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtmembersynchronizeAPIRequest) GetNrtMemberDto added in v1.3.1

GetNrtMemberDto NrtMemberDto Getter

func (TmallnrtmembersynchronizeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtmembersynchronizeAPIRequest) SetNrtMemberDto added in v1.3.1

func (r *TmallnrtmembersynchronizeAPIRequest) SetNrtMemberDto(_nrtMemberDto *NrtMemberDto) error

SetNrtMemberDto is NrtMemberDto Setter 会员DTO

type TmallnrtmembersynchronizeAPIResponse added in v1.3.1

type TmallnrtmembersynchronizeAPIResponse struct {
	model.CommonResponse
	TmallnrtmembersynchronizeAPIResponseModel
}

TmallnrtmembersynchronizeAPIResponse 新零售会员同步接口 API返回值 tmall.nrt.member.synchronize

新零售会员上翻接口,商家的会员信息同步至阿里侧

type TmallnrtmembersynchronizeAPIResponseModel added in v1.3.1

type TmallnrtmembersynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_member_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Data *MemberSynResponse `json:"data,omitempty" xml:"data,omitempty"`
}

TmallnrtmembersynchronizeAPIResponseModel is 新零售会员同步接口 成功返回结果

type TmallnrtmiaolingthirdloginAPIRequest added in v1.3.1

type TmallnrtmiaolingthirdloginAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtmiaolingthirdloginAPIRequest 喵零第三方免登 API请求 tmall.nrt.miaoling.third.login

喵零第三方免登

func NewTmallnrtmiaolingthirdloginRequest added in v1.3.1

func NewTmallnrtmiaolingthirdloginRequest() *TmallnrtmiaolingthirdloginAPIRequest

NewTmallnrtmiaolingthirdloginRequest 初始化TmallnrtmiaolingthirdloginAPIRequest对象

func (TmallnrtmiaolingthirdloginAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtmiaolingthirdloginAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtmiaolingthirdloginAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtmiaolingthirdloginAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtmiaolingthirdloginAPIRequest) GetNrtEaLoginDto added in v1.3.1

GetNrtEaLoginDto NrtEaLoginDto Getter

func (TmallnrtmiaolingthirdloginAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtmiaolingthirdloginAPIRequest) SetNrtEaLoginDto added in v1.3.1

func (r *TmallnrtmiaolingthirdloginAPIRequest) SetNrtEaLoginDto(_nrtEaLoginDto *NrtEaLoginDto) error

SetNrtEaLoginDto is NrtEaLoginDto Setter 参数对象

type TmallnrtmiaolingthirdloginAPIResponse added in v1.3.1

type TmallnrtmiaolingthirdloginAPIResponse struct {
	model.CommonResponse
	TmallnrtmiaolingthirdloginAPIResponseModel
}

TmallnrtmiaolingthirdloginAPIResponse 喵零第三方免登 API返回值 tmall.nrt.miaoling.third.login

喵零第三方免登

type TmallnrtmiaolingthirdloginAPIResponseModel added in v1.3.1

type TmallnrtmiaolingthirdloginAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_miaoling_third_login_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TmallnrtmiaolingthirdloginAPIResponseModel is 喵零第三方免登 成功返回结果

type TmallnrtpaymerchantfundstypemodifyAPIRequest added in v1.3.1

type TmallnrtpaymerchantfundstypemodifyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtpaymerchantfundstypemodifyAPIRequest 修改摊位分账类型 API请求 tmall.nrt.pay.merchant.fundstype.modify

修改摊位分账类型

func NewTmallnrtpaymerchantfundstypemodifyRequest added in v1.3.1

func NewTmallnrtpaymerchantfundstypemodifyRequest() *TmallnrtpaymerchantfundstypemodifyAPIRequest

NewTmallnrtpaymerchantfundstypemodifyRequest 初始化TmallnrtpaymerchantfundstypemodifyAPIRequest对象

func (TmallnrtpaymerchantfundstypemodifyAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtpaymerchantfundstypemodifyAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtpaymerchantfundstypemodifyAPIRequest) GetModifyFundsTypeReqDto added in v1.3.1

GetModifyFundsTypeReqDto ModifyFundsTypeReqDto Getter

func (TmallnrtpaymerchantfundstypemodifyAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtpaymerchantfundstypemodifyAPIRequest) SetModifyFundsTypeReqDto added in v1.3.1

func (r *TmallnrtpaymerchantfundstypemodifyAPIRequest) SetModifyFundsTypeReqDto(_modifyFundsTypeReqDto *ModifyFundsTypeReqDto) error

SetModifyFundsTypeReqDto is ModifyFundsTypeReqDto Setter 请求参数

type TmallnrtpaymerchantfundstypemodifyAPIResponse added in v1.3.1

type TmallnrtpaymerchantfundstypemodifyAPIResponse struct {
	model.CommonResponse
	TmallnrtpaymerchantfundstypemodifyAPIResponseModel
}

TmallnrtpaymerchantfundstypemodifyAPIResponse 修改摊位分账类型 API返回值 tmall.nrt.pay.merchant.fundstype.modify

修改摊位分账类型

type TmallnrtpaymerchantfundstypemodifyAPIResponseModel added in v1.3.1

type TmallnrtpaymerchantfundstypemodifyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_pay_merchant_fundstype_modify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统参数
	Result *ResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TmallnrtpaymerchantfundstypemodifyAPIResponseModel is 修改摊位分账类型 成功返回结果

type TmallnrtpaymerchantstallsigningmodifyAPIRequest added in v1.3.1

type TmallnrtpaymerchantstallsigningmodifyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtpaymerchantstallsigningmodifyAPIRequest 三级商户进件修改 API请求 tmall.nrt.pay.merchant.stall.signing.modify

三级商户进件修改

func NewTmallnrtpaymerchantstallsigningmodifyRequest added in v1.3.1

func NewTmallnrtpaymerchantstallsigningmodifyRequest() *TmallnrtpaymerchantstallsigningmodifyAPIRequest

NewTmallnrtpaymerchantstallsigningmodifyRequest 初始化TmallnrtpaymerchantstallsigningmodifyAPIRequest对象

func (TmallnrtpaymerchantstallsigningmodifyAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtpaymerchantstallsigningmodifyAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtpaymerchantstallsigningmodifyAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtpaymerchantstallsigningmodifyAPIRequest) GetReq added in v1.3.1

GetReq Req Getter

func (*TmallnrtpaymerchantstallsigningmodifyAPIRequest) SetReq added in v1.3.1

SetReq is Req Setter 请求参数

type TmallnrtpaymerchantstallsigningmodifyAPIResponse added in v1.3.1

type TmallnrtpaymerchantstallsigningmodifyAPIResponse struct {
	model.CommonResponse
	TmallnrtpaymerchantstallsigningmodifyAPIResponseModel
}

TmallnrtpaymerchantstallsigningmodifyAPIResponse 三级商户进件修改 API返回值 tmall.nrt.pay.merchant.stall.signing.modify

三级商户进件修改

type TmallnrtpaymerchantstallsigningmodifyAPIResponseModel added in v1.3.1

type TmallnrtpaymerchantstallsigningmodifyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_pay_merchant_stall_signing_modify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallnrtpaymerchantstallsigningmodifyResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TmallnrtpaymerchantstallsigningmodifyAPIResponseModel is 三级商户进件修改 成功返回结果

type TmallnrtpaymerchantstallsigningmodifyResultDo added in v1.3.1

type TmallnrtpaymerchantstallsigningmodifyResultDo struct {
	// 系统自动生成
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 系统自动生成
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 系统自动生成
	Data *StallSigningRespDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallnrtpaymerchantstallsigningmodifyResultDo 结构体

type TmallnrtsceneactivityqueryAPIRequest added in v1.3.1

type TmallnrtsceneactivityqueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtsceneactivityqueryAPIRequest 喵零场景活动查询 API请求 tmall.nrt.scene.activity.query

喵零场景活动查询

func NewTmallnrtsceneactivityqueryRequest added in v1.3.1

func NewTmallnrtsceneactivityqueryRequest() *TmallnrtsceneactivityqueryAPIRequest

NewTmallnrtsceneactivityqueryRequest 初始化TmallnrtsceneactivityqueryAPIRequest对象

func (TmallnrtsceneactivityqueryAPIRequest) GetActivityId added in v1.3.1

func (r TmallnrtsceneactivityqueryAPIRequest) GetActivityId() int64

GetActivityId ActivityId Getter

func (TmallnrtsceneactivityqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtsceneactivityqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtsceneactivityqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtsceneactivityqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtsceneactivityqueryAPIRequest) GetBizCode added in v1.3.1

GetBizCode BizCode Getter

func (TmallnrtsceneactivityqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtsceneactivityqueryAPIRequest) SetActivityId added in v1.3.1

func (r *TmallnrtsceneactivityqueryAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动id

func (*TmallnrtsceneactivityqueryAPIRequest) SetBizCode added in v1.3.1

func (r *TmallnrtsceneactivityqueryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务身份

type TmallnrtsceneactivityqueryAPIResponse added in v1.3.1

type TmallnrtsceneactivityqueryAPIResponse struct {
	model.CommonResponse
	TmallnrtsceneactivityqueryAPIResponseModel
}

TmallnrtsceneactivityqueryAPIResponse 喵零场景活动查询 API返回值 tmall.nrt.scene.activity.query

喵零场景活动查询

type TmallnrtsceneactivityqueryAPIResponseModel added in v1.3.1

type TmallnrtsceneactivityqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_scene_activity_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 错误信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 数据
	Data *NrtSceneActivityDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallnrtsceneactivityqueryAPIResponseModel is 喵零场景活动查询 成功返回结果

type TmallnrtsmscodesendAPIRequest added in v1.3.1

type TmallnrtsmscodesendAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtsmscodesendAPIRequest 喵零发送短信 API请求 tmall.nrt.sms.code.send

喵零发送短信

func NewTmallnrtsmscodesendRequest added in v1.3.1

func NewTmallnrtsmscodesendRequest() *TmallnrtsmscodesendAPIRequest

NewTmallnrtsmscodesendRequest 初始化TmallnrtsmscodesendAPIRequest对象

func (TmallnrtsmscodesendAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtsmscodesendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtsmscodesendAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtsmscodesendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtsmscodesendAPIRequest) GetBizCode added in v1.3.1

func (r TmallnrtsmscodesendAPIRequest) GetBizCode() string

GetBizCode BizCode Getter

func (TmallnrtsmscodesendAPIRequest) GetPhone added in v1.3.1

GetPhone Phone Getter

func (TmallnrtsmscodesendAPIRequest) GetRawParams added in v1.3.1

func (r TmallnrtsmscodesendAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtsmscodesendAPIRequest) GetSmsParam added in v1.3.1

func (r TmallnrtsmscodesendAPIRequest) GetSmsParam() string

GetSmsParam SmsParam Getter

func (TmallnrtsmscodesendAPIRequest) GetType added in v1.3.1

GetType Type Getter

func (*TmallnrtsmscodesendAPIRequest) SetBizCode added in v1.3.1

func (r *TmallnrtsmscodesendAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务身份

func (*TmallnrtsmscodesendAPIRequest) SetPhone added in v1.3.1

func (r *TmallnrtsmscodesendAPIRequest) SetPhone(_phone string) error

SetPhone is Phone Setter 手机号

func (*TmallnrtsmscodesendAPIRequest) SetSmsParam added in v1.3.1

func (r *TmallnrtsmscodesendAPIRequest) SetSmsParam(_smsParam string) error

SetSmsParam is SmsParam Setter 短信参数

func (*TmallnrtsmscodesendAPIRequest) SetType added in v1.3.1

func (r *TmallnrtsmscodesendAPIRequest) SetType(_type string) error

SetType is Type Setter 1:喵零入会验证码

type TmallnrtsmscodesendAPIResponse added in v1.3.1

type TmallnrtsmscodesendAPIResponse struct {
	model.CommonResponse
	TmallnrtsmscodesendAPIResponseModel
}

TmallnrtsmscodesendAPIResponse 喵零发送短信 API返回值 tmall.nrt.sms.code.send

喵零发送短信

type TmallnrtsmscodesendAPIResponseModel added in v1.3.1

type TmallnrtsmscodesendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_sms_code_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 请求成功与否
	Succ string `json:"succ,omitempty" xml:"succ,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回数据对象
	Data *NrtSmsDto `json:"data,omitempty" xml:"data,omitempty"`
}

TmallnrtsmscodesendAPIResponseModel is 喵零发送短信 成功返回结果

type TmallnrtstallpayratiosynchronizeAPIRequest added in v1.3.1

type TmallnrtstallpayratiosynchronizeAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtstallpayratiosynchronizeAPIRequest 同步摊位收银比例 API请求 tmall.nrt.stall.payratio.synchronize

ISV同步摊位收银比例到阿里

func NewTmallnrtstallpayratiosynchronizeRequest added in v1.3.1

func NewTmallnrtstallpayratiosynchronizeRequest() *TmallnrtstallpayratiosynchronizeAPIRequest

NewTmallnrtstallpayratiosynchronizeRequest 初始化TmallnrtstallpayratiosynchronizeAPIRequest对象

func (TmallnrtstallpayratiosynchronizeAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtstallpayratiosynchronizeAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtstallpayratiosynchronizeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtstallpayratiosynchronizeAPIRequest) GetBizCode added in v1.3.1

GetBizCode BizCode Getter

func (TmallnrtstallpayratiosynchronizeAPIRequest) GetContractCode added in v1.3.1

GetContractCode ContractCode Getter

func (TmallnrtstallpayratiosynchronizeAPIRequest) GetPayRatio added in v1.3.1

GetPayRatio PayRatio Getter

func (TmallnrtstallpayratiosynchronizeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtstallpayratiosynchronizeAPIRequest) GetStoreCode added in v1.3.1

GetStoreCode StoreCode Getter

func (*TmallnrtstallpayratiosynchronizeAPIRequest) SetBizCode added in v1.3.1

SetBizCode is BizCode Setter 业务编码

func (*TmallnrtstallpayratiosynchronizeAPIRequest) SetContractCode added in v1.3.1

func (r *TmallnrtstallpayratiosynchronizeAPIRequest) SetContractCode(_contractCode string) error

SetContractCode is ContractCode Setter 合同编号

func (*TmallnrtstallpayratiosynchronizeAPIRequest) SetPayRatio added in v1.3.1

func (r *TmallnrtstallpayratiosynchronizeAPIRequest) SetPayRatio(_payRatio string) error

SetPayRatio is PayRatio Setter 收银比例

func (*TmallnrtstallpayratiosynchronizeAPIRequest) SetStoreCode added in v1.3.1

func (r *TmallnrtstallpayratiosynchronizeAPIRequest) SetStoreCode(_storeCode string) error

SetStoreCode is StoreCode Setter 摊位编码

type TmallnrtstallpayratiosynchronizeAPIResponse added in v1.3.1

type TmallnrtstallpayratiosynchronizeAPIResponse struct {
	model.CommonResponse
	TmallnrtstallpayratiosynchronizeAPIResponseModel
}

TmallnrtstallpayratiosynchronizeAPIResponse 同步摊位收银比例 API返回值 tmall.nrt.stall.payratio.synchronize

ISV同步摊位收银比例到阿里

type TmallnrtstallpayratiosynchronizeAPIResponseModel added in v1.3.1

type TmallnrtstallpayratiosynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_stall_payratio_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

TmallnrtstallpayratiosynchronizeAPIResponseModel is 同步摊位收银比例 成功返回结果

type TmallnrtstallsynchronizeAPIRequest added in v1.3.1

type TmallnrtstallsynchronizeAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtstallsynchronizeAPIRequest 摊位信息同步 API请求 tmall.nrt.stall.synchronize

摊位信息同步

func NewTmallnrtstallsynchronizeRequest added in v1.3.1

func NewTmallnrtstallsynchronizeRequest() *TmallnrtstallsynchronizeAPIRequest

NewTmallnrtstallsynchronizeRequest 初始化TmallnrtstallsynchronizeAPIRequest对象

func (TmallnrtstallsynchronizeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtstallsynchronizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtstallsynchronizeAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtstallsynchronizeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtstallsynchronizeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtstallsynchronizeAPIRequest) GetStall added in v1.3.1

GetStall Stall Getter

func (*TmallnrtstallsynchronizeAPIRequest) SetStall added in v1.3.1

SetStall is Stall Setter 参数对象

type TmallnrtstallsynchronizeAPIResponse added in v1.3.1

type TmallnrtstallsynchronizeAPIResponse struct {
	model.CommonResponse
	TmallnrtstallsynchronizeAPIResponseModel
}

TmallnrtstallsynchronizeAPIResponse 摊位信息同步 API返回值 tmall.nrt.stall.synchronize

摊位信息同步

type TmallnrtstallsynchronizeAPIResponseModel added in v1.3.1

type TmallnrtstallsynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_stall_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	TmallNrtStallSynchronize *ResultDo `json:"tmall_nrt_stall_synchronize,omitempty" xml:"tmall_nrt_stall_synchronize,omitempty"`
}

TmallnrtstallsynchronizeAPIResponseModel is 摊位信息同步 成功返回结果

type TmallnrtstorecontractqueryAPIRequest added in v1.3.1

type TmallnrtstorecontractqueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtstorecontractqueryAPIRequest 摊位合同查询接口 API请求 tmall.nrt.store.contract.query

摊位合同查询接口

func NewTmallnrtstorecontractqueryRequest added in v1.3.1

func NewTmallnrtstorecontractqueryRequest() *TmallnrtstorecontractqueryAPIRequest

NewTmallnrtstorecontractqueryRequest 初始化TmallnrtstorecontractqueryAPIRequest对象

func (TmallnrtstorecontractqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtstorecontractqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtstorecontractqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtstorecontractqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtstorecontractqueryAPIRequest) GetEaStoreContractQuery added in v1.3.1

func (r TmallnrtstorecontractqueryAPIRequest) GetEaStoreContractQuery() *NrtStoreQueryDto

GetEaStoreContractQuery EaStoreContractQuery Getter

func (TmallnrtstorecontractqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtstorecontractqueryAPIRequest) SetEaStoreContractQuery added in v1.3.1

func (r *TmallnrtstorecontractqueryAPIRequest) SetEaStoreContractQuery(_eaStoreContractQuery *NrtStoreQueryDto) error

SetEaStoreContractQuery is EaStoreContractQuery Setter 参数对象

type TmallnrtstorecontractqueryAPIResponse added in v1.3.1

type TmallnrtstorecontractqueryAPIResponse struct {
	model.CommonResponse
	TmallnrtstorecontractqueryAPIResponseModel
}

TmallnrtstorecontractqueryAPIResponse 摊位合同查询接口 API返回值 tmall.nrt.store.contract.query

摊位合同查询接口

type TmallnrtstorecontractqueryAPIResponseModel added in v1.3.1

type TmallnrtstorecontractqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_store_contract_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 参数对象
	Data []EaStoreContractDto `json:"data,omitempty" xml:"data>ea_store_contract_dto,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 错误信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 成功与否
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallnrtstorecontractqueryAPIResponseModel is 摊位合同查询接口 成功返回结果

type TmallnrtstorecontractsynAPIRequest added in v1.3.1

type TmallnrtstorecontractsynAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtstorecontractsynAPIRequest 喵零合同同步 API请求 tmall.nrt.store.contract.syn

喵零合同同步

func NewTmallnrtstorecontractsynRequest added in v1.3.1

func NewTmallnrtstorecontractsynRequest() *TmallnrtstorecontractsynAPIRequest

NewTmallnrtstorecontractsynRequest 初始化TmallnrtstorecontractsynAPIRequest对象

func (TmallnrtstorecontractsynAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtstorecontractsynAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtstorecontractsynAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtstorecontractsynAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtstorecontractsynAPIRequest) GetEaStoreContractDto added in v1.3.1

func (r TmallnrtstorecontractsynAPIRequest) GetEaStoreContractDto() *NrtStoreContractDto

GetEaStoreContractDto EaStoreContractDto Getter

func (TmallnrtstorecontractsynAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtstorecontractsynAPIRequest) SetEaStoreContractDto added in v1.3.1

func (r *TmallnrtstorecontractsynAPIRequest) SetEaStoreContractDto(_eaStoreContractDto *NrtStoreContractDto) error

SetEaStoreContractDto is EaStoreContractDto Setter 合同参数对象

type TmallnrtstorecontractsynAPIResponse added in v1.3.1

type TmallnrtstorecontractsynAPIResponse struct {
	model.CommonResponse
	TmallnrtstorecontractsynAPIResponseModel
}

TmallnrtstorecontractsynAPIResponse 喵零合同同步 API返回值 tmall.nrt.store.contract.syn

喵零合同同步

type TmallnrtstorecontractsynAPIResponseModel added in v1.3.1

type TmallnrtstorecontractsynAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_store_contract_syn_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 错误信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 摊位id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 成功与否
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallnrtstorecontractsynAPIResponseModel is 喵零合同同步 成功返回结果

type TmallnrtstoreitemfromonlineitemAPIRequest added in v1.3.1

type TmallnrtstoreitemfromonlineitemAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtstoreitemfromonlineitemAPIRequest 基于新模型商品id查询摊位子品id API请求 tmall.nrt.store.item.from.online.item

基于新模型商品id查询摊位子品id

func NewTmallnrtstoreitemfromonlineitemRequest added in v1.3.1

func NewTmallnrtstoreitemfromonlineitemRequest() *TmallnrtstoreitemfromonlineitemAPIRequest

NewTmallnrtstoreitemfromonlineitemRequest 初始化TmallnrtstoreitemfromonlineitemAPIRequest对象

func (TmallnrtstoreitemfromonlineitemAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtstoreitemfromonlineitemAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtstoreitemfromonlineitemAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtstoreitemfromonlineitemAPIRequest) GetMainItemId added in v1.3.1

GetMainItemId MainItemId Getter

func (TmallnrtstoreitemfromonlineitemAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallnrtstoreitemfromonlineitemAPIRequest) SetMainItemId added in v1.3.1

func (r *TmallnrtstoreitemfromonlineitemAPIRequest) SetMainItemId(_mainItemId int64) error

SetMainItemId is MainItemId Setter 线上商品编码

type TmallnrtstoreitemfromonlineitemAPIResponse added in v1.3.1

type TmallnrtstoreitemfromonlineitemAPIResponse struct {
	model.CommonResponse
	TmallnrtstoreitemfromonlineitemAPIResponseModel
}

TmallnrtstoreitemfromonlineitemAPIResponse 基于新模型商品id查询摊位子品id API返回值 tmall.nrt.store.item.from.online.item

基于新模型商品id查询摊位子品id

type TmallnrtstoreitemfromonlineitemAPIResponseModel added in v1.3.1

type TmallnrtstoreitemfromonlineitemAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_store_item_from_online_item_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *TmallnrtstoreitemfromonlineitemResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

TmallnrtstoreitemfromonlineitemAPIResponseModel is 基于新模型商品id查询摊位子品id 成功返回结果

type TmallnrtstoreitemfromonlineitemResultDto added in v1.3.1

type TmallnrtstoreitemfromonlineitemResultDto struct {
	// 商品集合
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
	// 接口执行错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallnrtstoreitemfromonlineitemResultDto 结构体

type TmallnrtstorerelationqueryAPIRequest added in v1.3.1

type TmallnrtstorerelationqueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TmallnrtstorerelationqueryAPIRequest 喵零门店关系查询 API请求 tmall.nrt.store.relation.query

喵零门店关系查询

func NewTmallnrtstorerelationqueryRequest added in v1.3.1

func NewTmallnrtstorerelationqueryRequest() *TmallnrtstorerelationqueryAPIRequest

NewTmallnrtstorerelationqueryRequest 初始化TmallnrtstorerelationqueryAPIRequest对象

func (TmallnrtstorerelationqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallnrtstorerelationqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallnrtstorerelationqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallnrtstorerelationqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallnrtstorerelationqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallnrtstorerelationqueryAPIRequest) GetStoreQuery added in v1.3.1

GetStoreQuery StoreQuery Getter

func (*TmallnrtstorerelationqueryAPIRequest) SetStoreQuery added in v1.3.1

func (r *TmallnrtstorerelationqueryAPIRequest) SetStoreQuery(_storeQuery *StoreQuery) error

SetStoreQuery is StoreQuery Setter 查询对象

type TmallnrtstorerelationqueryAPIResponse added in v1.3.1

type TmallnrtstorerelationqueryAPIResponse struct {
	model.CommonResponse
	TmallnrtstorerelationqueryAPIResponseModel
}

TmallnrtstorerelationqueryAPIResponse 喵零门店关系查询 API返回值 tmall.nrt.store.relation.query

喵零门店关系查询

type TmallnrtstorerelationqueryAPIResponseModel added in v1.3.1

type TmallnrtstorerelationqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_store_relation_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果对象
	Result *ResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TmallnrtstorerelationqueryAPIResponseModel is 喵零门店关系查询 成功返回结果

type TopAssetDataAuthReqDto added in v1.2.9

type TopAssetDataAuthReqDto struct {
	// 员工手机号
	PhoneList []string `json:"phone_list,omitempty" xml:"phone_list>string,omitempty"`
	// 同城站ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

TopAssetDataAuthReqDto 结构体

type TopAssetDataAuthResultDto added in v1.2.9

type TopAssetDataAuthResultDto struct {
	// 添加失败的手机号及原因
	Failed []AuthFailedMsg `json:"failed,omitempty" xml:"failed>auth_failed_msg,omitempty"`
}

TopAssetDataAuthResultDto 结构体

type TopHomeItemDto

type TopHomeItemDto struct {
	// 类目属性
	CProps []CategoryPropDto `json:"c_props,omitempty" xml:"c_props>category_prop_dto,omitempty"`
	// 图片信息
	Images []ItemImageDto `json:"images,omitempty" xml:"images>item_image_dto,omitempty"`
	// SKU
	Skus []SkuDto `json:"skus,omitempty" xml:"skus>sku_dto,omitempty"`
	// 摊位ID
	BoothId string `json:"booth_id,omitempty" xml:"booth_id,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 经销商编码
	DealerCode string `json:"dealer_code,omitempty" xml:"dealer_code,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// features
	Features string `json:"features,omitempty" xml:"features,omitempty"`
	// 卖场ID
	MallId string `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 修改时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 商品状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 叶子类目ID
	CId int64 `json:"c_id,omitempty" xml:"c_id,omitempty"`
	// 系统自动生成
	Ext *MacallineItemExtDto `json:"ext,omitempty" xml:"ext,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品类型,1:主商品,2:摊位商品,3:城市站商品
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 主商品ID
	MainItemId int64 `json:"main_item_id,omitempty" xml:"main_item_id,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

TopHomeItemDto 结构体

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL