34 Star 98 Fork 34

benhailong / open_kit

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

介绍

OpenKit 是我个人公司做项目的过程中总结出的一些比较好用的工具,其中包括,时间转化,时间计算,红包计算等,比较好用的静态方法,同时,还有一些第三方的接口的集成。

支付、推送、即时聊天,目前都是只针对APP端开发中的 service端 使用,web端的我们将在后期更新中添加

关注

静态工具

  • MD5 加密工具
  • 时间格式化 data 转 String
  • 时间格式化 String 转 data
  • 生成随机数
  • 生成字母+数字 随机数
  • 计算两个时间之间时间差
  • 返回Map集合
  • UUID(不带“-”的)
  • 生成订单编号
  • 去除指定字符
  • 一个参数的非空验证
  • 多个参数非空验证
  • 将Javabean,Json,转换为Map
  • 将JavaBean转换成JSONObject(通过Map中转)
  • 将Map转换成Javabean
  • 从最小值到最大值之间,随机取 N 个不重复的数字
  • 随机红包(部分有红包,部分没有)
  • 日期类型

第三方工具

  • 推送
    • 极光推送
  • 即时聊天
    • 融云
  • 短信
    • 云之讯
    • 阿里大鱼
  • APP支付
    • 支付宝
    • 微信

introduce

OpenKit is my personal company in the process of doing projects summed up some of the more useful tools, including, time conversion, time calculation, red envelopes calculation, relatively easy to use static methods, at the same time. There is also integration of some third-party interfaces.

Payment, push, instant chat, currently are only for the service side of the APP side of development, we will add in a later update.

attention

static tools

  • MD5 encryption tool
  • time formatted data to String
  • time formatted String to data
  • generating random numbers
  • generating alphanumeric random numbers
  • calculating the time difference between two times
  • returns the Map collection
  • UUID(not "-")
  • generate order number
  • removal of specified characters
  • Non-null validation of a parameter
  • multiple parameter nonnull validation
  • convert Java bean Jsonto Map
  • convert JavaBean to JSON object (via Map transfer)
  • convert Map to Javabean
  • from the minimum to the maximum, randomly pick up N numbers that are not repeated
  • Random red envelopes (some red envelopes, part not)
  • date type

Third-party tools

  • push
    • aurora push
  • instant chat
    • melting clouds
  • text messages
    • cloud news
    • Ali fish
  • APP payments
    • Alipay
    • WeChat

Comments ( 8 )

Sign in for post a comment

About

OpenKit 是我个人公司做项目的过程中总结出的一些比较好用的工具,其中包括,时间转化,时间计算,红包计算等,比较好用的静态方法,同时,还有一些第三方的接口的集成。 spread retract
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
Java
1
https://gitee.com/benhailong/open_kit.git
git@gitee.com:benhailong/open_kit.git
benhailong
open_kit
open_kit
master

Search

152606 8668e384 1899542 133635 2cd7d36e 1899542