Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deep-ask
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
deepseek
deep-ask
Commits
124ca54a
Commit
124ca54a
authored
Mar 24, 2025
by
luojun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deepseek优化
parent
1c955ab9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
DeepSeekAiListener.java
src/main/java/admin/listener/DeepSeekAiListener.java
+2
-2
WebSocketModel.java
src/main/java/admin/model/WebSocketModel.java
+8
-0
VoiceWebSocketServer.java
src/main/java/admin/server/VoiceWebSocketServer.java
+3
-3
ResponseEnum.java
src/main/java/admin/util/ResponseEnum.java
+1
-1
No files found.
src/main/java/admin/listener/DeepSeekAiListener.java
View file @
124ca54a
...
@@ -62,6 +62,8 @@ public class DeepSeekAiListener extends EventSourceListener {
...
@@ -62,6 +62,8 @@ public class DeepSeekAiListener extends EventSourceListener {
webSocketModel
.
setName
(
maxKbChatReq
.
getUserName
());
webSocketModel
.
setName
(
maxKbChatReq
.
getUserName
());
webSocketModel
.
setTitle
(
maxKbChatReq
.
getShowType
().
getDesc
());
webSocketModel
.
setTitle
(
maxKbChatReq
.
getShowType
().
getDesc
());
webSocketModel
.
setImgs
(
maxKbChatReq
.
getShowType
().
getImgs
());
webSocketModel
.
setImgs
(
maxKbChatReq
.
getShowType
().
getImgs
());
webSocketModel
.
setNote
(
maxKbChatReq
.
getShowType
().
getNote
());
webSocketModel
.
setPosition
(
maxKbChatReq
.
getShowType
().
getPosition
());
webSocketModel
.
setContent
(
""
);
webSocketModel
.
setContent
(
""
);
try
{
try
{
session
.
getBasicRemote
().
sendText
(
JSON
.
toJSONString
(
webSocketModel
));
session
.
getBasicRemote
().
sendText
(
JSON
.
toJSONString
(
webSocketModel
));
...
@@ -87,8 +89,6 @@ public class DeepSeekAiListener extends EventSourceListener {
...
@@ -87,8 +89,6 @@ public class DeepSeekAiListener extends EventSourceListener {
map
.
put
(
"imgs"
,
maxKbChatReq
.
getShowType
().
getImgs
());
map
.
put
(
"imgs"
,
maxKbChatReq
.
getShowType
().
getImgs
());
map
.
put
(
"title"
,
maxKbChatReq
.
getShowType
().
getDesc
());
map
.
put
(
"title"
,
maxKbChatReq
.
getShowType
().
getDesc
());
map
.
put
(
"content"
,
completionResponse
.
getContent
());
map
.
put
(
"content"
,
completionResponse
.
getContent
());
map
.
put
(
"note"
,
maxKbChatReq
.
getShowType
().
getNote
());
map
.
put
(
"position"
,
maxKbChatReq
.
getShowType
().
getPosition
());
String
msg
=
JSON
.
toJSONString
(
map
);
String
msg
=
JSON
.
toJSONString
(
map
);
maxKbChatReq
.
getSession
().
getBasicRemote
().
sendText
(
msg
);
maxKbChatReq
.
getSession
().
getBasicRemote
().
sendText
(
msg
);
if
(
maxKbChatReq
.
getClient
().
equals
(
WebSocketUtil
.
H5
)){
if
(
maxKbChatReq
.
getClient
().
equals
(
WebSocketUtil
.
H5
)){
...
...
src/main/java/admin/model/WebSocketModel.java
View file @
124ca54a
...
@@ -42,4 +42,12 @@ public class WebSocketModel {
...
@@ -42,4 +42,12 @@ public class WebSocketModel {
* 图片列表
* 图片列表
*/
*/
private
List
<
String
>
imgs
;
private
List
<
String
>
imgs
;
/**
* 人员介绍内容
*/
private
String
note
;
/**
* 人员职位
*/
private
String
position
;
}
}
src/main/java/admin/server/VoiceWebSocketServer.java
View file @
124ca54a
...
@@ -319,11 +319,11 @@ public class VoiceWebSocketServer {
...
@@ -319,11 +319,11 @@ public class VoiceWebSocketServer {
}
else
if
(
msg
.
contains
(
"刘瑞华"
)){
}
else
if
(
msg
.
contains
(
"刘瑞华"
)){
return
ResponseEnum
.
ZK_LRH
;
return
ResponseEnum
.
ZK_LRH
;
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"运营平台"
))){
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"运营平台"
))){
return
ResponseEnum
.
ZK_
SMH
;
return
ResponseEnum
.
ZK_
PLATFORM
;
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"小程序"
)
||
msg
.
contains
(
"客户端小程序"
))){
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"小程序"
)
||
msg
.
contains
(
"客户端小程序"
))){
return
ResponseEnum
.
ZK_SM
H
;
return
ResponseEnum
.
ZK_SM
ALL_PROGRAM
;
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"手持机"
)
||
msg
.
contains
(
"手持机收费终端"
))){
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"手持机"
)
||
msg
.
contains
(
"手持机收费终端"
))){
return
ResponseEnum
.
ZK_
SMH
;
return
ResponseEnum
.
ZK_
POS
;
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"超级魔盒"
)
||
msg
.
contains
(
"物联网超级魔盒"
))){
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"超级魔盒"
)
||
msg
.
contains
(
"物联网超级魔盒"
))){
return
ResponseEnum
.
ZK_SMH
;
return
ResponseEnum
.
ZK_SMH
;
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"无线高位视频"
)
||
msg
.
contains
(
"ETC系列设备"
))){
}
else
if
(
msg
.
contains
(
"中科慧居"
)
&&
(
msg
.
contains
(
"无线高位视频"
)
||
msg
.
contains
(
"ETC系列设备"
))){
...
...
src/main/java/admin/util/ResponseEnum.java
View file @
124ca54a
...
@@ -33,7 +33,7 @@ public enum ResponseEnum{
...
@@ -33,7 +33,7 @@ public enum ResponseEnum{
ZK_PLATFORM
(
8
,
"运营平台"
,
Arrays
.
asList
(
"https://bj-img.justh5.com/newBigScreen/software/yypt1.png"
,
"https://bj-img.justh5.com/newBigScreen/software/yypt2.png"
,
"https://bj-img.justh5.com/newBigScreen/software/yypt3.png"
,
"https://bj-img.justh5.com/newBigScreen/software/yypt4.png"
),
null
,
null
),
ZK_PLATFORM
(
8
,
"运营平台"
,
Arrays
.
asList
(
"https://bj-img.justh5.com/newBigScreen/software/yypt1.png"
,
"https://bj-img.justh5.com/newBigScreen/software/yypt2.png"
,
"https://bj-img.justh5.com/newBigScreen/software/yypt3.png"
,
"https://bj-img.justh5.com/newBigScreen/software/yypt4.png"
),
null
,
null
),
ZK_SMALL_PROGRAM
(
8
,
"客户端小程序"
,
Arrays
.
asList
(
"https://bj-img.justh5.com/newBigScreen/software/khdxcx1.png"
,
"https://bj-img.justh5.com/newBigScreen/software/khdxcx2.png"
,
"https://bj-img.justh5.com/newBigScreen/software/khdxcx3.png"
,
"https://bj-img.justh5.com/newBigScreen/software/khdxcx4.png"
),
null
,
null
),
ZK_SMALL_PROGRAM
(
8
,
"客户端小程序"
,
Arrays
.
asList
(
"https://bj-img.justh5.com/newBigScreen/software/khdxcx1.png"
,
"https://bj-img.justh5.com/newBigScreen/software/khdxcx2.png"
,
"https://bj-img.justh5.com/newBigScreen/software/khdxcx3.png"
,
"https://bj-img.justh5.com/newBigScreen/software/khdxcx4.png"
),
null
,
null
),
ZK_POS
(
8
,
"手持机收费终端"
,
Arrays
.
asList
(
"https://bj-img.justh5.com/newBigScreen/software/sjzd1.png"
,
"https://bj-img.justh5.com/newBigScreen/software/sjzd2.png"
,
"https://bj-img.justh5.com/newBigScreen/software/sjzd3.png"
,
"https://bj-img.justh5.com/newBigScreen/software/sjzd4.png"
),
null
,
null
),
ZK_POS
(
8
,
"手持机收费终端"
,
Arrays
.
asList
(
"https://bj-img.justh5.com/newBigScreen/software/sjzd1.png"
,
"https://bj-img.justh5.com/newBigScreen/software/sjzd2.png"
,
"https://bj-img.justh5.com/newBigScreen/software/sjzd3.png"
,
"https://bj-img.justh5.com/newBigScreen/software/sjzd4.png"
),
null
,
null
),
ZK_TB
(
9
,
"汤波"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/tb.png"
),
"创始人&董事长"
,
"中
国科学院硕士研究生;人力资源经济师;原世界500强企业人力资源总监;十余年人力资源管理经验,具备系统的专业知识和丰富的实战经历
。"
),
ZK_TB
(
9
,
"汤波"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/tb.png"
),
"创始人&董事长"
,
"中
科慧居创始人;中科院研究生、MBA、中科院第一届创新创业班成员;动静态一体智能交通研究院副院长、中海地产项目经理、智能家居项目负责人;注册一级建造师、物联网领域资深专家;20多项国家专利发明人、2015年互联网+创新创业大赛全国总决赛最佳创业项目奖、2021年嘉兴市创业领军人才、2022年度科创中国长三角G60创业榜单30强
。"
),
ZK_LL
(
9
,
"李乐"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/ll.png"
),
"联合创始人"
,
"中国科学院硕士研究生;人力资源经济师;原世界500强企业人力资源总监;十余年人力资源管理经验,具备系统的专业知识和丰富的实战经历。"
),
ZK_LL
(
9
,
"李乐"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/ll.png"
),
"联合创始人"
,
"中国科学院硕士研究生;人力资源经济师;原世界500强企业人力资源总监;十余年人力资源管理经验,具备系统的专业知识和丰富的实战经历。"
),
ZK_LBL
(
9
,
"吕泊岚"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/lbl.png"
),
"联合创始人"
,
"美国纽约伯克利大学海归,CFA;之江创业基金合伙人;中科慧居创始合伙人;沣墒资本管理合伙人;中科智泊科技董事长;畅尔装备监事。"
),
ZK_LBL
(
9
,
"吕泊岚"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/lbl.png"
),
"联合创始人"
,
"美国纽约伯克利大学海归,CFA;之江创业基金合伙人;中科慧居创始合伙人;沣墒资本管理合伙人;中科智泊科技董事长;畅尔装备监事。"
),
ZK_SWW
(
9
,
"孙巍巍"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/sww.png"
),
"联合创始人"
,
"原百度IDG事业部智慧停车行业总经理; 原精英路通常务副总经理;中交一公局停车行业运营总监; 两项国家行业标准参与制定者;省级科技进步一等奖。"
),
ZK_SWW
(
9
,
"孙巍巍"
,
Collections
.
singletonList
(
"https://bj-img.justh5.com/newBigScreen/person/sww.png"
),
"联合创始人"
,
"原百度IDG事业部智慧停车行业总经理; 原精英路通常务副总经理;中交一公局停车行业运营总监; 两项国家行业标准参与制定者;省级科技进步一等奖。"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment