-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from lianluoyi/dev
V1.33.0版本更新
- Loading branch information
Showing
83 changed files
with
2,252 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
.../src/main/java/com/easyink/common/constant/conversation/ConversationArchiveConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package com.easyink.common.constant.conversation; | ||
|
||
/** | ||
* 会话存档常量类 | ||
* | ||
* @author lichaoyu | ||
* @date 2023/9/18 10:11 | ||
*/ | ||
public class ConversationArchiveConstants { | ||
|
||
/** | ||
* 发送状态为已发送 | ||
*/ | ||
public static final String ACTION_SEND = "send"; | ||
|
||
/** | ||
* 发送状态为已撤回 | ||
*/ | ||
public static final String ACTION_RECALL = "recall"; | ||
|
||
/** | ||
* 查询的结果数量开始位置 | ||
*/ | ||
public static final int SEARCH_FROM = 0; | ||
|
||
/** | ||
* 查询的结果数量最大值(pageSize设置为10000表示全部查询) | ||
*/ | ||
public static final int SEARCH_SIZE = 10000; | ||
|
||
/** | ||
* 返回的msgId标识符 | ||
*/ | ||
public static final String MSG_ID = "msgId"; | ||
|
||
/** | ||
* 查询下文信息标识 | ||
*/ | ||
public static final String PRIOR_CONTEXT = "after"; | ||
|
||
/** | ||
* 查询上文信息标识 | ||
*/ | ||
public static final String NEXT_CONTEXT = "before"; | ||
|
||
/** | ||
* 默认的查询上下文信息的聊天条数 | ||
*/ | ||
public static final int DEFAULT_CONTEXT_NUM = 10; | ||
|
||
/** | ||
* 分页查询上下文信息的聊天条数 | ||
*/ | ||
public static final int PAGE_CONTEXT_NUM = 20; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.