drug

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 drug 包含阿里健康药API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaalihealthnrrxqueryimageAPIRequest added in v1.3.1

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

AlibabaalihealthnrrxqueryimageAPIRequest o2o查看处方图片 API请求 alibaba.alihealth.nr.rx.queryimage

o2o商家查看处方图片,包括电子图片与纸质图片

func NewAlibabaalihealthnrrxqueryimageRequest added in v1.3.1

func NewAlibabaalihealthnrrxqueryimageRequest() *AlibabaalihealthnrrxqueryimageAPIRequest

NewAlibabaalihealthnrrxqueryimageRequest 初始化AlibabaalihealthnrrxqueryimageAPIRequest对象

func (AlibabaalihealthnrrxqueryimageAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaalihealthnrrxqueryimageAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaalihealthnrrxqueryimageAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaalihealthnrrxqueryimageAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (AlibabaalihealthnrrxqueryimageAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaalihealthnrrxqueryimageAPIRequest) SetOrderId added in v1.3.1

func (r *AlibabaalihealthnrrxqueryimageAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 订单编号

type AlibabaalihealthnrrxqueryimageAPIResponse added in v1.3.1

type AlibabaalihealthnrrxqueryimageAPIResponse struct {
	model.CommonResponse
	AlibabaalihealthnrrxqueryimageAPIResponseModel
}

AlibabaalihealthnrrxqueryimageAPIResponse o2o查看处方图片 API返回值 alibaba.alihealth.nr.rx.queryimage

o2o商家查看处方图片,包括电子图片与纸质图片

type AlibabaalihealthnrrxqueryimageAPIResponseModel added in v1.3.1

type AlibabaalihealthnrrxqueryimageAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_nr_rx_queryimage_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误编码
	ErrorInfoCode string `json:"error_info_code,omitempty" xml:"error_info_code,omitempty"`
	// 错误描述
	ErrorInfoMsg string `json:"error_info_msg,omitempty" xml:"error_info_msg,omitempty"`
	// 处方图片url,多张图片用逗号分隔
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 成功或失败
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabaalihealthnrrxqueryimageAPIResponseModel is o2o查看处方图片 成功返回结果

type AlibabaalihealthnrspuqueryAPIRequest added in v1.3.1

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

AlibabaalihealthnrspuqueryAPIRequest 获取标品库标品信息 API请求 alibaba.alihealth.nr.spu.query

提供给ERP使用的,获取健康标品库信息

func NewAlibabaalihealthnrspuqueryRequest added in v1.3.1

func NewAlibabaalihealthnrspuqueryRequest() *AlibabaalihealthnrspuqueryAPIRequest

NewAlibabaalihealthnrspuqueryRequest 初始化AlibabaalihealthnrspuqueryAPIRequest对象

func (AlibabaalihealthnrspuqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaalihealthnrspuqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaalihealthnrspuqueryAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaalihealthnrspuqueryAPIRequest) GetOptions added in v1.3.1

GetOptions Options Getter

func (AlibabaalihealthnrspuqueryAPIRequest) GetQuery added in v1.3.1

GetQuery Query Getter

func (AlibabaalihealthnrspuqueryAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaalihealthnrspuqueryAPIRequest) SetOptions added in v1.3.1

SetOptions is Options Setter 查询选择器

func (*AlibabaalihealthnrspuqueryAPIRequest) SetQuery added in v1.3.1

SetQuery is Query Setter 标品查询条件

type AlibabaalihealthnrspuqueryAPIResponse added in v1.3.1

type AlibabaalihealthnrspuqueryAPIResponse struct {
	model.CommonResponse
	AlibabaalihealthnrspuqueryAPIResponseModel
}

AlibabaalihealthnrspuqueryAPIResponse 获取标品库标品信息 API返回值 alibaba.alihealth.nr.spu.query

提供给ERP使用的,获取健康标品库信息

type AlibabaalihealthnrspuqueryAPIResponseModel added in v1.3.1

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

AlibabaalihealthnrspuqueryAPIResponseModel is 获取标品库标品信息 成功返回结果

type AlibabaalihealthnrtrademedicalinsurancegetAPIRequest added in v1.3.1

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

AlibabaalihealthnrtrademedicalinsurancegetAPIRequest 阿里健康医保支付信息获取 API请求 alibaba.alihealth.nr.trade.medical.insurance.get

阿里健康医保支付信息获取

func NewAlibabaalihealthnrtrademedicalinsurancegetRequest added in v1.3.1

func NewAlibabaalihealthnrtrademedicalinsurancegetRequest() *AlibabaalihealthnrtrademedicalinsurancegetAPIRequest

NewAlibabaalihealthnrtrademedicalinsurancegetRequest 初始化AlibabaalihealthnrtrademedicalinsurancegetAPIRequest对象

func (AlibabaalihealthnrtrademedicalinsurancegetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaalihealthnrtrademedicalinsurancegetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaalihealthnrtrademedicalinsurancegetAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (AlibabaalihealthnrtrademedicalinsurancegetAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaalihealthnrtrademedicalinsurancegetAPIRequest) SetOrderId added in v1.3.1

SetOrderId is OrderId Setter 淘宝订单ID

type AlibabaalihealthnrtrademedicalinsurancegetAPIResponse added in v1.3.1

type AlibabaalihealthnrtrademedicalinsurancegetAPIResponse struct {
	model.CommonResponse
	AlibabaalihealthnrtrademedicalinsurancegetAPIResponseModel
}

AlibabaalihealthnrtrademedicalinsurancegetAPIResponse 阿里健康医保支付信息获取 API返回值 alibaba.alihealth.nr.trade.medical.insurance.get

阿里健康医保支付信息获取

type AlibabaalihealthnrtrademedicalinsurancegetAPIResponseModel added in v1.3.1

type AlibabaalihealthnrtrademedicalinsurancegetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_nr_trade_medical_insurance_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值总
	Result *ResponseResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaalihealthnrtrademedicalinsurancegetAPIResponseModel is 阿里健康医保支付信息获取 成功返回结果

type AlibabaalihealthnrtradeordergetAPIRequest added in v1.3.1

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

AlibabaalihealthnrtradeordergetAPIRequest 获取订单详情 API请求 alibaba.alihealth.nr.trade.order.get

阿里健康O2O,获取订单详情

func NewAlibabaalihealthnrtradeordergetRequest added in v1.3.1

func NewAlibabaalihealthnrtradeordergetRequest() *AlibabaalihealthnrtradeordergetAPIRequest

NewAlibabaalihealthnrtradeordergetRequest 初始化AlibabaalihealthnrtradeordergetAPIRequest对象

func (AlibabaalihealthnrtradeordergetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaalihealthnrtradeordergetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaalihealthnrtradeordergetAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (AlibabaalihealthnrtradeordergetAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaalihealthnrtradeordergetAPIRequest) SetOrderId added in v1.3.1

func (r *AlibabaalihealthnrtradeordergetAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 淘宝订单ID

type AlibabaalihealthnrtradeordergetAPIResponse added in v1.3.1

type AlibabaalihealthnrtradeordergetAPIResponse struct {
	model.CommonResponse
	AlibabaalihealthnrtradeordergetAPIResponseModel
}

AlibabaalihealthnrtradeordergetAPIResponse 获取订单详情 API返回值 alibaba.alihealth.nr.trade.order.get

阿里健康O2O,获取订单详情

type AlibabaalihealthnrtradeordergetAPIResponseModel added in v1.3.1

type AlibabaalihealthnrtradeordergetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_nr_trade_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单优惠列表
	PromotionList []OrderPromotionDto `json:"promotion_list,omitempty" xml:"promotion_list>order_promotion_dto,omitempty"`
	// 子订单
	SubOrderList []SubOrderDto `json:"sub_order_list,omitempty" xml:"sub_order_list>sub_order_dto,omitempty"`
	// 处方图片
	RxPicList []string `json:"rx_pic_list,omitempty" xml:"rx_pic_list>string,omitempty"`
	// 单店单日订单唯一序号
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,omitempty"`
	// 店铺storeId
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 店铺名
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 店铺经纬度
	StoreAddressPoi string `json:"store_address_poi,omitempty" xml:"store_address_poi,omitempty"`
	// 买家收货地址上的名字
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 买家收货地址上的电话
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 买家留言
	BuyerNote string `json:"buyer_note,omitempty" xml:"buyer_note,omitempty"`
	// 发票抬头
	InvoiceTitle string `json:"invoice_title,omitempty" xml:"invoice_title,omitempty"`
	// 买家地址
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 买家收货地址经纬度
	BuyerAddressPoi string `json:"buyer_address_poi,omitempty" xml:"buyer_address_poi,omitempty"`
	// 处方药回拨电话
	RxPhone string `json:"rx_phone,omitempty" xml:"rx_phone,omitempty"`
	// 收货地址-省
	BuyerAddressProvince string `json:"buyer_address_province,omitempty" xml:"buyer_address_province,omitempty"`
	// 收货地址-市
	BuyerAddressCity string `json:"buyer_address_city,omitempty" xml:"buyer_address_city,omitempty"`
	// 收货地址-区
	BuyerAddressDistrict string `json:"buyer_address_district,omitempty" xml:"buyer_address_district,omitempty"`
	// 预计送达时间
	ExpectedDeliveryTime string `json:"expected_delivery_time,omitempty" xml:"expected_delivery_time,omitempty"`
	// 1单轨、2双规、3医保支付、4医保自费
	RxType string `json:"rx_type,omitempty" xml:"rx_type,omitempty"`
	// 高德、本地商户
	OutStoreId string `json:"out_store_id,omitempty" xml:"out_store_id,omitempty"`
	// 包含医保结算ID,就诊�ID,统筹医保金额,医保个账金额,现金金额,就诊人员编号,退款结算ID(按照字段排列顺序)。支付成功后,退款成功之前有六个字段,退款成功之后该字符串变成七个字段
	MiCheckParam string `json:"mi_check_param,omitempty" xml:"mi_check_param,omitempty"`
	// 淘宝订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 订单状态:1-等待买家付款;2-等待商家接单;4-退款中;12-商家配送中;20-订单关闭;22-订单关闭;21-交易完成;
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 订单创建时间
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 订单支付时间
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 店铺shopId
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 订单总金额
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 实收金额
	ActualReceiveFee int64 `json:"actual_receive_fee,omitempty" xml:"actual_receive_fee,omitempty"`
	// 实付金额
	ActualPayFee int64 `json:"actual_pay_fee,omitempty" xml:"actual_pay_fee,omitempty"`
	// 总优惠信息
	TotalPromotion int64 `json:"total_promotion,omitempty" xml:"total_promotion,omitempty"`
	// 该店铺的老顾客
	IsFrequenter int64 `json:"is_frequenter,omitempty" xml:"is_frequenter,omitempty"`
	// 商家设置的运费
	Carriage int64 `json:"carriage,omitempty" xml:"carriage,omitempty"`
	// 处方药标示
	Rx int64 `json:"rx,omitempty" xml:"rx,omitempty"`
	// 自提标识
	DrugTake int64 `json:"drug_take,omitempty" xml:"drug_take,omitempty"`
}

AlibabaalihealthnrtradeordergetAPIResponseModel is 获取订单详情 成功返回结果

type AlibabaalihealthnrtradeordergetorderdetailAPIRequest added in v1.3.1

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

AlibabaalihealthnrtradeordergetorderdetailAPIRequest 根据订单id获取单条订单详情 API请求 alibaba.alihealth.nr.trade.order.getorderdetail

阿里健康O2O,获取订单详情,修复组合商品价格精度问题

func NewAlibabaalihealthnrtradeordergetorderdetailRequest added in v1.3.1

func NewAlibabaalihealthnrtradeordergetorderdetailRequest() *AlibabaalihealthnrtradeordergetorderdetailAPIRequest

NewAlibabaalihealthnrtradeordergetorderdetailRequest 初始化AlibabaalihealthnrtradeordergetorderdetailAPIRequest对象

func (AlibabaalihealthnrtradeordergetorderdetailAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaalihealthnrtradeordergetorderdetailAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaalihealthnrtradeordergetorderdetailAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (AlibabaalihealthnrtradeordergetorderdetailAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaalihealthnrtradeordergetorderdetailAPIRequest) SetOrderId added in v1.3.1

SetOrderId is OrderId Setter 淘宝订单ID

type AlibabaalihealthnrtradeordergetorderdetailAPIResponse added in v1.3.1

type AlibabaalihealthnrtradeordergetorderdetailAPIResponse struct {
	model.CommonResponse
	AlibabaalihealthnrtradeordergetorderdetailAPIResponseModel
}

AlibabaalihealthnrtradeordergetorderdetailAPIResponse 根据订单id获取单条订单详情 API返回值 alibaba.alihealth.nr.trade.order.getorderdetail

阿里健康O2O,获取订单详情,修复组合商品价格精度问题

type AlibabaalihealthnrtradeordergetorderdetailAPIResponseModel added in v1.3.1

type AlibabaalihealthnrtradeordergetorderdetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_nr_trade_order_getorderdetail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 处方图片
	RxPicList []string `json:"rx_pic_list,omitempty" xml:"rx_pic_list>string,omitempty"`
	// 子订单
	SubOrderList []SubOrderDto `json:"sub_order_list,omitempty" xml:"sub_order_list>sub_order_dto,omitempty"`
	// 订单优惠列表
	PromotionList []OrderPromotionDto `json:"promotion_list,omitempty" xml:"promotion_list>order_promotion_dto,omitempty"`
	// 高德,本地商户
	OutStoreId string `json:"out_store_id,omitempty" xml:"out_store_id,omitempty"`
	// 1单轨、2双规、3医保支付、4医保自费
	RxType string `json:"rx_type,omitempty" xml:"rx_type,omitempty"`
	// 预计送达时间
	ExpectedDeliveryTime string `json:"expected_delivery_time,omitempty" xml:"expected_delivery_time,omitempty"`
	// 收货地址-区
	BuyerAddressDistrict string `json:"buyer_address_district,omitempty" xml:"buyer_address_district,omitempty"`
	// 收货地址-市
	BuyerAddressCity string `json:"buyer_address_city,omitempty" xml:"buyer_address_city,omitempty"`
	// 收货地址-省
	BuyerAddressProvince string `json:"buyer_address_province,omitempty" xml:"buyer_address_province,omitempty"`
	// 处方药回拨电话
	RxPhone string `json:"rx_phone,omitempty" xml:"rx_phone,omitempty"`
	// 买家收货地址经纬度
	BuyerAddressPoi string `json:"buyer_address_poi,omitempty" xml:"buyer_address_poi,omitempty"`
	// 买家地址
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 发票抬头
	InvoiceTitle string `json:"invoice_title,omitempty" xml:"invoice_title,omitempty"`
	// 买家留言
	BuyerNote string `json:"buyer_note,omitempty" xml:"buyer_note,omitempty"`
	// 买家收货地址上的电话
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 买家收货地址上的名字
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 店铺经纬度
	StoreAddressPoi string `json:"store_address_poi,omitempty" xml:"store_address_poi,omitempty"`
	// 店铺名
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// abc2123sdfc
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 单店单日订单唯一序号
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,omitempty"`
	//
	NewOaid string `json:"new_oaid,omitempty" xml:"new_oaid,omitempty"`
	// 包含医保结算ID,就诊�ID,统筹医保金额,医保个账金额,现金金额,就诊人员编号,退款结算ID(按照字段排列顺序)。支付成功后,退款成功之前有六个字段,退款成功之后该字符串变成七个字段
	MiCheckParam string `json:"mi_check_param,omitempty" xml:"mi_check_param,omitempty"`
	// 自提标识
	DrugTake int64 `json:"drug_take,omitempty" xml:"drug_take,omitempty"`
	// 处方药标示
	Rx int64 `json:"rx,omitempty" xml:"rx,omitempty"`
	// 商家设置的运费
	Carriage int64 `json:"carriage,omitempty" xml:"carriage,omitempty"`
	// 该店铺的老顾客
	IsFrequenter int64 `json:"is_frequenter,omitempty" xml:"is_frequenter,omitempty"`
	// 总优惠信息
	TotalPromotion int64 `json:"total_promotion,omitempty" xml:"total_promotion,omitempty"`
	// 实付金额
	ActualPayFee int64 `json:"actual_pay_fee,omitempty" xml:"actual_pay_fee,omitempty"`
	// 实收金额
	ActualReceiveFee int64 `json:"actual_receive_fee,omitempty" xml:"actual_receive_fee,omitempty"`
	// 订单总金额
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 店铺shopId
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 订单支付时间
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 订单创建时间
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 订单状态:1-等待买家付款;2-等待商家接单;4-退款中;12-商家配送中;20-订单关闭;22-订单关闭;21-交易完成;
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 淘宝订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

AlibabaalihealthnrtradeordergetorderdetailAPIResponseModel is 根据订单id获取单条订单详情 成功返回结果

type AlibabahealthnrlogisticsdeliverynoupdateAPIRequest added in v1.3.1

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

AlibabahealthnrlogisticsdeliverynoupdateAPIRequest 上传订单同城快递单号 API请求 alibaba.health.nr.logistics.deliveryno.update

上传订单同城快递单号

func NewAlibabahealthnrlogisticsdeliverynoupdateRequest added in v1.3.1

func NewAlibabahealthnrlogisticsdeliverynoupdateRequest() *AlibabahealthnrlogisticsdeliverynoupdateAPIRequest

NewAlibabahealthnrlogisticsdeliverynoupdateRequest 初始化AlibabahealthnrlogisticsdeliverynoupdateAPIRequest对象

func (AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) GetCourierNo added in v1.3.1

GetCourierNo CourierNo Getter

func (AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) GetCpCode added in v1.3.1

GetCpCode CpCode Getter

func (AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) GetForce added in v1.3.1

GetForce Force Getter

func (AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) SetCourierNo added in v1.3.1

SetCourierNo is CourierNo Setter 快递单号

func (*AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) SetCpCode added in v1.3.1

SetCpCode is CpCode Setter 快递公司代码

func (*AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) SetForce added in v1.3.1

SetForce is Force Setter 是否强制上传,1代表强制,其他值代表需要进行cp_code合法性校验

func (*AlibabahealthnrlogisticsdeliverynoupdateAPIRequest) SetOrderId added in v1.3.1

SetOrderId is OrderId Setter 订单ID

type AlibabahealthnrlogisticsdeliverynoupdateAPIResponse added in v1.3.1

type AlibabahealthnrlogisticsdeliverynoupdateAPIResponse struct {
	model.CommonResponse
	AlibabahealthnrlogisticsdeliverynoupdateAPIResponseModel
}

AlibabahealthnrlogisticsdeliverynoupdateAPIResponse 上传订单同城快递单号 API返回值 alibaba.health.nr.logistics.deliveryno.update

上传订单同城快递单号

type AlibabahealthnrlogisticsdeliverynoupdateAPIResponseModel added in v1.3.1

type AlibabahealthnrlogisticsdeliverynoupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_health_nr_logistics_deliveryno_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 更新成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabahealthnrlogisticsdeliverynoupdateAPIResponseModel is 上传订单同城快递单号 成功返回结果

type AlibabahealthnrlogisticswaybillgetAPIRequest added in v1.3.1

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

AlibabahealthnrlogisticswaybillgetAPIRequest 电子面单查询接口 API请求 alibaba.health.nr.logistics.waybill.get

商家登录后根据订单号查询物流单号及电子面单信息

func NewAlibabahealthnrlogisticswaybillgetRequest added in v1.3.1

func NewAlibabahealthnrlogisticswaybillgetRequest() *AlibabahealthnrlogisticswaybillgetAPIRequest

NewAlibabahealthnrlogisticswaybillgetRequest 初始化AlibabahealthnrlogisticswaybillgetAPIRequest对象

func (AlibabahealthnrlogisticswaybillgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabahealthnrlogisticswaybillgetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabahealthnrlogisticswaybillgetAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (AlibabahealthnrlogisticswaybillgetAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabahealthnrlogisticswaybillgetAPIRequest) SetOrderId added in v1.3.1

SetOrderId is OrderId Setter 订单id

type AlibabahealthnrlogisticswaybillgetAPIResponse added in v1.3.1

type AlibabahealthnrlogisticswaybillgetAPIResponse struct {
	model.CommonResponse
	AlibabahealthnrlogisticswaybillgetAPIResponseModel
}

AlibabahealthnrlogisticswaybillgetAPIResponse 电子面单查询接口 API返回值 alibaba.health.nr.logistics.waybill.get

商家登录后根据订单号查询物流单号及电子面单信息

type AlibabahealthnrlogisticswaybillgetAPIResponseModel added in v1.3.1

type AlibabahealthnrlogisticswaybillgetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_health_nr_logistics_waybill_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果对象
	ResponseResult *ResponseResult `json:"response_result,omitempty" xml:"response_result,omitempty"`
}

AlibabahealthnrlogisticswaybillgetAPIResponseModel is 电子面单查询接口 成功返回结果

type Cat

type Cat struct {
	// catId
	CatId string `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// catName
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// itemCount
	ItemCount int64 `json:"item_count,omitempty" xml:"item_count,omitempty"`
}

Cat 结构体

type FundBillDto

type FundBillDto struct {
	// 支付渠道代码
	FundChannel string `json:"fund_channel,omitempty" xml:"fund_channel,omitempty"`
	// 金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
}

FundBillDto 结构体

type Itemlist

type Itemlist struct {
	// itemId
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// isO2O
	IsO2o string `json:"is_o2o,omitempty" xml:"is_o2o,omitempty"`
	// itemName
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// listPicUrl
	ListPicUrl string `json:"list_pic_url,omitempty" xml:"list_pic_url,omitempty"`
	// oriPrice
	OriPrice string `json:"ori_price,omitempty" xml:"ori_price,omitempty"`
	// price
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// symptom
	Symptom string `json:"symptom,omitempty" xml:"symptom,omitempty"`
	// quantity
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// deliveryTime
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// deliveryTypeDesc
	DeliveryTypeDesc string `json:"delivery_type_desc,omitempty" xml:"delivery_type_desc,omitempty"`
	// backCate
	BackCate int64 `json:"back_cate,omitempty" xml:"back_cate,omitempty"`
	// atLimit
	AtLimit int64 `json:"at_limit,omitempty" xml:"at_limit,omitempty"`
	// deliveryType
	DeliveryType int64 `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
	// rx
	Rx bool `json:"rx,omitempty" xml:"rx,omitempty"`
}

Itemlist 结构体

type LogisticsOrderDto

type LogisticsOrderDto struct {
	// 快递公司编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 快递单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 电子面单
	Waybill string `json:"waybill,omitempty" xml:"waybill,omitempty"`
}

LogisticsOrderDto 结构体

type MedicalInsurancePaymentDto

type MedicalInsurancePaymentDto struct {
	// 医保支付金额信息
	FundBillList []FundBillDto `json:"fund_bill_list,omitempty" xml:"fund_bill_list>fund_bill_dto,omitempty"`
	// 医保局返回的医保支付内容
	IndustrySepcDetail string `json:"industry_sepc_detail,omitempty" xml:"industry_sepc_detail,omitempty"`
}

MedicalInsurancePaymentDto 结构体

type O2oinShopSearchResponse added in v1.3.1

type O2oinShopSearchResponse struct {
	// itemList
	ItemList []Itemlist `json:"item_list,omitempty" xml:"item_list>itemlist,omitempty"`
	// totalCount
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

O2oinShopSearchResponse 结构体

type OrderPromotionDto

type OrderPromotionDto struct {
	// 优惠名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 优惠类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 优惠金额
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

OrderPromotionDto 结构体

type PageResponse

type PageResponse struct {
	// 结果列表
	Spus []TopAlihealthSpuQuery `json:"spus,omitempty" xml:"spus>top_alihealth_spu_query,omitempty"`
	// 当前页码
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 总页数
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

PageResponse 结构体

type ResponseResult

type ResponseResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 结果
	Result *PageResponse `json:"result,omitempty" xml:"result,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResponseResult 结构体

type StoreDetailDto

type StoreDetailDto struct {
	// tags
	Tags []Tags `json:"tags,omitempty" xml:"tags>tags,omitempty"`
	// cat
	Cats []Cat `json:"cats,omitempty" xml:"cats>cat,omitempty"`
	// storeDetail
	StoreDetail *StoreDto `json:"store_detail,omitempty" xml:"store_detail,omitempty"`
}

StoreDetailDto 结构体

type StoreDto

type StoreDto struct {
	// shopId
	ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// storeId
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// storeName
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// picURL
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// businessStatus
	BusinessStatus string `json:"business_status,omitempty" xml:"business_status,omitempty"`
	// orderCountDesc
	OrderCountDesc string `json:"order_count_desc,omitempty" xml:"order_count_desc,omitempty"`
	// notice
	Notice string `json:"notice,omitempty" xml:"notice,omitempty"`
	// deliveryTime
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// address
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// tele
	Tele string `json:"tele,omitempty" xml:"tele,omitempty"`
	// latitude
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// longitude
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// earliestTimeOfDelivery
	EarliestTimeOfDelivery string `json:"earliest_time_of_delivery,omitempty" xml:"earliest_time_of_delivery,omitempty"`
	// punctualityRate
	PunctualityRate string `json:"punctuality_rate,omitempty" xml:"punctuality_rate,omitempty"`
	// dpavgscore
	Dpavgscore string `json:"dpavgscore,omitempty" xml:"dpavgscore,omitempty"`
	// areas
	Areas string `json:"areas,omitempty" xml:"areas,omitempty"`
	// sellerNick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// deliveryTypeDesc
	DeliveryTypeDesc string `json:"delivery_type_desc,omitempty" xml:"delivery_type_desc,omitempty"`
	// orderCount
	OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"`
	// minimumAccount
	MinimumAccount int64 `json:"minimum_account,omitempty" xml:"minimum_account,omitempty"`
	// deliveryAccount
	DeliveryAccount int64 `json:"delivery_account,omitempty" xml:"delivery_account,omitempty"`
	// deliveryType
	DeliveryType int64 `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
}

StoreDto 结构体

type SubOrderDto

type SubOrderDto struct {
	// 套装商品子商品系信息
	SuitSubItemDtoList []SuitSubItemDto `json:"suit_sub_item_dto_list,omitempty" xml:"suit_sub_item_dto_list>suit_sub_item_dto,omitempty"`
	// 商品单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商家自定义商品ID
	OutItemdId string `json:"out_itemd_id,omitempty" xml:"out_itemd_id,omitempty"`
	// 子订单ID
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品营销类型:0-普通,1-满就送;2-兑换券
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 是否为处方药
	Rx int64 `json:"rx,omitempty" xml:"rx,omitempty"`
	// 商品的skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

SubOrderDto 结构体

type SuitSubItemDto

type SuitSubItemDto struct {
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 药标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商家自定义商品ID
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 个数
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

SuitSubItemDto 结构体

type Tags

type Tags struct {
	// type
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// picPath
	PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"`
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// shortDesc
	ShortDesc string `json:"short_desc,omitempty" xml:"short_desc,omitempty"`
	// manFanType
	ManFanType string `json:"man_fan_type,omitempty" xml:"man_fan_type,omitempty"`
}

Tags 结构体

type TaobaoalihealthdrugstoregetAPIRequest added in v1.3.1

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

TaobaoalihealthdrugstoregetAPIRequest 根据店铺id获取店铺详情 API请求 taobao.alihealth.drug.store.get

根据店铺id获取店铺详情

func NewTaobaoalihealthdrugstoregetRequest added in v1.3.1

func NewTaobaoalihealthdrugstoregetRequest() *TaobaoalihealthdrugstoregetAPIRequest

NewTaobaoalihealthdrugstoregetRequest 初始化TaobaoalihealthdrugstoregetAPIRequest对象

func (TaobaoalihealthdrugstoregetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoalihealthdrugstoregetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalihealthdrugstoregetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalihealthdrugstoregetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalihealthdrugstoregetAPIRequest) GetShopId added in v1.3.1

GetShopId ShopId Getter

func (*TaobaoalihealthdrugstoregetAPIRequest) SetShopId added in v1.3.1

func (r *TaobaoalihealthdrugstoregetAPIRequest) SetShopId(_shopId int64) error

SetShopId is ShopId Setter 店铺ID

type TaobaoalihealthdrugstoregetAPIResponse added in v1.3.1

type TaobaoalihealthdrugstoregetAPIResponse struct {
	model.CommonResponse
	TaobaoalihealthdrugstoregetAPIResponseModel
}

TaobaoalihealthdrugstoregetAPIResponse 根据店铺id获取店铺详情 API返回值 taobao.alihealth.drug.store.get

根据店铺id获取店铺详情

type TaobaoalihealthdrugstoregetAPIResponseModel added in v1.3.1

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

TaobaoalihealthdrugstoregetAPIResponseModel is 根据店铺id获取店铺详情 成功返回结果

type TaobaoalihealthdrugstoresearchAPIRequest added in v1.3.1

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

TaobaoalihealthdrugstoresearchAPIRequest 药品店内搜索 API请求 taobao.alihealth.drug.store.search

提供给千牛智能客服,在阿里健康O2O店铺内搜索药品

func NewTaobaoalihealthdrugstoresearchRequest added in v1.3.1

func NewTaobaoalihealthdrugstoresearchRequest() *TaobaoalihealthdrugstoresearchAPIRequest

NewTaobaoalihealthdrugstoresearchRequest 初始化TaobaoalihealthdrugstoresearchAPIRequest对象

func (TaobaoalihealthdrugstoresearchAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoalihealthdrugstoresearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalihealthdrugstoresearchAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalihealthdrugstoresearchAPIRequest) GetKeyword added in v1.3.1

GetKeyword Keyword Getter

func (TaobaoalihealthdrugstoresearchAPIRequest) GetPageNo added in v1.3.1

GetPageNo PageNo Getter

func (TaobaoalihealthdrugstoresearchAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaoalihealthdrugstoresearchAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalihealthdrugstoresearchAPIRequest) GetShopId added in v1.3.1

GetShopId ShopId Getter

func (*TaobaoalihealthdrugstoresearchAPIRequest) SetKeyword added in v1.3.1

func (r *TaobaoalihealthdrugstoresearchAPIRequest) SetKeyword(_keyword string) error

SetKeyword is Keyword Setter 搜索关键字

func (*TaobaoalihealthdrugstoresearchAPIRequest) SetPageNo added in v1.3.1

SetPageNo is PageNo Setter 页码

func (*TaobaoalihealthdrugstoresearchAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 每页显示数量

func (*TaobaoalihealthdrugstoresearchAPIRequest) SetShopId added in v1.3.1

SetShopId is ShopId Setter 店铺ID

type TaobaoalihealthdrugstoresearchAPIResponse added in v1.3.1

type TaobaoalihealthdrugstoresearchAPIResponse struct {
	model.CommonResponse
	TaobaoalihealthdrugstoresearchAPIResponseModel
}

TaobaoalihealthdrugstoresearchAPIResponse 药品店内搜索 API返回值 taobao.alihealth.drug.store.search

提供给千牛智能客服,在阿里健康O2O店铺内搜索药品

type TaobaoalihealthdrugstoresearchAPIResponseModel added in v1.3.1

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

TaobaoalihealthdrugstoresearchAPIResponseModel is 药品店内搜索 成功返回结果

type TaobaoalihealthdrugusershopgetAPIRequest added in v1.3.1

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

TaobaoalihealthdrugusershopgetAPIRequest 根据用户id获取店铺id API请求 taobao.alihealth.drug.user.shop.get

提供给千牛智能客服,获取用户当前咨询的店铺ID

func NewTaobaoalihealthdrugusershopgetRequest added in v1.3.1

func NewTaobaoalihealthdrugusershopgetRequest() *TaobaoalihealthdrugusershopgetAPIRequest

NewTaobaoalihealthdrugusershopgetRequest 初始化TaobaoalihealthdrugusershopgetAPIRequest对象

func (TaobaoalihealthdrugusershopgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoalihealthdrugusershopgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoalihealthdrugusershopgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoalihealthdrugusershopgetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoalihealthdrugusershopgetAPIRequest) GetUserNick added in v1.3.1

GetUserNick UserNick Getter

func (*TaobaoalihealthdrugusershopgetAPIRequest) SetUserNick added in v1.3.1

func (r *TaobaoalihealthdrugusershopgetAPIRequest) SetUserNick(_userNick string) error

SetUserNick is UserNick Setter 用户昵称

type TaobaoalihealthdrugusershopgetAPIResponse added in v1.3.1

type TaobaoalihealthdrugusershopgetAPIResponse struct {
	model.CommonResponse
	TaobaoalihealthdrugusershopgetAPIResponseModel
}

TaobaoalihealthdrugusershopgetAPIResponse 根据用户id获取店铺id API返回值 taobao.alihealth.drug.user.shop.get

提供给千牛智能客服,获取用户当前咨询的店铺ID

type TaobaoalihealthdrugusershopgetAPIResponseModel added in v1.3.1

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

TaobaoalihealthdrugusershopgetAPIResponseModel is 根据用户id获取店铺id 成功返回结果

type TopAlihealthDrugInstructionDto

type TopAlihealthDrugInstructionDto struct {
	// 功能主治
	Purpose string `json:"purpose,omitempty" xml:"purpose,omitempty"`
	// 禁忌
	Taboo string `json:"taboo,omitempty" xml:"taboo,omitempty"`
	// 注意事项
	Notes string `json:"notes,omitempty" xml:"notes,omitempty"`
	// 儿童提醒
	ChildReminder string `json:"child_reminder,omitempty" xml:"child_reminder,omitempty"`
	// 孕妇提醒
	GravidaReminder string `json:"gravida_reminder,omitempty" xml:"gravida_reminder,omitempty"`
	// 老人提醒
	OldManReminder string `json:"old_man_reminder,omitempty" xml:"old_man_reminder,omitempty"`
	// 不良反应
	Adr string `json:"adr,omitempty" xml:"adr,omitempty"`
	// 药物成分
	Ingredient string `json:"ingredient,omitempty" xml:"ingredient,omitempty"`
	// 药品性状
	Traits string `json:"traits,omitempty" xml:"traits,omitempty"`
	// 药物相互作用
	Interaction string `json:"interaction,omitempty" xml:"interaction,omitempty"`
	// 药理作用
	PharmacologicalEffects string `json:"pharmacological_effects,omitempty" xml:"pharmacological_effects,omitempty"`
	// 用法用量
	Dosage string `json:"dosage,omitempty" xml:"dosage,omitempty"`
}

TopAlihealthDrugInstructionDto 结构体

type TopAlihealthSpuQuery

type TopAlihealthSpuQuery struct {
	// 69码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 批准文号
	ApprovalNumber string `json:"approval_number,omitempty" xml:"approval_number,omitempty"`
	// 通用名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 规格
	Specification string `json:"specification,omitempty" xml:"specification,omitempty"`
	// 生产厂商
	Manufacturer string `json:"manufacturer,omitempty" xml:"manufacturer,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// spu标题
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 别名,也就是商品名称
	TitleAlias string `json:"title_alias,omitempty" xml:"title_alias,omitempty"`
	// 开放id
	OpenId int64 `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 偏移量
	Offset int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// 当前页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 每页条数,0不分页,返回全部
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 药品SPUID
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// 药物说明书信息
	AlihealthDrugInstructionDTO *TopAlihealthDrugInstructionDto `json:"alihealth_drug_instruction_d_t_o,omitempty" xml:"alihealth_drug_instruction_d_t_o,omitempty"`
	// 是否只搜索药品
	OnlyDrug bool `json:"only_drug,omitempty" xml:"only_drug,omitempty"`
}

TopAlihealthSpuQuery 结构体

type TopAlihealthSpuQueryOptions

type TopAlihealthSpuQueryOptions struct {
	// 查询选择器,是否查询说明书信息
	IncludeInstruction bool `json:"include_instruction,omitempty" xml:"include_instruction,omitempty"`
}

TopAlihealthSpuQueryOptions 结构体

Jump to

Keyboard shortcuts

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