package com.ho.xxljob.feignclient;

import com.ho.common.tools.constant.ContextConstant;
import com.ho.common.tools.exception.DataResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Description flow模块的远程调用
 * Author yule
 * Date 2023/3/17 10:20
 */
@FeignClient(value = ContextConstant.FILE_CENTER, fallback = FileFeignClientFallback.class)
public interface FileFeignClient {

    @PostMapping(value = ContextConstant.ROOT_CONTEXT + ContextConstant.MEDIA_CONTEXT +  "weather/jobStationWeathers")
    DataResult jobStationWeathers();
}
