parent
6baed0d345
commit
3ec4963db1
@ -1,9 +1,17 @@
|
|||||||
package com.supervision.police.service;
|
package com.supervision.police.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.supervision.police.vo.ChatReqVO;
|
import com.supervision.police.vo.ChatReqVO;
|
||||||
import com.supervision.police.vo.ChatResVO;
|
import com.supervision.police.vo.ChatResVO;
|
||||||
|
import com.supervision.police.vo.ConversationResVo;
|
||||||
|
|
||||||
public interface ChatService {
|
public interface ChatService {
|
||||||
ChatResVO chat(ChatReqVO chatReqVO);
|
ChatResVO chat(ChatReqVO chatReqVO);
|
||||||
ChatResVO chatNew(ChatReqVO chatReqVO);
|
ChatResVO chatNew(ChatReqVO chatReqVO);
|
||||||
|
|
||||||
|
|
||||||
|
IPage<ChatResVO> queryConversationInfoList(String conversationId, int page, int size);
|
||||||
|
|
||||||
|
|
||||||
|
IPage<ConversationResVo> queryUserConversationList(String userId, int page, int size);
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
package com.supervision.police.vo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class ConversationResVo {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 会话id
|
||||||
|
*/
|
||||||
|
private String conversationId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件id
|
||||||
|
*/
|
||||||
|
private String caseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件名称
|
||||||
|
*/
|
||||||
|
private String caseName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件行为人
|
||||||
|
*/
|
||||||
|
private String caseActor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 案件行为人id
|
||||||
|
*/
|
||||||
|
private String caseActorId;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue