APIJSON icon indicating copy to clipboard operation
APIJSON copied to clipboard

错误: 字段 "date" 的类型为 timestamp without time zone, 但表达式的类型为 bigint

Open bjzhaoxy opened this issue 5 months ago • 1 comments

环境信息 系统: Windows 11 10.0 数据库: POSTGRESQL 14.7 JDK: 21.0.2 amd64 APIJSON: 8.0.0 问题描述 后端数据库为Postgresql,传入参数如下: { "User": { "sex": 0, "name": "", "tag": "", "head": "https://raw.githubusercontent.com/TommyLemon/StaticResources/master/APIJSON_Logo.png", "contactIdList": null, "pictureList": null, "date": 1751286600000 }, "tag": "User", "@explain": true } 其中data字段用上面的时间戳,或者字符串"yyyy-mm-dd hh:mm:ss",或者"now()",都不行,后台是timestamp,JON参数该如何传值?

bjzhaoxy avatar Jul 25 '25 07:07 bjzhaoxy

https://github.com/Tencent/APIJSON/issues/436

TommyLemon avatar Jul 26 '25 14:07 TommyLemon