package com.hzs.report.report.service.impl;

import com.hzs.report.report.service.ICuMemberBaseService;
import com.hzs.system.base.ICurrencyServiceApi;
import com.hzs.system.base.dto.CurrencyDTO;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author: ljc
 * @Time: 2022/10/11 15:22
 * @Classname: ICuMemberBaseServiceImpl
 * @Package_name: com.hzs.member.account.service.impl
 */
@Service
public class CuMemberBaseServiceImpl implements ICuMemberBaseService {

    @DubboReference
    private ICurrencyServiceApi currencyServiceApi;

    @Override
    public CurrencyDTO getCurrency(Integer pkCountry) {
        return currencyServiceApi.getCurrency(pkCountry).getData();
    }

}
