package com.jeeplus.flowable.feign;

import com.jeeplus.common.constant.AppNameConstants;
import com.jeeplus.flowable.factory.PsiManagementApiFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "psiManagementApi", name = AppNameConstants.APP_PSI_MANAGEMENT_MODULES, fallbackFactory = PsiManagementApiFallbackFactory.class)
public interface IPsiManagementApi {

    String BASE_URL = "/feign/psi/management/wareHouse";

    @GetMapping(value = BASE_URL + "/nearExpiryList")
    void nearExpiryList();
}
