drug

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

阿里健康药API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAlihealthNrRxQueryimageAPIResponse

type AlibabaAlihealthNrRxQueryimageAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrRxQueryimageResponse
}

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

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

type AlibabaAlihealthNrRxQueryimageRequest

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

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

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

func NewAlibabaAlihealthNrRxQueryimageRequest

func NewAlibabaAlihealthNrRxQueryimageRequest() *AlibabaAlihealthNrRxQueryimageRequest

初始化AlibabaAlihealthNrRxQueryimageRequest对象

func (AlibabaAlihealthNrRxQueryimageRequest) GetApiMethodName

func (r AlibabaAlihealthNrRxQueryimageRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrRxQueryimageRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrRxQueryimageRequest) GetOrderId

OrderId Getter

func (*AlibabaAlihealthNrRxQueryimageRequest) SetOrderId

func (r *AlibabaAlihealthNrRxQueryimageRequest) SetOrderId(orderId int64) error

OrderId Setter 订单编号

type AlibabaAlihealthNrRxQueryimageResponse

type AlibabaAlihealthNrRxQueryimageResponse struct {
	XMLName xml.Name `xml:"alibaba_alihealth_nr_rx_queryimage_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功或失败
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,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"`
}

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

type AlibabaAlihealthNrSpuQueryAPIResponse

type AlibabaAlihealthNrSpuQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrSpuQueryResponse
}

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

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

type AlibabaAlihealthNrSpuQueryRequest

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

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

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

func NewAlibabaAlihealthNrSpuQueryRequest

func NewAlibabaAlihealthNrSpuQueryRequest() *AlibabaAlihealthNrSpuQueryRequest

初始化AlibabaAlihealthNrSpuQueryRequest对象

func (AlibabaAlihealthNrSpuQueryRequest) GetApiMethodName

func (r AlibabaAlihealthNrSpuQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrSpuQueryRequest) GetApiParams

func (r AlibabaAlihealthNrSpuQueryRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrSpuQueryRequest) GetOptions

Options Getter

func (AlibabaAlihealthNrSpuQueryRequest) GetQuery

Query Getter

func (*AlibabaAlihealthNrSpuQueryRequest) SetOptions

Options Setter 查询选择器

func (*AlibabaAlihealthNrSpuQueryRequest) SetQuery

Query Setter 标品查询条件

type AlibabaAlihealthNrSpuQueryResponse

type AlibabaAlihealthNrSpuQueryResponse 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"`
}

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

type AlibabaAlihealthNrTradeMedicalInsuranceGetAPIResponse

type AlibabaAlihealthNrTradeMedicalInsuranceGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrTradeMedicalInsuranceGetResponse
}

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

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

type AlibabaAlihealthNrTradeMedicalInsuranceGetRequest

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

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

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

func NewAlibabaAlihealthNrTradeMedicalInsuranceGetRequest

func NewAlibabaAlihealthNrTradeMedicalInsuranceGetRequest() *AlibabaAlihealthNrTradeMedicalInsuranceGetRequest

初始化AlibabaAlihealthNrTradeMedicalInsuranceGetRequest对象

func (AlibabaAlihealthNrTradeMedicalInsuranceGetRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrTradeMedicalInsuranceGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrTradeMedicalInsuranceGetRequest) GetOrderId

OrderId Getter

func (*AlibabaAlihealthNrTradeMedicalInsuranceGetRequest) SetOrderId

OrderId Setter 淘宝订单ID

type AlibabaAlihealthNrTradeMedicalInsuranceGetResponse

type AlibabaAlihealthNrTradeMedicalInsuranceGetResponse 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"`
}

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

type AlibabaAlihealthNrTradeOrderGetAPIResponse

type AlibabaAlihealthNrTradeOrderGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrTradeOrderGetResponse
}

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

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

type AlibabaAlihealthNrTradeOrderGetRequest

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

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

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

func NewAlibabaAlihealthNrTradeOrderGetRequest

func NewAlibabaAlihealthNrTradeOrderGetRequest() *AlibabaAlihealthNrTradeOrderGetRequest

初始化AlibabaAlihealthNrTradeOrderGetRequest对象

func (AlibabaAlihealthNrTradeOrderGetRequest) GetApiMethodName

func (r AlibabaAlihealthNrTradeOrderGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrTradeOrderGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrTradeOrderGetRequest) GetOrderId

OrderId Getter

func (*AlibabaAlihealthNrTradeOrderGetRequest) SetOrderId

func (r *AlibabaAlihealthNrTradeOrderGetRequest) SetOrderId(orderId int64) error

OrderId Setter 淘宝订单ID

type AlibabaAlihealthNrTradeOrderGetResponse

type AlibabaAlihealthNrTradeOrderGetResponse struct {
	XMLName xml.Name `xml:"alibaba_alihealth_nr_trade_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,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"`
	// 单店单日订单唯一序号
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,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"`
	// 店铺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"`
	// 订单总金额
	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"`
	// 订单优惠列表
	PromotionList []OrderPromotionDto `json:"promotion_list,omitempty" xml:"promotion_list>order_promotion_dto,omitempty"`
	// 总优惠信息
	TotalPromotion int64 `json:"total_promotion,omitempty" xml:"total_promotion,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"`
	// 该店铺的老顾客
	IsFrequenter int64 `json:"is_frequenter,omitempty" xml:"is_frequenter,omitempty"`
	// 商家设置的运费
	Carriage int64 `json:"carriage,omitempty" xml:"carriage,omitempty"`
	// 子订单
	SubOrderList []SubOrderDto `json:"sub_order_list,omitempty" xml:"sub_order_list>sub_order_dto,omitempty"`
	// 处方药标示
	Rx int64 `json:"rx,omitempty" xml:"rx,omitempty"`
	// 处方药回拨电话
	RxPhone string `json:"rx_phone,omitempty" xml:"rx_phone,omitempty"`
	// 处方图片
	RxPicList []string `json:"rx_pic_list,omitempty" xml:"rx_pic_list>string,omitempty"`
	// 自提标识
	DrugTake int64 `json:"drug_take,omitempty" xml:"drug_take,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"`
}

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

type AlibabaAlihealthNrTradeOrderGetorderdetailAPIResponse

type AlibabaAlihealthNrTradeOrderGetorderdetailAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthNrTradeOrderGetorderdetailResponse
}

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

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

type AlibabaAlihealthNrTradeOrderGetorderdetailRequest

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

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

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

func NewAlibabaAlihealthNrTradeOrderGetorderdetailRequest

func NewAlibabaAlihealthNrTradeOrderGetorderdetailRequest() *AlibabaAlihealthNrTradeOrderGetorderdetailRequest

初始化AlibabaAlihealthNrTradeOrderGetorderdetailRequest对象

func (AlibabaAlihealthNrTradeOrderGetorderdetailRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthNrTradeOrderGetorderdetailRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthNrTradeOrderGetorderdetailRequest) GetOrderId

OrderId Getter

func (*AlibabaAlihealthNrTradeOrderGetorderdetailRequest) SetOrderId

OrderId Setter 淘宝订单ID

type AlibabaAlihealthNrTradeOrderGetorderdetailResponse

type AlibabaAlihealthNrTradeOrderGetorderdetailResponse struct {
	XMLName xml.Name `xml:"alibaba_alihealth_nr_trade_order_getorderdetail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,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"`
	// 自提标识
	DrugTake int64 `json:"drug_take,omitempty" xml:"drug_take,omitempty"`
	// 处方图片
	RxPicList []string `json:"rx_pic_list,omitempty" xml:"rx_pic_list>string,omitempty"`
	// 处方药回拨电话
	RxPhone string `json:"rx_phone,omitempty" xml:"rx_phone,omitempty"`
	// 处方药标示
	Rx int64 `json:"rx,omitempty" xml:"rx,omitempty"`
	// 子订单
	SubOrderList []SubOrderDto `json:"sub_order_list,omitempty" xml:"sub_order_list>sub_order_dto,omitempty"`
	// 商家设置的运费
	Carriage int64 `json:"carriage,omitempty" xml:"carriage,omitempty"`
	// 该店铺的老顾客
	IsFrequenter int64 `json:"is_frequenter,omitempty" xml:"is_frequenter,omitempty"`
	// 买家收货地址经纬度
	BuyerAddressPoi string `json:"buyer_address_poi,omitempty" xml:"buyer_address_poi,omitempty"`
	// 买家地址
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 订单优惠列表
	PromotionList []OrderPromotionDto `json:"promotion_list,omitempty" xml:"promotion_list>order_promotion_dto,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"`
	// 总优惠信息
	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"`
	// 店铺经纬度
	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"`
	// 店铺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"`
	// 单店单日订单唯一序号
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,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"`
}

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

type AlibabaHealthNrLogisticsDeliverynoUpdateAPIResponse

type AlibabaHealthNrLogisticsDeliverynoUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaHealthNrLogisticsDeliverynoUpdateResponse
}

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

上传订单同城快递单号

type AlibabaHealthNrLogisticsDeliverynoUpdateRequest

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

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

上传订单同城快递单号

func NewAlibabaHealthNrLogisticsDeliverynoUpdateRequest

func NewAlibabaHealthNrLogisticsDeliverynoUpdateRequest() *AlibabaHealthNrLogisticsDeliverynoUpdateRequest

初始化AlibabaHealthNrLogisticsDeliverynoUpdateRequest对象

func (AlibabaHealthNrLogisticsDeliverynoUpdateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaHealthNrLogisticsDeliverynoUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaHealthNrLogisticsDeliverynoUpdateRequest) GetCourierNo

CourierNo Getter

func (AlibabaHealthNrLogisticsDeliverynoUpdateRequest) GetCpCode

CpCode Getter

func (AlibabaHealthNrLogisticsDeliverynoUpdateRequest) GetForce

Force Getter

func (AlibabaHealthNrLogisticsDeliverynoUpdateRequest) GetOrderId

OrderId Getter

func (*AlibabaHealthNrLogisticsDeliverynoUpdateRequest) SetCourierNo

CourierNo Setter 快递单号

func (*AlibabaHealthNrLogisticsDeliverynoUpdateRequest) SetCpCode

CpCode Setter 快递公司代码

func (*AlibabaHealthNrLogisticsDeliverynoUpdateRequest) SetForce

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

func (*AlibabaHealthNrLogisticsDeliverynoUpdateRequest) SetOrderId

OrderId Setter 订单ID

type AlibabaHealthNrLogisticsDeliverynoUpdateResponse

type AlibabaHealthNrLogisticsDeliverynoUpdateResponse 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"`
}

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

type AlibabaHealthNrLogisticsWaybillGetAPIResponse

type AlibabaHealthNrLogisticsWaybillGetAPIResponse struct {
	model.CommonResponse
	AlibabaHealthNrLogisticsWaybillGetResponse
}

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

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

type AlibabaHealthNrLogisticsWaybillGetRequest

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

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

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

func NewAlibabaHealthNrLogisticsWaybillGetRequest

func NewAlibabaHealthNrLogisticsWaybillGetRequest() *AlibabaHealthNrLogisticsWaybillGetRequest

初始化AlibabaHealthNrLogisticsWaybillGetRequest对象

func (AlibabaHealthNrLogisticsWaybillGetRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaHealthNrLogisticsWaybillGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaHealthNrLogisticsWaybillGetRequest) GetOrderId

OrderId Getter

func (*AlibabaHealthNrLogisticsWaybillGetRequest) SetOrderId

func (r *AlibabaHealthNrLogisticsWaybillGetRequest) SetOrderId(orderId int64) error

OrderId Setter 订单id

type AlibabaHealthNrLogisticsWaybillGetResponse

type AlibabaHealthNrLogisticsWaybillGetResponse 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"`
}

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

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 {
	// rx
	Rx bool `json:"rx,omitempty" xml:"rx,omitempty"`
	// backCate
	BackCate int64 `json:"back_cate,omitempty" xml:"back_cate,omitempty"`
	// 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"`
	// atLimit
	AtLimit int64 `json:"at_limit,omitempty" xml:"at_limit,omitempty"`
	// deliveryType
	DeliveryType int64 `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
	// deliveryTypeDesc
	DeliveryTypeDesc string `json:"delivery_type_desc,omitempty" xml:"delivery_type_desc,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

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

O2OInShopSearchResponse

type OrderPromotionDto

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

OrderPromotionDto

type PageResponse

type PageResponse struct {
	// 当前页码
	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"`
	// 结果列表
	Spus []TopAlihealthSpuQuery `json:"spus,omitempty" xml:"spus>top_alihealth_spu_query,omitempty"`
}

PageResponse

type ResponseResult

type ResponseResult struct {
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	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"`
}

ResponseResult

type StoreDetailDto

type StoreDetailDto struct {
	// tags
	Tags []Tags `json:"tags,omitempty" xml:"tags>tags,omitempty"`
	// storeDetail
	StoreDetail *StoreDto `json:"store_detail,omitempty" xml:"store_detail,omitempty"`
	// cat
	Cats []Cat `json:"cats,omitempty" xml:"cats>cat,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"`
	// orderCount
	OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"`
	// orderCountDesc
	OrderCountDesc string `json:"order_count_desc,omitempty" xml:"order_count_desc,omitempty"`
	// minimumAccount
	MinimumAccount int64 `json:"minimum_account,omitempty" xml:"minimum_account,omitempty"`
	// deliveryAccount
	DeliveryAccount int64 `json:"delivery_account,omitempty" xml:"delivery_account,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"`
	// deliveryType
	DeliveryType int64 `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
	// deliveryTypeDesc
	DeliveryTypeDesc string `json:"delivery_type_desc,omitempty" xml:"delivery_type_desc,omitempty"`
}

StoreDto

type SubOrderDto

type SubOrderDto struct {
	// 子订单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"`
	// 商品单位
	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"`
	// 是否为处方药
	Rx int64 `json:"rx,omitempty" xml:"rx,omitempty"`
	// 套装商品子商品系信息
	SuitSubItemDtoList []SuitSubItemDto `json:"suit_sub_item_dto_list,omitempty" xml:"suit_sub_item_dto_list>suit_sub_item_dto,omitempty"`
}

SubOrderDto

type SuitSubItemDto

type SuitSubItemDto struct {
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 个数
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 药标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商家自定义商品ID
	OutId string `json:"out_id,omitempty" xml:"out_id,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 TaobaoAlihealthDrugStoreGetAPIResponse

type TaobaoAlihealthDrugStoreGetAPIResponse struct {
	model.CommonResponse
	TaobaoAlihealthDrugStoreGetResponse
}

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

根据店铺id获取店铺详情

type TaobaoAlihealthDrugStoreGetRequest

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

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

根据店铺id获取店铺详情

func NewTaobaoAlihealthDrugStoreGetRequest

func NewTaobaoAlihealthDrugStoreGetRequest() *TaobaoAlihealthDrugStoreGetRequest

初始化TaobaoAlihealthDrugStoreGetRequest对象

func (TaobaoAlihealthDrugStoreGetRequest) GetApiMethodName

func (r TaobaoAlihealthDrugStoreGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoAlihealthDrugStoreGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlihealthDrugStoreGetRequest) GetShopId

ShopId Getter

func (*TaobaoAlihealthDrugStoreGetRequest) SetShopId

func (r *TaobaoAlihealthDrugStoreGetRequest) SetShopId(shopId int64) error

ShopId Setter 店铺ID

type TaobaoAlihealthDrugStoreGetResponse

type TaobaoAlihealthDrugStoreGetResponse 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"`
}

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

type TaobaoAlihealthDrugStoreSearchAPIResponse

type TaobaoAlihealthDrugStoreSearchAPIResponse struct {
	model.CommonResponse
	TaobaoAlihealthDrugStoreSearchResponse
}

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

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

type TaobaoAlihealthDrugStoreSearchRequest

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

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

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

func NewTaobaoAlihealthDrugStoreSearchRequest

func NewTaobaoAlihealthDrugStoreSearchRequest() *TaobaoAlihealthDrugStoreSearchRequest

初始化TaobaoAlihealthDrugStoreSearchRequest对象

func (TaobaoAlihealthDrugStoreSearchRequest) GetApiMethodName

func (r TaobaoAlihealthDrugStoreSearchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoAlihealthDrugStoreSearchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlihealthDrugStoreSearchRequest) GetKeyword

Keyword Getter

func (TaobaoAlihealthDrugStoreSearchRequest) GetPageNo

PageNo Getter

func (TaobaoAlihealthDrugStoreSearchRequest) GetPageSize

PageSize Getter

func (TaobaoAlihealthDrugStoreSearchRequest) GetShopId

ShopId Getter

func (*TaobaoAlihealthDrugStoreSearchRequest) SetKeyword

func (r *TaobaoAlihealthDrugStoreSearchRequest) SetKeyword(keyword string) error

Keyword Setter 搜索关键字

func (*TaobaoAlihealthDrugStoreSearchRequest) SetPageNo

func (r *TaobaoAlihealthDrugStoreSearchRequest) SetPageNo(pageNo int64) error

PageNo Setter 页码

func (*TaobaoAlihealthDrugStoreSearchRequest) SetPageSize

func (r *TaobaoAlihealthDrugStoreSearchRequest) SetPageSize(pageSize int64) error

PageSize Setter 每页显示数量

func (*TaobaoAlihealthDrugStoreSearchRequest) SetShopId

func (r *TaobaoAlihealthDrugStoreSearchRequest) SetShopId(shopId string) error

ShopId Setter 店铺ID

type TaobaoAlihealthDrugStoreSearchResponse

type TaobaoAlihealthDrugStoreSearchResponse 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"`
}

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

type TaobaoAlihealthDrugUserShopGetAPIResponse

type TaobaoAlihealthDrugUserShopGetAPIResponse struct {
	model.CommonResponse
	TaobaoAlihealthDrugUserShopGetResponse
}

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

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

type TaobaoAlihealthDrugUserShopGetRequest

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

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

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

func NewTaobaoAlihealthDrugUserShopGetRequest

func NewTaobaoAlihealthDrugUserShopGetRequest() *TaobaoAlihealthDrugUserShopGetRequest

初始化TaobaoAlihealthDrugUserShopGetRequest对象

func (TaobaoAlihealthDrugUserShopGetRequest) GetApiMethodName

func (r TaobaoAlihealthDrugUserShopGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoAlihealthDrugUserShopGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlihealthDrugUserShopGetRequest) GetUserNick

UserNick Getter

func (*TaobaoAlihealthDrugUserShopGetRequest) SetUserNick

func (r *TaobaoAlihealthDrugUserShopGetRequest) SetUserNick(userNick string) error

UserNick Setter 用户昵称

type TaobaoAlihealthDrugUserShopGetResponse

type TaobaoAlihealthDrugUserShopGetResponse 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"`
}

根据用户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"`
	// 是否只搜索药品
	OnlyDrug bool `json:"only_drug,omitempty" xml:"only_drug,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"`
	// spu标题
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 别名,也就是商品名称
	TitleAlias string `json:"title_alias,omitempty" xml:"title_alias,omitempty"`
	// 药物说明书信息
	AlihealthDrugInstructionDTO *TopAlihealthDrugInstructionDto `json:"alihealth_drug_instruction_d_t_o,omitempty" xml:"alihealth_drug_instruction_d_t_o,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