package com.crm.custom.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.entity.websocket.WebsocketPushMessageEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "NEWS-SERVICE", path = "/push/message/custom")
public interface PushMessageFeignService {
    @PostMapping("/token/notice")
     BaseResultDto pushMessageToTokenNotice(WebsocketPushMessageEntity entity) throws Exception;


}
