yuyenews / Mars-Example

Mars-Java usage example

Home Page:http://mars-framework.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. 这个模块是一个示例,跟本项目并无关系,只是用本框架开发一个示例,供大家参考。

  2. 由于是一个示例,所以模块的划分没有按照文档上推荐的来,而是用包来划分的模块,大家千万不要被带偏哦。

  3. 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.

  4. 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.

使用方式

  1. 先找到这个类: com.mars.exp.ExpStart,执行里面的main方法
  2. 打开浏览器访问: http://127.0.0.1:8080,如果看到了欢迎词则表示启动成功
  3. 找到这个interface: com.mars.exp.api.ExpApi,里面有很多方法,每个方法都是一个http接口,接口的注释里有访问接口的方式

About

Mars-Java usage example

http://mars-framework.com/

License:MIT License


Languages

Language:Java 100.0%