Tencent / APIJSON

🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构 🏆 Real-Time coding-free, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and the returned JSON of API can be customized by Frontend(Client) users
http://apijson.cn
Other
17.27k stars 2.16k forks source link

请求信息中日期/时间的处理方法 #696

Closed chendongcool closed 5 months ago

chendongcool commented 7 months ago

Description

1。 请求参数中时间段的参数如何实现,并且怎么兼容如mysql 和oracle 多种数据库,或者多种日期格式如:20240401160101,2024-04-01 16:01:01 { "[]": { "testTable1": { "update_time": "起始时间,结束时间",

}

} }

TommyLemon commented 7 months ago

"update_time>=": "起始时间", "update_time<=": "结束时间"

issues 里搜下 日期 可以找到多个类似问题: https://github.com/Tencent/APIJSON/issues?q=is%3Aissue+%E6%97%A5%E6%9C%9F

image