package com.ruoyi.api.invest;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * 基础服务
 *
 * @author YaphetS
 */
@FeignClient(contextId = "remoteInvestService", value = ServiceNameConstants.INTC_INVEST, fallbackFactory = com.ruoyi.api.invest.factory.RemoteInvestFallbackFactory.class)
public interface RemoteInvestService
{
    /**
     * 生成未出信用卡账单数据
     *
     * @return 结果
     */
    @RequestMapping(value = "/job/generateUnpaidCreditBill",method = RequestMethod.POST)
    public R generateUnpaidCreditBillTask();

    /**
     * 更新未出信用卡分期账单入账数据
     *
     * @return 结果
     */
    @RequestMapping(value = "/job/updateUnpaidInstallmentData",method = RequestMethod.POST)
    public R updateUnpaidInstallmentDataTask();



}
