package thyyxxk.webserver.service.externalhttp; import com.alibaba.fastjson.JSONObject; import com.dtflys.forest.annotation.*; import thyyxxk.webserver.entity.ResultVo; import thyyxxk.webserver.entity.socketmessage.ApiMessageBody; import java.util.List; @BaseRequest(baseURL = "${socketCenter}") public interface WebSocketService { @Post("/sendMessageBySid") ResultVo sendMessageBySid(@JSONBody ApiMessageBody body); @Post("/sendMessageByUserCode") ResultVo sendMessageByUserCode(@JSONBody ApiMessageBody body); @Post("/sendMessageToAll") void sendMessageToAll(@JSONBody ApiMessageBody body); @Get("/getOnlineCount") ResultVo getOnlineCount(); @Post("/sendFloorTriageMessage") ResultVo sendFloorTriageMessage(@JSONBody ApiMessageBody body); @Post("/sendRoomTriageMessage") ResultVo sendRoomTriageMessage(@JSONBody ApiMessageBody body); @Post("/emrSocketUnlock") ResultVo emrSocketUnlock(@JSONBody ApiMessageBody body); @Post("/fetchEmrSessions") ResultVo> fetchEmrSessions(@JSONBody ApiMessageBody body); @Post("/emrSendMessage") void emrSendMessage(@JSONBody ApiMessageBody body); @Get("/isBeingEditing?documentId={documentId}") ResultVo isBeingEditing(@Var("documentId") String documentId); @Get("/textToSpeech?text={text}&id={id}") ResultVo textToSpeech(@Var("text") String text, @Var("id") String id); @Get("/getWeComAddressBookToken") String getWeComAddressBookToken(); @Get("/getWeComClockInToken") String getWeComClockInToken(); @Get("/getWeComSendMsgToken") String getWeComSendMsgToken(); @Get("/getWeComSendFileToken") String getWeComSendFileToken(); @Get("/getLisDockSign") String[] getLisDockSign(); @Get("/setLisDockSign?sign1={sign1}&sign2={sign2}") void setLisDockSign(@Var("sign1") String sign1, @Var("sign2") String sign2); @Get("/getThmzToken") String getThmzToken(); @Post("/sendEmrSocketMessage") void sendEmrSocketMessage(@JSONBody JSONObject obj); @Get("/getCurrentDocumentUserCode?documentId={documentId}") ResultVo getCurrentDocumentUserCode(@Var("documentId") String documentId); @Post("/forcedKickingOutOfPersonnelByDocumentId") ResultVo forcedKickingOutOfPersonnelByDocumentId(@JSONBody JSONObject js);}