MessagePushAPIHandler.java 832 Bytes
package com.viontech.feginService;


import feign.Headers;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * 拾联对接接口
 */
@Repository
@FeignClient(name="mssagePush-httpClient",url="${message.audit.httpUrl:127.0.0.1:80}")
public interface MessagePushAPIHandler {

    /**
     * 审核信息推送到对方平台,
     * @param params
     * @return
     */
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @PostMapping(value = "/external/vionvisionvideo/receiveVideoEvent")
   // @PostMapping(value = "/testCode/reciveMessage")
    Map auditMessagePush(@RequestBody Map params);

}