Code Monkey home page Code Monkey logo

common-project's Introduction

common-project

Java后端常用工具类、缓存接口封装、消息队列接口封装。

1.缓存接口介绍(com.app.cache):

① 基于JVM方法区数据缓存

② 基于redis进行数据缓存

2.消息队列(com.app.queue 目前只实现了两种)

① 基于Java ArrayBlockingQueue

② 基于redis 发布订阅实现消息队列

▲ 后期会维护kafka和阿里巴巴RocketMQ

3.常用工具类(com.app.utils)

网络类(HttpUtil)

时间类(DateUtils)

JSON类(JsonUtil)

安全类(MD5加密、AES加密、Base64编码、3DES加密、RSA加密、SHA256)

图片处理(GraphicsMagick)

等等...

4.Redis模块

①redis常用API接口(RedisUtil)

②基于redis实现分布式锁(RedisLockUtil)

5.微信、支付宝支付(com.app.pay包下)

使用PayFactory工厂类统一管理

①创建订单(createOrder)

②退款(refund)

③生成移动端调起微信和支付宝时所需要的参数(createPayParams)

④订单查询(queryOrder)

QQ:208275451 邮箱:[email protected]

common-project's People

Watchers

James Cloos avatar  avatar  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.