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

import com.yeejoin.amos.boot.biz.common.feign.MultipartSupportConfig;
import com.yeejoin.amos.component.feign.config.InnerInvokException;
import org.springframework.cloud.openfeign.FeignClient;
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 = "${idx.feign.name:AMOS-IDX}", path = "idx", configuration = {MultipartSupportConfig.class})
public interface IdxFeignClient {


    @RequestMapping(value = "/defect/delete/person", method = RequestMethod.POST)
    ResponseModel<Object> delUsr(@RequestBody String id) throws InnerInvokException;

}
