alihealth

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

阿里健康医 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 AlibabaAlihealthPrescriptionAuthGetAPIResponse

type AlibabaAlihealthPrescriptionAuthGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthPrescriptionAuthGetResponse
}

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

获取处方用户授权

type AlibabaAlihealthPrescriptionAuthGetRequest

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

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

获取处方用户授权

func NewAlibabaAlihealthPrescriptionAuthGetRequest

func NewAlibabaAlihealthPrescriptionAuthGetRequest() *AlibabaAlihealthPrescriptionAuthGetRequest

初始化AlibabaAlihealthPrescriptionAuthGetRequest对象

func (AlibabaAlihealthPrescriptionAuthGetRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthPrescriptionAuthGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthPrescriptionAuthGetRequest) GetPrescriptionRequest

PrescriptionRequest Getter

func (*AlibabaAlihealthPrescriptionAuthGetRequest) SetPrescriptionRequest

func (r *AlibabaAlihealthPrescriptionAuthGetRequest) SetPrescriptionRequest(prescriptionRequest *PrescriptionDoctorAuthRequest) error

PrescriptionRequest Setter 请求入参

type AlibabaAlihealthPrescriptionAuthGetResponse

type AlibabaAlihealthPrescriptionAuthGetResponse 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