ud
This commit is contained in:
@ -18,6 +18,8 @@ import { ServiceClassController } from '../controllers/service_class';
|
||||
import { ServiceController } from '../controllers/service';
|
||||
import { ServiceFareController } from '../controllers/service_fare';
|
||||
import { ServicePackageController } from '../controllers/service_package';
|
||||
import { DepartmentController } from '../controllers/department';
|
||||
import { DoctorScheduleController } from '../controllers/doctor_schedule';
|
||||
|
||||
export class RoutePrivate {
|
||||
static setup(app: express.Application) {
|
||||
@ -144,5 +146,19 @@ export class RoutePrivate {
|
||||
app.put('/api/service-package/update/:id', ServicePackageController.update)
|
||||
app.delete('/api/service-package/delete/:id/:hard', ServicePackageController.delete)
|
||||
app.put('/api/service-package/restore/:id', ServicePackageController.restore)
|
||||
|
||||
app.get('/api/department/list', DepartmentController.list)
|
||||
app.post('/api/department/create', DepartmentController.create)
|
||||
app.get('/api/department/detail/:id', DepartmentController.detail)
|
||||
app.put('/api/department/update/:id', DepartmentController.update)
|
||||
app.delete('/api/department/delete/:id/:hard', DepartmentController.delete)
|
||||
app.put('/api/department/restore/:id', DepartmentController.restore)
|
||||
|
||||
app.get('/api/doctor-schedule/list', DoctorScheduleController.list)
|
||||
app.post('/api/doctor-schedule/create', DoctorScheduleController.create)
|
||||
app.get('/api/doctor-schedule/detail/:id', DoctorScheduleController.detail)
|
||||
app.put('/api/doctor-schedule/update/:id', DoctorScheduleController.update)
|
||||
app.delete('/api/doctor-schedule/delete/:id/:hard', DoctorScheduleController.delete)
|
||||
app.put('/api/doctor-schedule/restore/:id', DoctorScheduleController.restore)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user