添加日志打印
This commit is contained in:
1 parent
1202a7a9d3
commit
40088cd0f0
2 files changed
+4
No files matched your search
@@ -17,6 +17,7 @@ import com.ruoyi.system.service.IWalletAddressService;
|
||||
import com.ruoyi.system.service.IUsdtProxyToOtherService;
|
||||
import com.ruoyi.system.service.IUsdtOtherToProxyService;
|
||||
import com.ruoyi.system.service.WalletSigningService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -32,6 +33,7 @@ import com.ruoyi.system.domain.vo.WalletOperationRequest;
|
||||
* @author luqj
|
||||
* @date 2025-11-25
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/system/address" )
|
||||
public class WalletAddressController extends BaseController {
|
||||
@@ -67,6 +69,7 @@ public class WalletAddressController extends BaseController {
|
||||
? AjaxResult.error("钱包刷新成功,但重新读取数据失败")
|
||||
: AjaxResult.success(refreshed);
|
||||
} catch (Exception ex) {
|
||||
log.error(ex.getMessage(),ex);
|
||||
return AjaxResult.error("链上查询失败,请稍后重试");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user