{"repo":"xuexiangjys/TemplateAndServer","free":true,"listed":false,"github":"https://github.com/xuexiangjys/TemplateAndServer","clone":"git clone https://github.com/xuexiangjys/TemplateAndServer.git","description":"简化版的Android服务端模板，用于接口模拟测试。","language":"Java","stars":51,"topics":["template","server","serverless-framework","x-templateproject"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"TemplateAndServer 简化版的Android服务端模版，用于接口模拟测试。 关于我 演示（请star支持） 服务端演示 浏览器演示 写法对比 AndServer SpringBoot 从上面的图片我们很容易看出，AndServer的写法和SpringBoot是非常相似的，就连项目工程的结构也是相似的。 --- 功能介绍 本项目使用AndServer提供的服务搭建。 统一的请求日志记录。 全局异常捕获处理，返回统一API结果。 增加全局权限验证拦截器。 文件上传。 后台管理界面。 接口测试界面。 返回Json格式 使用方式 服务器配置 在 com.xuexiang.server.ServerConfig 进行配置的修改。 服务接口编写 1.在 com.xuexiang.server.controller 包下创建Controller类。 2.在Controller类上加上 @RestController 和 @RequestMapping 注解。 日志查看 在logcat上搜索关键词\"AndServer\"即可查看请求日志。","default_branch":null,"files":null,"tree":[],"storefront":"/r/xuexiangjys","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xuexiangjys/TemplateAndServer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}