| 123456789101112 |
- 'use strict';
- /**
- * @param {Egg.Application} app - egg application
- */
- module.exports = app => {
- const { router, controller } = app;
- // open launch
- router.get('/api/v1/setting/autoLaunchEnable', controller.v1.setting.autoLaunchEnable);
- // close launch
- router.get('/api/v1/setting/autoLaunchDisable', controller.v1.setting.autoLaunchDisable);
- };
|