alihealth

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package alihealth 包含阿里健康医相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIRequest added in v1.3.4

func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIRequest(v *AlibabaAlihealthPrescriptionAuthGetAPIRequest)

ReleaseAlibabaAlihealthPrescriptionAuthGetAPIRequest 将 AlibabaAlihealthPrescriptionAuthGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIResponse added in v1.3.4

func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIResponse(v *AlibabaAlihealthPrescriptionAuthGetAPIResponse)

ReleaseAlibabaAlihealthPrescriptionAuthGetAPIResponse 将 AlibabaAlihealthPrescriptionAuthGetAPIResponse 保存到 sync.Pool

func ReleasePrescriptionDoctorAuthRequest added in v1.3.4

func ReleasePrescriptionDoctorAuthRequest(v *PrescriptionDoctorAuthRequest)

ReleasePrescriptionDoctorAuthRequest 释放PrescriptionDoctorAuthRequest

func ReleaseServiceResult added in v1.3.4

func ReleaseServiceResult(v *ServiceResult)

ReleaseServiceResult 释放ServiceResult

Types

type AlibabaAlihealthPrescriptionAuthGetAPIRequest added in v1.2.0

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

AlibabaAlihealthPrescriptionAuthGetAPIRequest 阿里健康处方平台获取授权码 API请求 alibaba.alihealth.prescription.auth.get

获取处方用户授权

func GetAlibabaAlihealthPrescriptionAuthGetAPIRequest added in v1.3.4

func GetAlibabaAlihealthPrescriptionAuthGetAPIRequest() *AlibabaAlihealthPrescriptionAuthGetAPIRequest

GetAlibabaAlihealthPrescriptionAuthGetRequest 从 sync.Pool 获取 AlibabaAlihealthPrescriptionAuthGetAPIRequest

func NewAlibabaAlihealthPrescriptionAuthGetRequest

func NewAlibabaAlihealthPrescriptionAuthGetRequest() *AlibabaAlihealthPrescriptionAuthGetAPIRequest

NewAlibabaAlihealthPrescriptionAuthGetRequest 初始化AlibabaAlihealthPrescriptionAuthGetAPIRequest对象

func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetPrescriptionRequest added in v1.2.0

GetPrescriptionRequest PrescriptionRequest Getter

func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAlihealthPrescriptionAuthGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaAlihealthPrescriptionAuthGetAPIRequest) SetPrescriptionRequest added in v1.2.0

func (r *AlibabaAlihealthPrescriptionAuthGetAPIRequest) SetPrescriptionRequest(_prescriptionRequest *PrescriptionDoctorAuthRequest) error

SetPrescriptionRequest is PrescriptionRequest Setter 请求入参

type AlibabaAlihealthPrescriptionAuthGetAPIResponse

type AlibabaAlihealthPrescriptionAuthGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthPrescriptionAuthGetAPIResponseModel
}

AlibabaAlihealthPrescriptionAuthGetAPIResponse 阿里健康处方平台获取授权码 API返回值 alibaba.alihealth.prescription.auth.get

获取处方用户授权

func GetAlibabaAlihealthPrescriptionAuthGetAPIResponse added in v1.3.4

func GetAlibabaAlihealthPrescriptionAuthGetAPIResponse() *AlibabaAlihealthPrescriptionAuthGetAPIResponse

GetAlibabaAlihealthPrescriptionAuthGetAPIResponse 从 sync.Pool 获取 AlibabaAlihealthPrescriptionAuthGetAPIResponse

func (*AlibabaAlihealthPrescriptionAuthGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaAlihealthPrescriptionAuthGetAPIResponseModel added in v1.2.0

type AlibabaAlihealthPrescriptionAuthGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_prescription_auth_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// alinkappserver系统返回的通用结果类
	ServiceResult *ServiceResult `json:"service_result,omitempty" xml:"service_result,omitempty"`
}

AlibabaAlihealthPrescriptionAuthGetAPIResponseModel is 阿里健康处方平台获取授权码 成功返回结果

func (*AlibabaAlihealthPrescriptionAuthGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type PrescriptionDoctorAuthRequest

type PrescriptionDoctorAuthRequest struct {
	// 医生id(非空)
	DoctorId string `json:"doctor_id,omitempty" xml:"doctor_id,omitempty"`
	// 支付宝userId(非空)
	AlipayUserId string `json:"alipay_user_id,omitempty" xml:"alipay_user_id,omitempty"`
	// 医院id(非空)
	HospitalId string `json:"hospital_id,omitempty" xml:"hospital_id,omitempty"`
}

PrescriptionDoctorAuthRequest 结构体

func GetPrescriptionDoctorAuthRequest added in v1.3.4

func GetPrescriptionDoctorAuthRequest() *PrescriptionDoctorAuthRequest

GetPrescriptionDoctorAuthRequest() 从对象池中获取PrescriptionDoctorAuthRequest

type ServiceResult

type ServiceResult struct {
	// errMessage
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// token
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ServiceResult 结构体

func GetServiceResult added in v1.3.4

func GetServiceResult() *ServiceResult

GetServiceResult() 从对象池中获取ServiceResult

Jump to

Keyboard shortcuts

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