115 lines
2.4 KiB
Go
115 lines
2.4 KiB
Go
package controller
|
|
|
|
// Api api接口
|
|
type Api struct {
|
|
sysSetting // 系统设置
|
|
userDoctorManage // 医生管理
|
|
Admin // 公共方法-验证权限
|
|
Public // 公共方法-不验证权限
|
|
basic // 基础数据
|
|
order // 订单管理
|
|
userPatientManage // 患者管理
|
|
caseManage // 病例管理
|
|
orderPrescriptionManage // 处方管理
|
|
inquiryManage // 问诊管理
|
|
caManage // ca管理
|
|
financeManage // 财务管理
|
|
exportManage // 导出管理
|
|
productManage // 商品管理
|
|
couponManage // 优惠卷管理
|
|
basicManage // 基础数据管理
|
|
articleManage // 文章管理
|
|
}
|
|
|
|
// SysSetting 系统设置
|
|
type sysSetting struct {
|
|
Role // 角色数据
|
|
Menu // 菜单数据
|
|
AdminUser // 用户数据
|
|
AdminApi // 接口数据
|
|
Dept // 部门数据
|
|
Post // 岗位数据
|
|
}
|
|
|
|
// 医生管理
|
|
type userDoctorManage struct {
|
|
UserDoctor // 医生列表
|
|
DoctorAccount
|
|
}
|
|
|
|
// Basic 基础数据
|
|
type basic struct {
|
|
Department // 科室管理
|
|
Hospital // 医院管理
|
|
DiseaseClassExpertise // 专长管理
|
|
Bank // 银行管理
|
|
}
|
|
|
|
// 订单管理
|
|
type order struct {
|
|
Order // 订单
|
|
OrderInquiry // 问诊订单
|
|
OrderProduct // 药品订单
|
|
OrderServicePackage // 服务包订单
|
|
}
|
|
|
|
// 患者管理
|
|
type userPatientManage struct {
|
|
UserPatient // 患者列表
|
|
PatientFamily // 家庭成员管理
|
|
}
|
|
|
|
// 病例管理
|
|
type caseManage struct {
|
|
Case // 患者列表
|
|
}
|
|
|
|
// 处方管理
|
|
type orderPrescriptionManage struct {
|
|
OrderPrescription // 处方列表
|
|
}
|
|
|
|
// 问诊管理
|
|
type inquiryManage struct {
|
|
InquiryConfig // 问诊配置
|
|
HealthPackage // 系统健康包配置
|
|
DoctorConfigHealthPackage // 医生健康包配置
|
|
DoctorConfigFollowPackage // 医生随访包配置
|
|
}
|
|
|
|
// ca管理
|
|
type caManage struct {
|
|
UserCaCert // 证书
|
|
}
|
|
|
|
// 财务管理
|
|
type financeManage struct {
|
|
DoctorWithdrawal // 提现记录
|
|
}
|
|
|
|
// 导出管理
|
|
type exportManage struct {
|
|
Export
|
|
}
|
|
|
|
// 商品管理
|
|
type productManage struct {
|
|
Product
|
|
}
|
|
|
|
// 优惠卷管理
|
|
type couponManage struct {
|
|
Coupon
|
|
}
|
|
|
|
// 基础数据管理
|
|
type basicManage struct {
|
|
Basic
|
|
}
|
|
|
|
// 文章管理
|
|
type articleManage struct {
|
|
ArticleScience
|
|
ArticleScienceSource
|
|
}
|