alihealth

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

阿里健康医 model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAlihealthPrescriptionAuthGetAPIRequest added in v1.2.0

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

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

获取处方用户授权

func NewAlibabaAlihealthPrescriptionAuthGetRequest

func NewAlibabaAlihealthPrescriptionAuthGetRequest() *AlibabaAlihealthPrescriptionAuthGetAPIRequest

初始化AlibabaAlihealthPrescriptionAuthGetAPIRequest对象

func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetPrescriptionRequest added in v1.2.0

PrescriptionRequest Getter

func (*AlibabaAlihealthPrescriptionAuthGetAPIRequest) SetPrescriptionRequest added in v1.2.0

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

PrescriptionRequest Setter 请求入参

type AlibabaAlihealthPrescriptionAuthGetAPIResponse

type AlibabaAlihealthPrescriptionAuthGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthPrescriptionAuthGetAPIResponseModel
}

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

获取处方用户授权

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

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

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

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

Jump to

Keyboard shortcuts

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