imock
imock copied to clipboard
您好,我在更新配置后,info表中的ip被自動修改了,并且被mock的應用沒返回對應的結果,方便加個聯係方式交流下嗎謝謝
看代码mock逻辑是在afterReturning中实现的,这样的话是不是原代码逻辑还是会执行,只是修改了返回给调用方的Object或者Exception。比如我想mock调用银行支付逻辑,但是还是会实际支付,所以切面放在before(Advice advice)并且结合returnImmediately会不会效果更好
Fix issue #5 by update dependency spring.boot.version to 2.5.14 @chufusheng
Hi, In **/mock-web**,there is a dependency **org.springframework:spring-beans:5.2.9.RELEASE** that calls the risk method. [CVE-2022-22970](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22970) The scope of this CVE affected version is **[,5.2.22.RELEASE) [5.3.0,5.3.20)** After further analysis, in this project, the...
意见收集