drug

package
v1.3.3 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.2.0

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

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

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

func NewAlibabaAlihealthNrRxQueryimageRequest

func NewAlibabaAlihealthNrRxQueryimageRequest() *AlibabaAlihealthNrRxQueryimageAPIRequest

NewAlibabaAlihealthNrRxQueryimageRequest 初始化AlibabaAlihealthNrRxQueryimageAPIRequest对象

func (AlibabaAlihealthNrRxQueryimageAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAlihealthNrRxQueryimageAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrRxQueryimageAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrRxQueryimageAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlibabaAlihealthNrRxQueryimageAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAlihealthNrRxQueryimageAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 订单编号

type AlibabaAlihealthNrRxQueryimageAPIResponse

type AlibabaAlihealthNrRxQueryimageAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrRxQueryimageAPIResponseModel
}

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

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

type AlibabaAlihealthNrRxQueryimageAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaAlihealthNrSpuQueryRequest

func NewAlibabaAlihealthNrSpuQueryRequest() *AlibabaAlihealthNrSpuQueryAPIRequest

NewAlibabaAlihealthNrSpuQueryRequest 初始化AlibabaAlihealthNrSpuQueryAPIRequest对象

func (AlibabaAlihealthNrSpuQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAlihealthNrSpuQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrSpuQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrSpuQueryAPIRequest) GetOptions added in v1.2.0

GetOptions Options Getter

func (AlibabaAlihealthNrSpuQueryAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (AlibabaAlihealthNrSpuQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAlihealthNrSpuQueryAPIRequest) SetOptions added in v1.2.0

SetOptions is Options Setter 查询选择器

func (*AlibabaAlihealthNrSpuQueryAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 标品查询条件

type AlibabaAlihealthNrSpuQueryAPIResponse

type AlibabaAlihealthNrSpuQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrSpuQueryAPIResponseModel
}

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

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

type AlibabaAlihealthNrSpuQueryAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaAlihealthNrTradeMedicalInsuranceGetRequest

func NewAlibabaAlihealthNrTradeMedicalInsuranceGetRequest() *AlibabaAlihealthNrTradeMedicalInsuranceGetAPIRequest

NewAlibabaAlihealthNrTradeMedicalInsuranceGetRequest 初始化AlibabaAlihealthNrTradeMedicalInsuranceGetAPIRequest对象

func (AlibabaAlihealthNrTradeMedicalInsuranceGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrTradeMedicalInsuranceGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrTradeMedicalInsuranceGetAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlibabaAlihealthNrTradeMedicalInsuranceGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAlihealthNrTradeMedicalInsuranceGetAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 淘宝订单ID

type AlibabaAlihealthNrTradeMedicalInsuranceGetAPIResponse

type AlibabaAlihealthNrTradeMedicalInsuranceGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrTradeMedicalInsuranceGetAPIResponseModel
}

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

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

type AlibabaAlihealthNrTradeMedicalInsuranceGetAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaAlihealthNrTradeOrderGetRequest

func NewAlibabaAlihealthNrTradeOrderGetRequest() *AlibabaAlihealthNrTradeOrderGetAPIRequest

NewAlibabaAlihealthNrTradeOrderGetRequest 初始化AlibabaAlihealthNrTradeOrderGetAPIRequest对象

func (AlibabaAlihealthNrTradeOrderGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrTradeOrderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrTradeOrderGetAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlibabaAlihealthNrTradeOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAlihealthNrTradeOrderGetAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 淘宝订单ID

type AlibabaAlihealthNrTradeOrderGetAPIResponse

type AlibabaAlihealthNrTradeOrderGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrTradeOrderGetAPIResponseModel
}

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

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

type AlibabaAlihealthNrTradeOrderGetAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaAlihealthNrTradeOrderGetorderdetailRequest

func NewAlibabaAlihealthNrTradeOrderGetorderdetailRequest() *AlibabaAlihealthNrTradeOrderGetorderdetailAPIRequest

NewAlibabaAlihealthNrTradeOrderGetorderdetailRequest 初始化AlibabaAlihealthNrTradeOrderGetorderdetailAPIRequest对象

func (AlibabaAlihealthNrTradeOrderGetorderdetailAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrTradeOrderGetorderdetailAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrTradeOrderGetorderdetailAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlibabaAlihealthNrTradeOrderGetorderdetailAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAlihealthNrTradeOrderGetorderdetailAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 淘宝订单ID

type AlibabaAlihealthNrTradeOrderGetorderdetailAPIResponse

type AlibabaAlihealthNrTradeOrderGetorderdetailAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrTradeOrderGetorderdetailAPIResponseModel
}

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

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

type AlibabaAlihealthNrTradeOrderGetorderdetailAPIResponseModel added in v1.2.0

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.2.0

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

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

上传订单同城快递单号

func NewAlibabaHealthNrLogisticsDeliverynoUpdateRequest

func NewAlibabaHealthNrLogisticsDeliverynoUpdateRequest() *AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest

NewAlibabaHealthNrLogisticsDeliverynoUpdateRequest 初始化AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest对象

func (AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) GetCourierNo added in v1.2.0

GetCourierNo CourierNo Getter

func (AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) GetCpCode added in v1.2.0

GetCpCode CpCode Getter

func (AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) GetForce added in v1.2.0

GetForce Force Getter

func (AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) SetCourierNo added in v1.2.0

SetCourierNo is CourierNo Setter 快递单号

func (*AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) SetCpCode added in v1.2.0

SetCpCode is CpCode Setter 快递公司代码

func (*AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) SetForce added in v1.2.0

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

func (*AlibabaHealthNrLogisticsDeliverynoUpdateAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 订单ID

type AlibabaHealthNrLogisticsDeliverynoUpdateAPIResponse

type AlibabaHealthNrLogisticsDeliverynoUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaHealthNrLogisticsDeliverynoUpdateAPIResponseModel
}

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

上传订单同城快递单号

type AlibabaHealthNrLogisticsDeliverynoUpdateAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaHealthNrLogisticsWaybillGetRequest

func NewAlibabaHealthNrLogisticsWaybillGetRequest() *AlibabaHealthNrLogisticsWaybillGetAPIRequest

NewAlibabaHealthNrLogisticsWaybillGetRequest 初始化AlibabaHealthNrLogisticsWaybillGetAPIRequest对象

func (AlibabaHealthNrLogisticsWaybillGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaHealthNrLogisticsWaybillGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaHealthNrLogisticsWaybillGetAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlibabaHealthNrLogisticsWaybillGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaHealthNrLogisticsWaybillGetAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 订单id

type AlibabaHealthNrLogisticsWaybillGetAPIResponse

type AlibabaHealthNrLogisticsWaybillGetAPIResponse struct {
	model.CommonResponse
	AlibabaHealthNrLogisticsWaybillGetAPIResponseModel
}

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

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

type AlibabaHealthNrLogisticsWaybillGetAPIResponseModel added in v1.2.0

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.2.0

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

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

根据店铺id获取店铺详情

func NewTaobaoAlihealthDrugStoreGetRequest

func NewTaobaoAlihealthDrugStoreGetRequest() *TaobaoAlihealthDrugStoreGetAPIRequest

NewTaobaoAlihealthDrugStoreGetRequest 初始化TaobaoAlihealthDrugStoreGetAPIRequest对象

func (TaobaoAlihealthDrugStoreGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlihealthDrugStoreGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlihealthDrugStoreGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlihealthDrugStoreGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAlihealthDrugStoreGetAPIRequest) GetShopId added in v1.2.0

GetShopId ShopId Getter

func (*TaobaoAlihealthDrugStoreGetAPIRequest) SetShopId added in v1.2.0

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

SetShopId is ShopId Setter 店铺ID

type TaobaoAlihealthDrugStoreGetAPIResponse

type TaobaoAlihealthDrugStoreGetAPIResponse struct {
	model.CommonResponse
	TaobaoAlihealthDrugStoreGetAPIResponseModel
}

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

根据店铺id获取店铺详情

type TaobaoAlihealthDrugStoreGetAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewTaobaoAlihealthDrugStoreSearchRequest

func NewTaobaoAlihealthDrugStoreSearchRequest() *TaobaoAlihealthDrugStoreSearchAPIRequest

NewTaobaoAlihealthDrugStoreSearchRequest 初始化TaobaoAlihealthDrugStoreSearchAPIRequest对象

func (TaobaoAlihealthDrugStoreSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlihealthDrugStoreSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlihealthDrugStoreSearchAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlihealthDrugStoreSearchAPIRequest) GetKeyword added in v1.2.0

GetKeyword Keyword Getter

func (TaobaoAlihealthDrugStoreSearchAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoAlihealthDrugStoreSearchAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoAlihealthDrugStoreSearchAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAlihealthDrugStoreSearchAPIRequest) GetShopId added in v1.2.0

GetShopId ShopId Getter

func (*TaobaoAlihealthDrugStoreSearchAPIRequest) SetKeyword added in v1.2.0

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

SetKeyword is Keyword Setter 搜索关键字

func (*TaobaoAlihealthDrugStoreSearchAPIRequest) SetPageNo added in v1.2.0

SetPageNo is PageNo Setter 页码

func (*TaobaoAlihealthDrugStoreSearchAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页显示数量

func (*TaobaoAlihealthDrugStoreSearchAPIRequest) SetShopId added in v1.2.0

SetShopId is ShopId Setter 店铺ID

type TaobaoAlihealthDrugStoreSearchAPIResponse

type TaobaoAlihealthDrugStoreSearchAPIResponse struct {
	model.CommonResponse
	TaobaoAlihealthDrugStoreSearchAPIResponseModel
}

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

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

type TaobaoAlihealthDrugStoreSearchAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewTaobaoAlihealthDrugUserShopGetRequest

func NewTaobaoAlihealthDrugUserShopGetRequest() *TaobaoAlihealthDrugUserShopGetAPIRequest

NewTaobaoAlihealthDrugUserShopGetRequest 初始化TaobaoAlihealthDrugUserShopGetAPIRequest对象

func (TaobaoAlihealthDrugUserShopGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlihealthDrugUserShopGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlihealthDrugUserShopGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlihealthDrugUserShopGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAlihealthDrugUserShopGetAPIRequest) GetUserNick added in v1.2.0

GetUserNick UserNick Getter

func (*TaobaoAlihealthDrugUserShopGetAPIRequest) SetUserNick added in v1.2.0

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

SetUserNick is UserNick Setter 用户昵称

type TaobaoAlihealthDrugUserShopGetAPIResponse

type TaobaoAlihealthDrugUserShopGetAPIResponse struct {
	model.CommonResponse
	TaobaoAlihealthDrugUserShopGetAPIResponseModel
}

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

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

type TaobaoAlihealthDrugUserShopGetAPIResponseModel added in v1.2.0

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