新版仿ok交易所-后端
1
zj
23 hours ago f31fc9f42f78de0808e7f4bdc797c5e622df09e3
trading-order-admin/src/main/java/com/yami/trading/admin/controller/user/UserController.java
@@ -172,7 +172,7 @@
            log.setLog("管理员手动退出用户登录状态,ip:[" + IPHelper.getIpAddr() + "]");
            logService.save(log);
        } catch (Exception e) {
            //throw  new YamiShopBindException("操作失败!");
            //throw new YamiShopBindException("Operation failed!");
        }
        return Result.ok(null);
    }
@@ -222,6 +222,13 @@
        return  Result.succeed(asset_data);
    }
    @GetMapping("/getWalletExtends")
    @ApiOperation("用户币种资产")
    public  Result getWalletExtends(@RequestParam  String userId){
        User user=   userService.findUserByUserCode(userId);
        return userStatisticsService.getWalletExtends(user.getUserId());
    }
}