package com.hzs.system.config.provider;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.system.config.BdWithdrawalProcess;
import com.hzs.system.config.IWithdrawalProcessServiceApi;
import com.hzs.system.config.service.IBdWithdrawalProcessService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 提现配置的dubbo服务类
 */
@DubboService
public class WithdrawalProcessServiceProvider implements IWithdrawalProcessServiceApi {

    @Autowired
    private IBdWithdrawalProcessService withdrawalProcessService;

    @Override
    public R<BdWithdrawalProcess> queryBdWithdrawalProcess(Integer pkCountry) {
        return R.ok(withdrawalProcessService.queryBdWithdrawalProcess(pkCountry));
    }
}
