mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 10:52:26 +00:00
update
This commit is contained in:
@@ -492,10 +492,10 @@ services:
|
||||
SPRINGDOC_SHOW_ACTUATOR: false
|
||||
# swagger-ui
|
||||
# http://服务器ip:9003/swagger-ui/index.html
|
||||
SPRINGDOC_SWAGGER_UI_ENABLED: true
|
||||
SPRINGDOC_SWAGGER_UI_ENABLED: "false"
|
||||
SPRINGDOC_SWAGGER_UI_PATH: /index.html
|
||||
# api-docs
|
||||
SPRINGDOC_API_DOCS_ENABLED: true
|
||||
SPRINGDOC_API_DOCS_ENABLED: "false"
|
||||
SPRINGDOC_API_DOCS_PATH: /v3/api-docs
|
||||
# 百度翻译 https://fanyi-api.baidu.com/doc/21
|
||||
BYTEDESK_TRANSLATE_BAIDU_APPID: placeholder
|
||||
|
||||
@@ -478,10 +478,10 @@ services:
|
||||
SPRINGDOC_SHOW_ACTUATOR: "false"
|
||||
# swagger-ui
|
||||
# http://服务器ip:9003/swagger-ui/index.html
|
||||
SPRINGDOC_SWAGGER_UI_ENABLED: "true"
|
||||
SPRINGDOC_SWAGGER_UI_ENABLED: "false"
|
||||
SPRINGDOC_SWAGGER_UI_PATH: /index.html
|
||||
# api-docs
|
||||
SPRINGDOC_API_DOCS_ENABLED: "true"
|
||||
SPRINGDOC_API_DOCS_ENABLED: "false"
|
||||
SPRINGDOC_API_DOCS_PATH: /v3/api-docs
|
||||
# 百度翻译 https://fanyi-api.baidu.com/doc/21
|
||||
BYTEDESK_TRANSLATE_BAIDU_APPID: placeholder
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-02-21 10:00:32
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2025-08-22 14:20:01
|
||||
* @LastEditTime: 2025-09-01 10:41:47
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
@@ -45,4 +45,27 @@ public class MessageRequest extends BaseRequest {
|
||||
private String componentType;
|
||||
|
||||
private String searchDate;
|
||||
|
||||
|
||||
/**
|
||||
* 判断是否为客服类型会话
|
||||
*/
|
||||
public boolean isCustomerServiceType() {
|
||||
return "AGENT".equals(threadType) || "WORKGROUP".equals(threadType) ||
|
||||
"ROBOT".equals(threadType) || "UNIFIED".equals(threadType);
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断是否为成员类型会话
|
||||
*/
|
||||
public boolean isMemberType() {
|
||||
return "MEMBER".equals(threadType);
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断是否为群聊类型会话
|
||||
*/
|
||||
public boolean isGroupType() {
|
||||
return "GROUP".equals(threadType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user