30 lines
549 B
Go
30 lines
549 B
Go
package controller
|
|
|
|
// Api api接口
|
|
type Api struct {
|
|
sysSetting // 系统设置
|
|
userDoctorManage // 医生管理
|
|
Admin // 公共方法
|
|
basic // 基础数据
|
|
}
|
|
|
|
// SysSetting 系统设置
|
|
type sysSetting struct {
|
|
Role // 角色数据
|
|
Menu // 菜单数据
|
|
User // 用户数据
|
|
AdminApi // 接口数据
|
|
Dept // 部门数据
|
|
Post // 岗位数据
|
|
}
|
|
|
|
// 医生管理
|
|
type userDoctorManage struct {
|
|
UserDoctor // 医生列表
|
|
}
|
|
|
|
// Basic 基础数据
|
|
type basic struct {
|
|
Department // 科室
|
|
}
|