刘光辉
昨天 bb638871a7fb692d80f1b7a758f991dc0879002c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package jnpf.limsService.client;
 
import jnpf.message.model.SentMessageForm;
import jnpf.utils.FeignName;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
import java.util.List;
 
/**
 * LIMS message client without the platform client's silent fallback.
 * Transport failures must be visible so delivery rows are not marked SENT incorrectly.
 */
@FeignClient(name = FeignName.MESSAGE_SERVER_NAME, contextId = "limsMessageClient", path = "/MessageAll")
public interface LimsMessageClient {
    @PostMapping("/sendScheduleMessage")
    List<String> sendScheduleMessage(@RequestBody SentMessageForm sentMessageForm);
}