GithubHelp home page GithubHelp logo

andysofan / jfantasy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from limaofeng/jfantasy

0.0 1.0 0.0 23.26 MB

jfantasy 是一个提供java快速开发的集成框架。使用 spring、hibernate、mybatis 等常用jar、并提供用户、权限、数据字典等功能

Java 54.69% JavaScript 40.68% CSS 1.52% HTML 0.08% FreeMarker 3.03%

jfantasy's Introduction

jfantasy

Build Status Coverage Status TechDebt Status Coverage Status

jfantasy 是[昊略软件公司的java开发框架],并整合了一些开源常用的java开发框架.

快速开始

通过 maven 私服地址: http://maven.hoolue.com ,配置该框架

<dependency>
  <groupId>com.fantasy</groupId>
  <artifactId>fantasy-core</artifactId>
  <version>3.3.17</version>
</dependency>

主要功能及使用技术介绍

RESTful 支付接口 微信接口 Hibernate Mybatis

演示系统 RESTfull API 地址

http://api-docs.jfantasy.org

3.3.17 升级日志

  • Pager 对象 json 格式调整为 :
 {
     "count": 4,
     "per_page": 15,
     "total": 1,
     "page": 1,
     "order": [
         "asc"
     ],
     "items": [
         ]
 }
  • 升级 spring-swagger 到 springfox
  • RESTful 添加 X-Page-Fields 请求头 条件查询返回多条数据时,默认返回list。如果需要分页支持需要在请求头中添加 X-Page-Fields:true。注:后端java实现全部返回Pager对象。
  • RESTful 添加 X-Result-Fields 请求头 当调用端想控制返回字段时,在请求头中添加:X-Result-Fields:username,sex. 这样就只会返回两个字段
  • RESTful 添加 X-Expend-Fields 请求头 当子对象、及关联对象被服务端屏蔽时,前端可以通过设置该字段返回其关联对象的信息:如:X-Expend-Fields:member,orders

© 2015 李茂峰 [email protected]

Licensed under MIT

jfantasy's People

Contributors

limaofeng avatar hebo237x avatar wangmingliang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.