Documentation ¶
Overview ¶
Package alihealth 包含阿里健康医相关结构体
Index ¶
- type AlibabaalihealthprescriptionauthgetAPIRequest
- func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetApiMethodName() string
- func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetPrescriptionRequest() *PrescriptionDoctorAuthRequest
- func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetRawParams() model.Params
- func (r *AlibabaalihealthprescriptionauthgetAPIRequest) SetPrescriptionRequest(_prescriptionRequest *PrescriptionDoctorAuthRequest) error
- type AlibabaalihealthprescriptionauthgetAPIResponse
- type AlibabaalihealthprescriptionauthgetAPIResponseModel
- type PrescriptionDoctorAuthRequest
- type ServiceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaalihealthprescriptionauthgetAPIRequest ¶ added in v1.3.1
type AlibabaalihealthprescriptionauthgetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaalihealthprescriptionauthgetAPIRequest 阿里健康处方平台获取授权码 API请求 alibaba.alihealth.prescription.auth.get
获取处方用户授权
func NewAlibabaalihealthprescriptionauthgetRequest ¶ added in v1.3.1
func NewAlibabaalihealthprescriptionauthgetRequest() *AlibabaalihealthprescriptionauthgetAPIRequest
NewAlibabaalihealthprescriptionauthgetRequest 初始化AlibabaalihealthprescriptionauthgetAPIRequest对象
func (AlibabaalihealthprescriptionauthgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaalihealthprescriptionauthgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaalihealthprescriptionauthgetAPIRequest) GetPrescriptionRequest ¶ added in v1.3.1
func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetPrescriptionRequest() *PrescriptionDoctorAuthRequest
GetPrescriptionRequest PrescriptionRequest Getter
func (AlibabaalihealthprescriptionauthgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaalihealthprescriptionauthgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaalihealthprescriptionauthgetAPIRequest) SetPrescriptionRequest ¶ added in v1.3.1
func (r *AlibabaalihealthprescriptionauthgetAPIRequest) SetPrescriptionRequest(_prescriptionRequest *PrescriptionDoctorAuthRequest) error
SetPrescriptionRequest is PrescriptionRequest Setter 请求入参
type AlibabaalihealthprescriptionauthgetAPIResponse ¶ added in v1.3.1
type AlibabaalihealthprescriptionauthgetAPIResponse struct { model.CommonResponse AlibabaalihealthprescriptionauthgetAPIResponseModel }
AlibabaalihealthprescriptionauthgetAPIResponse 阿里健康处方平台获取授权码 API返回值 alibaba.alihealth.prescription.auth.get
获取处方用户授权
type AlibabaalihealthprescriptionauthgetAPIResponseModel ¶ added in v1.3.1
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 阿里健康处方平台获取授权码 成功返回结果
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 结构体