parent
390d301ee3
commit
1ad7ec0366
3 changed files with 23 additions and 1 deletions
@ -0,0 +1,22 @@ |
||||
package com.daqing.financial.guarantee.feign; |
||||
|
||||
import com.daqing.framework.domain.crms.request.DgApplyAmountInfoRequest; |
||||
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; |
||||
|
||||
|
||||
/** |
||||
* 这是一个声明式的远程调用 |
||||
*/ |
||||
@FeignClient(value = "dq-financial-crms", contextId = "guaranteeToCrms") |
||||
public interface CrmsFeignService { |
||||
|
||||
/** |
||||
* 根据客户编号/客户名称获取企业信息 |
||||
*/ |
||||
@GetMapping("/crms/customer/queryCustomerInfoById") |
||||
ResponseResult queryCustomerInfoById(@RequestParam DgApplyAmountInfoRequest applyAmountInfo); |
||||
|
||||
} |
Loading…
Reference in new issue