新版仿ok交易所-后端
1
zj
20 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiContractOrderController.java
@@ -79,7 +79,7 @@
            }
        } catch (Exception e) {
            log.error("追加保证金异常", e);
            throw new YamiShopBindException("追加保证金异常");
            throw new YamiShopBindException("Failed to add margin");
        }
        return Result.succeed("success");
    }
@@ -97,7 +97,7 @@
            }
        } catch (Exception e) {
            log.error("追加保证金异常", e);
            throw new YamiShopBindException("追加保证金异常");
            throw new YamiShopBindException("Failed to add margin");
        }
        return Result.succeed("success");
    }
@@ -215,7 +215,7 @@
        if (null == order) {
            log.info("contractOrder!get order_no:" + order_no + ", order null");
            throw new YamiShopBindException("订单不存在");
            throw new YamiShopBindException("Order does not exist");
        }
        return Result.ok(this.contractOrderService.bulidOne(order));
@@ -256,10 +256,10 @@
        }
        if (!StringUtils.isInteger(page_no)) {
            throw new YamiShopBindException("页码不是整数");
            throw new YamiShopBindException("Page number must be an integer");
        }
        if (Integer.valueOf(page_no).intValue() <= 0) {
            throw new YamiShopBindException("页码不能小于等于0");
            throw new YamiShopBindException("Page number must be greater than 0");
        }
        String partyId = SecurityUtils.getCurrentUserId();