新版仿ok交易所-后端
zyy
2026-01-04 7295334ff00457c111484d2f021a9c33bbf4a5f2
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiIcoController.java
@@ -40,10 +40,11 @@
    @Autowired
    private RedissonClient redissonClient;
    @ApiOperation(value = "新币列表,配置列表")
    @ApiOperation(value = "新币列表")
    @GetMapping("list")
    public Result<Page<Ico>> list(ItemQuery itemQuery, Page<Ico> page) throws Exception {
        QueryWrapper queryWrapper = QueryWrapperGenerator.buildQueryCondition (itemQuery, ItemQuery.class);
    public Result<Page<Ico>> list(ItemQuery icoQuery, Page<Ico> page) throws Exception {
        QueryWrapper queryWrapper = QueryWrapperGenerator.buildQueryCondition (icoQuery, ItemQuery.class);
        queryWrapper.orderByDesc("market_date");
        Page<Ico> result = icoService.page(page, queryWrapper);
        return Result.ok(result);
    }
@@ -90,6 +91,7 @@
            throw new YamiShopBindException("请重新登录");
        }
        queryWrapper.eq("u.user_id", partyId);
        queryWrapper.orderByDesc("created_at");
        Page<UserSubscriptionDTO> result = userSubscriptionService.findPage(page, queryWrapper);
        return Result.ok(result);
    }