123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- package mobile_api_controllers
-
- import (
- "github.com/astaxie/beego"
- )
-
- // 平板端路由,以 /m/api 为前缀
- func MobileAPIControllersRegisterRouters() {
- beego.Router("/m/api/login/pwd", &LoginAPIController{}, "post:LoginByPwd")
-
- // beego.Router("/m/api/test", &DialysisTestAPIController{}, "get:Test")
- beego.Router("/m/api/savebloodpressure", &CheckWeightApiController{}, "Post:SaveBloodPressure")
- beego.Router("/m/api/checkbeforedialysis", &CheckWeightApiController{}, "get:GetPatientInfoBeforeDialysis")
- beego.Router("/m/api/getpatientlist", &CheckWeightApiController{}, "get:GetPatientList")
- beego.Router("/m/api/setsynctime", &CheckWeightApiController{}, "get:SetSyncTime")
- beego.Router("/m/api/getschedulepatient", &CheckWeightApiController{}, "get:GetPatientListForSchedules")
- beego.Router("/m/api/getschedulepatientfind", &CheckWeightApiController{}, "get:GetPatientListForSchedulesFind")
- beego.Router("/m/api/getpatientinfo", &CheckWeightApiController{}, "get:GetPatientListById")
- beego.Router("/m/api/checkdialysis", &CheckWeightApiController{}, "get:GetPatientInfoDialysis")
- beego.Router("/m/api/savecheckdialysis", &CheckWeightApiController{}, "Post:SavePatientInfoDialysis")
- beego.Router("/m/api/scheduals", &DialysisAPIController{}, "get:Scheduals")
- beego.Router("/m/api/waiting_scheduals", &DialysisAPIController{}, "get:WaitingScheduals")
-
- beego.Router("/m/api/solution/create", &PatientApiController{}, "Post:CreateDialysisSolution")
- beego.Router("/m/api/solution/edit", &PatientApiController{}, "Post:EditDialysisSolution")
- beego.Router("/m/api/assessmentbefore/commit", &PatientApiController{}, "Post:EditAssessmentBeforeDislysis")
-
- beego.Router("/m/api/dialysisglobalconfig", &DialysisAPIController{}, "Get:GetDialysisGlobalConfig")
- beego.Router("/m/api/dialysis/record", &DialysisAPIController{}, "get:DialysisRecord")
-
- beego.Router("/m/api/dialysis/dialysisPrescription", &DialysisAPIController{}, "post:PostDialysisPrescription")
- beego.Router("/m/api/dialysis/treatmentSummary", &DialysisAPIController{}, "post:PostAtreatmentInfo")
- beego.Router("/m/api/dialysis/doublecheck", &DialysisAPIController{}, "post:PostDoubleCheck")
- beego.Router("/m/api/dialysis/acceptsAssessment", &DialysisAPIController{}, "post:PostAcceptsAssessment")
- beego.Router("/m/api/dialysis/assessmentAfterDislysis", &DialysisAPIController{}, "post:PostAssessmentAfterDislysis")
- beego.Router("/m/api/dialysis/finish", &DialysisAPIController{}, "post:Finish")
- beego.Router("/m/api/dialysis/allzone", &DialysisAPIController{}, "get:GetAllZone")
- beego.Router("/m/api/dialysis/patients", &DialysisAPIController{}, "get:GetSchedualPatientsList")
- beego.Router("/m/api/startOrder/edit", &DialysisAPIController{}, "post:ModifyStartDialysisOrder")
- beego.Router("/m/api/finishOrder/edit", &DialysisAPIController{}, "post:ModifyFinishDialysisOrder")
-
- beego.Router("/m/api/advice/create", &PatientApiController{}, "Post:CreateDoctorAdvice")
- beego.Router("/m/api/advice/edit", &PatientApiController{}, "Put:EditDoctorAdvice")
- beego.Router("/m/api/advice/stop", &PatientApiController{}, "Post:StopDoctorAdvice")
- beego.Router("/m/api/advice/creategroup", &PatientApiController{}, "Post:CreateGroupAdvice")
- beego.Router("/m/api/advice/group/modify_starttime", &PatientApiController{}, "Post:ModifyAdviceGroupStartTime")
- beego.Router("/m/api/advice/delete", &PatientApiController{}, "Delete:DeleteDoctorAdvice")
- beego.Router("/m/api/advice/exec", &PatientApiController{}, "Post:ExecDoctorAdvice")
- beego.Router("/m/api/advice/exec/modify", &PatientApiController{}, "Post:ModifyExecDoctorAdvice")
-
- beego.Router("/m/api/project/exec", &PatientApiController{}, "Post:ExecProject")
- beego.Router("/m/api/project/check", &PatientApiController{}, "Post:CheckProject")
-
- //beego.Router("/m/api/advice/ex/**/ec/modify", &PatientApiController{}, "Post:ModifyExecDoctorAdvice")
-
- beego.Router("/m/api/advice/check", &PatientApiController{}, "Post:CheckDoctorAdvice")
- beego.Router("/m/api/patient/info", &PatientApiController{}, "Get:GetPatientInfoWithDiseases")
-
- beego.Router("/m/api/monitor/add", &DialysisAPIController{}, "post:AddMonitorRecord")
- beego.Router("/m/api/monitor/edit", &DialysisAPIController{}, "post:EditMonitorRecord")
- beego.Router("/m/api/monitor/delete", &DialysisAPIController{}, "post:DeleteMonitor")
-
- beego.Router("/m/api/accepts/get", &DialysisAPIController{}, "Get:GetAcceptsAssessment")
-
- beego.Router("/m/api/patient/education", &PatientApiController{}, "get:GetPatientEducation")
- beego.Router("/m/api/patients/schedules", &PatientApiController{}, "Get:GetPatientSchedulesList")
- beego.Router("/m/api/patients/record", &PatientApiController{}, "Get:GetRecords")
- beego.Router("/m/api/patients/solutions", &PatientApiController{}, "Get:GetPatientDialysisSolutionList")
- beego.Router("/m/api/patients/doctoradvices", &PatientApiController{}, "Get:GetDoctorAdvices")
-
- beego.Router("/m/api/monitor", &PatientApiController{}, "Get:GetPatientMonitor")
- beego.Router("/m/api/monitor/patient", &PatientApiController{}, "get:SearchMonitorPatient")
-
- beego.Router("/m/api/alldoctors", &DoctorsApiController{}, "Get:GetAllDoctorAndNurse")
- beego.Router("/m/api/admin/users", &DoctorsApiController{}, "Get:GetAllAdminUsers")
-
- beego.Router("/m/api/solution", &DialysisAPIController{}, "Post:PostSolution")
-
- beego.Router("/m/api/schedule/advices", &DoctorAdviceAPIController{}, "Get:ScheduleAdvices")
-
- beego.Router("/m/api/dialysis/start", &DialysisAPIController{}, "Post:StartDialysis")
-
- beego.Router("/m/api/getelectronicsignature", &AdminUserApiController{}, "Get:GetAdminUserElectronicSignature")
- beego.Router("/m/api/savelectronicsignature", &AdminUserApiController{}, "Post:SaveAdminUserElectronicSignature")
- beego.Router("/m/api/my", &AdminUserApiController{}, "Get:GetMyInfo")
-
- beego.Router("/m/api/qiniu/uptoken", &QiNiuApiController{}, "get:GetQNUpToken")
-
- beego.Router("/m/api/getadviceconfigs", &DoctorAdviceAPIController{}, "Get:GetAdviceConfigs")
-
- beego.Router("/m/api/inspection/reference", &CheckApiController{}, "Get:GetInspectionReference")
- beego.Router("/m/api/inspection/list", &CheckApiController{}, "Get:GetInspections")
-
- beego.Router("/m/api/print/dialysisorder", &PatientApiController{}, "Get:GetPrintDialysisOrder")
-
- beego.Router("/m/api/schedule/urgentinit", &DialysisAPIController{}, "Get:UrgentScheduleInitData")
- beego.Router("/m/api/schedule/urgentadd", &DialysisAPIController{}, "Post:AddUrgentSchedule")
-
- beego.Router("/m/api/dialysis/sign", &DialysisAPIController{}, "Post:PostSignInfo")
-
- beego.Router("/m/api/monitor/get", &DialysisAPIController{}, "Get:GetLastMonitorRecord")
- beego.Router("/m/api/monitor/gettodaylast", &DialysisAPIController{}, "Get:GetLastMonitorRecordTody")
-
- beego.Router("/m/api/newadvice/delete", &PatientApiController{}, "Delete:DelDoctorAdvice")
-
- beego.Router("/m/api/delete/subadvice", &PatientApiController{}, "Delete:DelSubDoctorAdvice")
-
- beego.Router("/m/api/advice/unread", &PatientApiController{}, "Get:GetAdviceUnReadMessage")
- beego.Router("/m/api/patients/search", &PatientApiController{}, "Post:GetPatientsByKeyWord")
-
- beego.Router("/m/api/warehouse/query", &StockApiController{}, "get:GetWarehouse")
-
- beego.Router("/m/api/dialysis/advice_remind", &DialysisAPIController{}, "Get:GetLongAdvice")
- beego.Router("/m/api/advice_remind/create", &DialysisAPIController{}, "Post:CreateRemindDoctorAdvice")
- beego.Router("/m/api/dryweight/commit", &DialysisAPIController{}, "Post:UploadDryWeight")
-
- beego.Router("/m/api/solution/get", &DialysisAPIController{}, "Get:GetSolution")
-
- beego.Router("/m/api/schedule/get", &DialysisAPIController{}, "Get:GetSchedule")
-
- beego.Router("/m/api/getPatientid", &DialysisAPIController{}, "Get:GetPatientId")
-
- beego.Router("/m/api/patient/search", &PatientApiController{}, "Get:GetSearchPatient")
-
- beego.Router("/m/api/dialysis/schedule", &DialysisAPIController{}, "Get:GetDialysisSchedule")
-
- beego.Router("/m/api/doctoradvice/get", &DialysisAPIController{}, "Get:GetLastOrNextDoctorAdvice")
-
- beego.Router("/m/api/dialysisbeforeprepare/create", &DialysisAPIController{}, "Post:CreateConsumables")
- beego.Router("/m/api/dialysisbeforeprepare/edit", &DialysisAPIController{}, "Post:EditConsumables")
-
- beego.Router("/m/api/stockout/create", &DialysisAPIController{}, "Post:CreateStockOutInfo")
- //beego.Router("/m/api/stockout/edit", &DialysisAPIController{}, "Post:EditStockOutInfo")
-
- beego.Router("/m/api/otherstockout/create", &DialysisAPIController{}, "Post:CreateOtherStockOutInfo")
-
- beego.Router("/m/api/dialysisgoods/get", &DialysisAPIController{}, "Get:GetDialysisGoods")
- beego.Router("/m/api/goodstatistics/get", &DialysisAPIController{}, "Get:GetDialysisGoodsStatistics")
- beego.Router("/m/api/stockingood/get", &DialysisAPIController{}, "Get:GetStockInGoodInfo")
-
- beego.Router("/m/api/drug/get", &DialysisAPIController{}, "Get:GetAllDrug")
-
- beego.Router("/m/api/department/get", &DialysisAPIController{}, "Get:GetDepartment")
-
- beego.Router("/m/api/getmobileprintstockgood", &DialysisAPIController{}, "Get:GetMobilePrintStockGood")
-
- //批量删除监测
- beego.Router("/m/api/batchdeletemonitor", &DialysisAPIController{}, "Get:BatchDeleteMonitor")
- //获取单个患者1年的透析日期
- beego.Router("/m/api/getPatientDialysisRecord", &DialysisAPIController{}, "Get:GetPatientDialysisRecordList")
- //批量删除医嘱
- beego.Router("/m/api/batchdeleteadvice", &DialysisAPIController{}, "Get:BathDeleteAdviceList")
- //加减耗材数量
- beego.Router("/m/api/updateautoreducedetail", &DialysisAPIController{}, "Get:UpdateAutoReduceDetail")
- //删除数据
- beego.Router("/m/api/deleteautoreducedetail", &DialysisAPIController{}, "Get:DeleteAutoReduceDetail")
-
- //医嘱批量核对
- beego.Router("/m/api/batchadvicecheck", &DialysisAPIController{}, "Get:BatchAdviceCheck")
-
- //医嘱批量执行
- beego.Router("/m/api/batchadviceexecution", &DialysisAPIController{}, "Get:BatchAdviceExecution")
-
- beego.Router("/m/api/updatestockgoods", &DialysisAPIController{}, "Get:UpdateStockGoods")
-
- }
|