puzhibing
2026-05-20 da5cf3d82ea1044c338513147b0078be031465a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.xiaopeng.api.feignClient.pushMessage;
 
import com.xiaopeng.api.factory.pushMessage.WebSocketMessageFallbackFactory;
import com.xiaopeng.api.vo.XpTaskVO;
import com.xiaopeng.api.vo.pushMessage.UpdateEndAddStatusVo;
import com.xiaopeng.common.core.domain.R;
import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**
 * 消息Feign客户端
 *
 * @author xiaochen
 */
@FeignClient(contextId = "WebSocketMessageClient",
        value = ServiceNameConstantsEnum.XP_PUSH_MESSAGE_SERVICE,
        fallbackFactory = WebSocketMessageFallbackFactory.class)
public interface WebSocketMessageClient {
 
    /**
     * 工单推送
     */
    @PostMapping("/inner/websocket/push/task")
    R<String> pushTask(@RequestBody XpTaskVO dto);
 
 
 
 
    /**
     * 推送订单修改目的地状态消息
     * @param vo
     * @return
     */
    @PostMapping("/logan/inner/websocket/order/sendUpdateEndAddStatus")
    R<?> sendUpdateEndAddStatus(@RequestBody UpdateEndAddStatusVo vo);
}