think-orm icon indicating copy to clipboard operation
think-orm copied to clipboard

修复时间字段为 0 时,获取到的值为 null 的问题

Open RiverDanceGit opened this issue 3 years ago • 0 comments

create_time 字段保存的是时间戳,当 create_time = 0 时,同时也不想转 datetime 格式,这个时候需要直接拿到 int 类型的数据,而不是 null 类型

RiverDanceGit avatar Jun 27 '22 15:06 RiverDanceGit