12345678910 |
- 'use strict';
- /**
- * @param {Egg.Application} app - egg application
- */
- module.exports = app => {
- const prefix = '/api/servicezhwl';
- const index = 'bill';
- const { router, controller } = app;
- router.resources('bill', `${prefix}/bill`, controller[index].bill); // index、create、show、destroy
- };
|