package com.bonus.core.account.v3.api;

import com.bonus.core.account.v3.api.dto.AccRechargeSumApiDTO;
import com.bonus.core.account.v3.api.vo.AccRechargeSumApiVO;
import com.bonus.core.account.v3.service.AccTradeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AccTradeApi {
   private static final Logger log = LoggerFactory.getLogger(AccTradeApi.class);
   @Resource
   @Lazy
   private AccTradeService accTradeService;

   public AccRechargeSumApiVO getAccRechargeSum(AccRechargeSumApiDTO accRechargeSumApiDTO) {
      return this.accTradeService.getAccRechargeSum(accRechargeSumApiDTO);
   }
}
