package com.hzs.system.config.provider;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.system.config.BdTransfer;
import com.hzs.system.config.ITransferServiceApi;
import com.hzs.system.config.service.IBdTransferService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 转账配置的dubbo服务类
 **/
@DubboService
public class TransferServiceProvider implements ITransferServiceApi {

    @Autowired
    private IBdTransferService withdrawalService;

    @Override
    public R<BdTransfer> queryTransfer(Integer pkCountry) {
        return R.ok(withdrawalService.queryTransfer(pkCountry));
    }
}
