首页 >> 文档中心 >> 模板教程
_days_ago是演示数据中的特殊键。当行对象中包含_days_ago字段时,系统会将其转换为相对当前时间N天前的时间戳,写入created_at和updated_at字段。
"article": [ { "id":1, "title":"新闻1", "_days_ago":1 }, { "id":2, "title":"新闻2", "_days_ago":3 }, { "id":3, "title":"新闻3", "_days_ago":7 } ]
扫码关注我们