think-orm
think-orm copied to clipboard
修复时间字段为 0 时,获取到的值为 null 的问题
create_time 字段保存的是时间戳,当 create_time = 0 时,同时也不想转 datetime 格式,这个时候需要直接拿到 int 类型的数据,而不是 null 类型