新版仿ok交易所-后端
1
zj
2026-02-02 12f937c17d86b0778dd6f92bec90b2cc48aa60b5
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiPaymentMethod2Controller.java
@@ -77,7 +77,7 @@
            for (C2cPaymentMethod method : map.values()) {
                if (null != method) {
                    if (StringUtils.isNotEmpty(method.getMethodImg())) {
                        String path = awsS3OSSFileService.getUrl(method.getMethodImg());
                        String path = Constants.IMAGES_HTTP+method.getMethodImg();
                        method.setMethodImg(path);
                    }
                    list.add(this.c2cTranslateService.translatePm(method, language));
@@ -133,11 +133,11 @@
            throw new BusinessException("支付方式不存在");
        }
        if (StringUtils.isNotEmpty(method.getMethodImg())) {
            method.setMethodImg(awsS3OSSFileService.getUrl(method.getMethodImg()));
            method.setMethodImg(Constants.IMAGES_HTTP+method.getMethodImg());
        }
        if (StringUtils.isNotEmpty(method.getQrcode())) {
            String path = method.getQrcode();
            method.setQrcodePath(awsS3OSSFileService.getUrl(path));
            method.setQrcodePath(Constants.IMAGES_HTTP+path);
        }
        return Result.succeed(method);
    }
@@ -425,7 +425,7 @@
            C2cPaymentMethod method = resList.get(i);
            if (null != method) {
                if (StringUtils.isNotEmpty(method.getMethodImg())) {
                    String path = awsS3OSSFileService.getUrl(method.getMethodImg());
                    String path = Constants.IMAGES_HTTP+method.getMethodImg();
                    method.setMethodImg(path);
                }
            }