Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

response过滤数据不成功 #214

Closed
JerryWwang opened this issue Apr 7, 2021 · 3 comments
Closed

response过滤数据不成功 #214

JerryWwang opened this issue Apr 7, 2021 · 3 comments

Comments

@JerryWwang
Copy link

环境信息

  • 系统:
  • JDK:
  • 数据库:
  • APIJSON:

问题描述

response表中的数据看起来是可以控制返回数据,但是使用不生效,也没有找到对应的文档介绍
如将user的structure改为{"put": {"extra": "Response works! "}, "remove": "head"}
重启服务依旧返回了head字段,也没有添加extra字段
image
image

@TommyLemon
Copy link
Collaborator

@JerryWwang
Copy link
Author

文档中没有response表的用法

@TommyLemon
Copy link
Collaborator

对 Response 的校验配置,几年前刚实现没几天就取消支持了,也从来没写过对应的文档。
https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/orm/AbstractParser.java
image

可以用远程函数来做
#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants