package com.yeejoin.amos.boot.module.common.api.feign;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.typroject.tyboot.core.restful.utils.ResponseModel;

/**
 * 隐患服务feign
 *
 * @author Dell
 */
@FeignClient(name = "${latentDanger.feign.name}", path = "latentDanger", configuration = {MultipartSupportConfig.class})
public interface LatentDangerFeignClient {

    /**
     * 获取未完成隐患数量
     *
     * @return
     */
    @RequestMapping(value = "/api/latent/danger/app/unFinished", method = RequestMethod.GET)
    ResponseModel<Object> getUnFinishedDangerCount();

}
