Administrator
2026-06-06 aaa9b2d954e3dc3c1588ecbb749b46b413c5fc5b
refs
author Administrator <15274802129@163.com>
Saturday, June 6, 2026 11:39 +0800
committer Administrator <15274802129@163.com>
Saturday, June 6, 2026 11:40 +0800
commitaaa9b2d954e3dc3c1588ecbb749b46b413c5fc5b
tree edc35994eaedd86585371242d9360ca82abb5095 tree | zip | gz
parent 1bbce03cca9b1fe2db1af4c849c2659b572fe53c view | diff
refactor(gateApi): 优化网格交易服务中的变量作用域

- 将 actualPosSize 和 nextGridId 声明为 final 变量以解决闭包问题
- 确保在异步回调中正确访问这些变量的值
- 提高代码的线程安全性和可读性
1 files modified
6 ■■■■■ changed files
src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java 6 ●●●●● diff | view | raw | blame | history