123456789101112 |
- 'use strict';
- module.exports = app => {
- const { router, controller } = app;
- const profix = '/api/';
- const target = 'import';
- router.post(target, `${profix}${target}/examinee`, controller[target].examinee); // 考试相关
- router.post(target, `${profix}${target}/staff`, controller[target].staff); // 保安员
- router.post(target, `${profix}${target}/securityGuard`, controller[target].securityGuard); // 保安员
- router.post(target, `${profix}${target}/guardWork`, controller[target].guardWork); // 保安员
- };
|