68 lines
1.5 KiB
Go
68 lines
1.5 KiB
Go
package controller
|
|
|
|
// Api api接口
|
|
type Api struct {
|
|
sysSetting // 系统设置
|
|
userDoctorManage // 医生管理
|
|
Admin // 公共方法-验证权限
|
|
Public // 公共方法-不验证权限
|
|
basic // 基础数据
|
|
order // 订单管理
|
|
userPatientManage // 患者管理
|
|
caseManage // 病例管理
|
|
orderPrescriptionManage // 处方管理
|
|
inquiryManage // 问诊管理
|
|
}
|
|
|
|
// SysSetting 系统设置
|
|
type sysSetting struct {
|
|
Role // 角色数据
|
|
Menu // 菜单数据
|
|
AdminUser // 用户数据
|
|
AdminApi // 接口数据
|
|
Dept // 部门数据
|
|
Post // 岗位数据
|
|
}
|
|
|
|
// 医生管理
|
|
type userDoctorManage struct {
|
|
UserDoctor // 医生列表
|
|
}
|
|
|
|
// Basic 基础数据
|
|
type basic struct {
|
|
Department // 科室管理
|
|
Hospital // 医院管理
|
|
DiseaseClassExpertise // 专长管理
|
|
Bank // 银行管理
|
|
Area // 省市区管理
|
|
}
|
|
|
|
// 订单管理
|
|
type order struct {
|
|
Order // 订单
|
|
OrderInquiry // 问诊订单
|
|
OrderProduct // 药品订单
|
|
}
|
|
|
|
// 患者管理
|
|
type userPatientManage struct {
|
|
UserPatient // 患者列表
|
|
PatientFamily // 家庭成员管理
|
|
}
|
|
|
|
// 病例管理
|
|
type caseManage struct {
|
|
Case // 患者列表
|
|
}
|
|
|
|
// 处方管理
|
|
type orderPrescriptionManage struct {
|
|
OrderPrescription // 处方列表
|
|
}
|
|
|
|
// 问诊管理
|
|
type inquiryManage struct {
|
|
Inquiry // 问诊管理
|
|
}
|