- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 MD5加密方法
import java.security.MessageDigest;import java.security.NoSuchAlgorithmException;/* * MD5 算法 */public class MD5 { // 全局数组 private final static String[] strDigits = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c".
2021-08-02 15:02:20
146
1
原创 微信小程序工具类之时间转换问题
//日期转时间戳function getUnixTime(dateStr){var newstr = dateStr.replace(/-/g,'/'); var date = new Date(newstr); var time_str = date.getTime().toString();return time_str.substr(0, 10);}//时间戳转日期,falg:true表示只要年月日,part: year month datefunction toDate(nu...
2021-08-02 14:54:57
462
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人