Giter Site home page Giter Site logo

czh-tool's Introduction

czh-tool 快速开发框架工具

介绍

czh-tool 基于SpringBoot一款快速单体框架里面集成了快速开发需要的环境架构代码集成工具

 项目基本保持每日更新,右上随手点个 🌟 Star 关注,这样才有持续下去的动力,谢谢~

功能列表

  • 统一返回值封装
  • void返回类型封装
  • 全局异常处理
  • 参数校验错误码
  • 自定义响应体,适应不同项目的需求
  • 文件上传与下载
  • 接口日志
  • 接口防刷

更多功能,请到文档中心的项目主页进行了解。

2. 快速入门 (仅支持SprinBoot2x版本不支持3x版本)

3.1 引入czh-tool组件

czh-tool已发布至maven**仓库,我们可以直接引入到项目中。

maven依赖如下:

xml

    //仅支持sprinboot2x版本不支持3x版本
    <dependency>
            <groupId>io.github.15139467313</groupId>
            <artifactId>czh-tool</artifactId>
            <version>0.3.2</version>
        </dependency>

3.2 启用czh-tool

在启动类中引入@ EnableCzhTool注解,即可启用czh-tool组件。

@EnableCzhTool
@SpringBootApplication
public class ExampleApplication {
    public static void main(String[] args) {
        SpringApplication.run(ExampleApplication.class, args);
    }
}

如果您觉得这个项目对您有帮助,可以帮作者买杯饮料鼓励鼓励!

作者信息

  • 作者:陈思源(WP)
  • 邮箱:[email protected]
  • 微信:15139467313
  • 就点点🌟 Star 🌟 关注更新,支持下作者就可以了

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.