-
这个模块是一个示例,跟本项目并无关系,只是用本框架开发一个示例,供大家参考。
-
由于是一个示例,所以模块的划分没有按照文档上推荐的来,而是用包来划分的模块,大家千万不要被带偏哦。
-
This module is an example and has nothing to do with this project. It is just an example developed with this framework for your reference.
-
Because it is an example, the division of the modules is not according to the recommendations in the documentation, but the modules divided by the package.
- 先找到这个类: com.mars.exp.ExpStart,执行里面的main方法
- 打开浏览器访问: http://127.0.0.1:8080,如果看到了欢迎词则表示启动成功
- 找到这个interface: com.mars.exp.api.ExpApi,里面有很多方法,每个方法都是一个http接口,接口的注释里有访问接口的方式