|
|
@ -11,6 +11,7 @@ import com.epmet.dto.result.*; |
|
|
|
import com.epmet.feign.fallback.OperCustomizeOpenFeignClientFallbackFactory; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
|
|
@ -23,8 +24,8 @@ import java.util.Set; |
|
|
|
* @author yinzuomei@elink-cn.com |
|
|
|
* @date 2020/6/4 13:16 |
|
|
|
*/ |
|
|
|
//@FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallbackFactory = OperCustomizeOpenFeignClientFallbackFactory.class,url = "http://localhost:8089")
|
|
|
|
@FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallbackFactory = OperCustomizeOpenFeignClientFallbackFactory.class) |
|
|
|
@FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallbackFactory = OperCustomizeOpenFeignClientFallbackFactory.class,url = "http://localhost:8089") |
|
|
|
//@FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallbackFactory = OperCustomizeOpenFeignClientFallbackFactory.class)
|
|
|
|
public interface OperCustomizeOpenFeignClient { |
|
|
|
|
|
|
|
@PostMapping(value = "/oper/customize/customerfootbar/customerfootbars", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE) |
|
|
@ -88,4 +89,12 @@ public interface OperCustomizeOpenFeignClient { |
|
|
|
*/ |
|
|
|
@PostMapping("/oper/customize/icform/items") |
|
|
|
Result<List<FormItem>> listItems(@RequestBody CustomerFormQueryDTO formDto); |
|
|
|
|
|
|
|
/** |
|
|
|
* @Author sun |
|
|
|
* @Description 居民信息新增查询各表必填字段 |
|
|
|
**/ |
|
|
|
@PostMapping("/oper/customize/icformitem/getmustcolumn/{customerId}") |
|
|
|
Result<List<ColumnTableNameResultDTO>> getMustColumn(@PathVariable("customerId") String customerId); |
|
|
|
|
|
|
|
} |
|
|
|