parent
12561f35f6
commit
0d6580edc6
4 changed files with 49 additions and 0 deletions
@ -0,0 +1,24 @@ |
|||||||
|
package com.daqing.financial.guarantee.feign; |
||||||
|
|
||||||
|
import com.daqing.framework.model.response.ResponseResult; |
||||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||||
|
import org.springframework.web.bind.annotation.GetMapping; |
||||||
|
import org.springframework.web.bind.annotation.RequestParam; |
||||||
|
|
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
/** |
||||||
|
* 这是一个声明式的远程调用 |
||||||
|
*/ |
||||||
|
@FeignClient(value = "dq-financial-crms", contextId = "guaranteeToCrms") |
||||||
|
public interface CrmsFeignService { |
||||||
|
|
||||||
|
/** |
||||||
|
* 根据客户编号/客户名称获取企业信息 |
||||||
|
* @param params |
||||||
|
* @return |
||||||
|
*/ |
||||||
|
@GetMapping("/crms/customer/list") |
||||||
|
ResponseResult list(@RequestParam Map<String, Object> params); |
||||||
|
|
||||||
|
} |
@ -0,0 +1,4 @@ |
|||||||
|
package com.daqing.financial.guarantee.model.request; |
||||||
|
|
||||||
|
public class DgApplyAmountInfoRequest { |
||||||
|
} |
@ -0,0 +1,4 @@ |
|||||||
|
package com.daqing.financial.guarantee.model.response; |
||||||
|
|
||||||
|
public class DgApplyAmountInfoResponse { |
||||||
|
} |
Loading…
Reference in new issue