-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
6.1.0版本 crud 接口使用问题咨询 #593
Comments
带 下划线 _ 给别名 |
尝试了,还是不行,能否给个CRUD接口,数据批量操作使用别名的例子,6.1.0版本的 |
https://github.com/csx-bill/quick-boot 参考我这个项目吧
…------------------ 原始邮件 ------------------
发件人: "Tencent/APIJSON" ***@***.***>;
发送时间: 2023年8月8日(星期二) 下午5:54
***@***.***>;
***@***.******@***.***>;
主题: Re: [Tencent/APIJSON] 6.1.0版本 crud 接口使用问题咨询 (Issue #593)
带 下划线 _ 给别名
尝试了,还是不行,能否给个CRUD接口,数据批量操作使用别名的例子,6.1.0版本的
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
我这个springboot是 2.4.2,使用的apijson-framework.version 版本不一致,也可以吗?你那边入参例子吗,我直接在我这执行下试试 |
那就不要用 springboot3 的版本,其他一样
…------------------ 原始邮件 ------------------
发件人: "Tencent/APIJSON" ***@***.***>;
发送时间: 2023年8月8日(星期二) 晚上6:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Tencent/APIJSON] 6.1.0版本 crud 接口使用问题咨询 (Issue #593)
我这个springboot是 2.4.2,使用的apijson-framework.version 版本不一致,也可以吗?你那边入参例子吗,我直接在我这执行下试试
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
咱两个用apijson,调用的底层方法不一样,我使用的是RequestMethod.CRUD,然后你这边是根据传入的Arrays.asList("get", "head", "gets", "heads", "post", "put", "delete");你这种我不知道,怎么进行多种操作,比如新增、修改、删除一起 |
post 就是新增 put 就是编辑
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: awanghong ***@***.***>
发送时间: 2023年8月8日 19:56
收件人: Tencent/APIJSON ***@***.***>
抄送: Bill ***@***.***>, Comment ***@***.***>
主题: Re: [Tencent/APIJSON] 6.1.0版本 crud 接口使用问题咨询 (Issue #593)
咱两个用apijson,调用的底层方法不一样,我使用的是RequestMethod.CRUD,然后你这边是根据传入的Arrays.asList("get", "head", "gets", "heads", "post", "put", "delete");你这种我不知道,怎么进行多种操作,比如新增、修改、删除一起
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
|
最外层 "WhZ": {} 没有取别名,和 WhZ[] 表名都是 WhZ,重复了 |
|
需要的场景,可能就是,增删改同时存在,我想让它都执行,类似下面的例子 |
WhZ[]:POST 不是合法的数组对象 key,改成 WhZ:POST[] |
APIJSON Version/APIJSON 版本号
6.1.0
Database Type & Version/数据库类型及版本号
5.7mysql
Environment/环境信息
APIAuto Screenshots/APIAuto 请求与结果完整截屏
{
"@post": {
"WhP": {
"tag": "WhP"
},
"WhZ[]": {
"tag": "WhZ:[]"
}
},
"WhP": {
"name": "叶赫那拉·伟3"
},
"WhZ[]": [
{
"address": "高新区3",
"foreign_id@": "WhP/id"
},
{
"address": "新区3",
"foreign_id@": "WhP/id"
}
],
"@delete": {
"WhZ:del": {
"tag": "WhZ[]"
}
},
"WhZ": {
"id{}": [
143,
144
]
},
"tag": "WhP_WhZ[]",
"formId": "1684508373846192130",
"dataSourceId": "215w4mJk"
}
Current Behavior/问题描述
多表新增和批量删除报别名异常
Expected Behavior/期望结果
操作正常执行
Any additional comments?/其它补充说明?
No response
The text was updated successfully, but these errors were encountered: