UidRpc.java
458 Bytes
package com.diligrp.etrade.rpc;
import com.diligrp.etrade.core.domain.Message;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name = "dili-uid", contextId = "uidRpc")
public interface UidRpc {
@GetMapping(value = "/api/bizNumber")
Message<String> getBizNumber(@RequestParam(name = "type") String type);
}