新版仿ok交易所-后端
1
zyy
2025-12-20 54a5b503d811f7ca3f356728c3ab1e04451a9a86
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);
                }
            }