src/main/java/com/xcong/excoin/modules/platform/dao/PlatformPaymentMethodDao.java
@@ -1,12 +1,9 @@ package com.xcong.excoin.modules.platform.dao; import java.util.List; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.xcong.excoin.modules.home.entity.MemberPaymentMethodEntity; import com.xcong.excoin.modules.platform.entity.PlatformCnyUsdtExchangeEntity; import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity; public interface PlatformPaymentMethodDao extends BaseMapper<PlatformCnyUsdtExchangeEntity> { public interface PlatformPaymentMethodDao extends BaseMapper<PlatformPaymentMethodEntity> { } src/main/java/com/xcong/excoin/modules/platform/service/PlatformPaymentMethodService.java
@@ -4,9 +4,9 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.xcong.excoin.common.response.Result; import com.xcong.excoin.modules.platform.entity.PlatformCnyUsdtExchangeEntity; import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity; public interface PlatformPaymentMethodService extends IService<PlatformCnyUsdtExchangeEntity> { public interface PlatformPaymentMethodService extends IService<PlatformPaymentMethodEntity> { public Result findUsdtCnyExchange(@RequestParam("type") String type); src/main/java/com/xcong/excoin/modules/platform/service/impl/PlatformPaymentMethodServiceImpl.java
@@ -11,11 +11,13 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.xcong.excoin.common.response.Result; import com.xcong.excoin.modules.platform.dao.PlatformCnyUsdtExchangeDao; import com.xcong.excoin.modules.platform.dao.PlatformPaymentMethodDao; import com.xcong.excoin.modules.platform.entity.PlatformCnyUsdtExchangeEntity; import com.xcong.excoin.modules.platform.service.PlatformCnyUsdtExchangeService; import com.xcong.excoin.modules.platform.entity.PlatformPaymentMethodEntity; import com.xcong.excoin.modules.platform.service.PlatformPaymentMethodService; @Service public class PlatformPaymentMethodServiceImpl extends ServiceImpl<PlatformCnyUsdtExchangeDao, PlatformCnyUsdtExchangeEntity> implements PlatformCnyUsdtExchangeService{ public class PlatformPaymentMethodServiceImpl extends ServiceImpl<PlatformPaymentMethodDao, PlatformPaymentMethodEntity> implements PlatformPaymentMethodService{ @Resource PlatformCnyUsdtExchangeDao platformCnyUsdtExchangeDao;