see egg docs for more detail.
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm start
$ npm stop
- Use
npm run lint
to check code style. - Use
npm test
to run unit test. - Use
npm run autod
to auto detect dependencies upgrade, see autod for more detail.
Controller
主要对用户的请求参数进行处理,
然后调用调用对应的service
方法处理业务,
得到业务结果后封装并返回