修改了消息服务接口
This commit is contained in:
@ -8,13 +8,14 @@ import org.springframework.web.bind.annotation.PostMapping;
|
||||
import com.chinaunicom.mall.ebtp.common.bizmessage.entity.MessageRaw;
|
||||
import com.chinaunicom.mall.ebtp.common.bizmessage.entity.MessageResult;
|
||||
import com.chinaunicom.mall.ebtp.common.bizmessage.fallback.BizMessageClientFallback;
|
||||
import com.chinaunicom.mall.ebtp.common.constant.ServiceNameConstants;
|
||||
|
||||
/**
|
||||
* 消息客户端
|
||||
*
|
||||
* @author ajaxfan
|
||||
*/
|
||||
@FeignClient(name = "biz-message-client", url = "${core-service-ebtp-extend.biz.message}", fallback = BizMessageClientFallback.class)
|
||||
@FeignClient(name = ServiceNameConstants.EXTEND_SERVICE, fallback = BizMessageClientFallback.class)
|
||||
public interface BizMessageFeignClient {
|
||||
|
||||
@PostMapping(value = "/v1/producer/")
|
||||
|
@ -104,5 +104,10 @@ public interface ServiceNameConstants {
|
||||
* 电子签章
|
||||
*/
|
||||
String ELEC_SIGN_SERVICE = "core-service-ebtp-elec-sign";
|
||||
|
||||
/**
|
||||
* 扩展服务
|
||||
*/
|
||||
String EXTEND_SERVICE = "biz-service-ebtp-extend";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user