新版仿ok交易所-后端
1
zj
23 hours ago f31fc9f42f78de0808e7f4bdc797c5e622df09e3
trading-order-admin/src/main/java/com/yami/trading/admin/controller/future/ProfitLossConfigController.java
@@ -98,7 +98,7 @@
        try {
            User party = userService.findUserByUserCode(usercode);
            if (null == party) {
                throw new YamiShopBindException("用户不存在");
                throw new YamiShopBindException("User does not exist");
            }
            // todo代理上逻辑
@@ -117,7 +117,7 @@
        } catch (Exception e) {
           log.error("保存场控失败", e);
           throw new YamiShopBindException("保存场控失败:"+ e.getMessage());
           throw new YamiShopBindException("Failed to save market control: " + e.getMessage());
        }
      return Result.ok("操作成功");
    }
@@ -131,7 +131,7 @@
      ProfitLossConfig profitAndLossConfig = this.profitAndLossConfigServiceFacade.getProfitLossConfigService().getById(update.getUuid());
      User party = userService.getById(profitAndLossConfig.getPartyId());
      if (null == party) {
         throw new YamiShopBindException("用户不存在");
         throw new YamiShopBindException("User does not exist");
      }
      String opName = SecurityUtils.getSysUser().getUsername();
      // todo 代理商数据权限验证
@@ -164,7 +164,7 @@
      ProfitLossConfig profitAndLossConfig = this.profitAndLossConfigServiceFacade.getProfitLossConfigService().getById(uuid);
      User party = userService.getById(profitAndLossConfig.getPartyId());
      if (null == party) {
         throw new YamiShopBindException("用户不存在");
         throw new YamiShopBindException("User does not exist");
      }
      String opName = SecurityUtils.getSysUser().getUsername();
      // todo 代理商数据权限验证