You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: "Tencent/APIJSON" ***@***.***>;
发送时间: 2023年2月17日(星期五) 下午4:02
***@***.***>;
***@***.******@***.***>;
主题: Re: [Tencent/APIJSON] 如何解决在同一个方法中,同时操作修改、新增、删除三种操作的同时,使所有操作在同一个事务中,以此来保证`一个失败,全部回滚` (Issue #449)
@AwenJackson 6.0.0 新增支持全能接口 /crud,一个请求 JSON 同时使用多种 CRUD 操作,并支持跨源事务,感谢 @cloudAndMonkey 的贡献 #481#485;
https://github.com/Tencent/APIJSON/releases/tag/6.0.0
对应文档
https://github.com/Tencent/APIJSON/blob/master/README-extend.md
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
Activity
TommyLemon commentedon Oct 18, 2022
需要复用 SQLExecutor,参考
https://blog.csdn.net/aa330233789/article/details/105309571
或者类似 /login, /register 接口自己通过补偿来还原失败情况导致的更改。
当然一般不建议用 APIJSON 手写代码,APIJSON 主要用来提供零代码的万能通用 API,复杂业务建议通过现有的其它方式实现。
TommyLemon commentedon Feb 17, 2023
@AwenJackson 6.0.0 新增支持全能接口 /crud,一个请求 JSON 同时使用多种 CRUD 操作,并支持跨源事务,感谢 @cloudAndMonkey 的贡献 #481 #485;
https://github.com/Tencent/APIJSON/releases/tag/6.0.0
对应文档
https://github.com/Tencent/APIJSON/blob/master/README-extend.md
AwenJackson commentedon Feb 17, 2023