Expand description
工具模块
对应 TypeScript 版本的 util/
Modules§
Functions§
- camel_
to_ snake - 驼峰转下划线
- capitalize
- 首字母大写
- format_
datetime - 格式化日期时间
- md5
- MD5 加密
- parse_
datetime - 解析日期时间
- random_
number_ string - 生成随机数字字符串
- random_
string - 生成随机字符串
- snake_
to_ camel - 下划线转驼峰
- timestamp
- 获取当前时间戳(秒)
- timestamp_
millis - 获取当前时间戳(毫秒)
- uncapitalize
- 首字母小写
- uuid
- 生成 UUID v4
- uuid_
simple - 生成不带横杠的 UUID