Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SmartBox
Project
Overview
Details
Activity
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
苗权威
SmartBox
Commits
f5bb9486
Commit
f5bb9486
authored
Jan 19, 2020
by
苗权威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.19
parent
07a5b650
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
713 additions
and
575 deletions
+713
-575
workspace.xml
.idea/workspace.xml
+317
-339
XiaoduhomeApplication.java
...in/java/ai/qiwu/com/xiaoduhome/XiaoduhomeApplication.java
+3
-2
Config.java
...e/src/main/java/ai/qiwu/com/xiaoduhome/common/Config.java
+7
-1
Constants.java
...rc/main/java/ai/qiwu/com/xiaoduhome/common/Constants.java
+3
-3
OkHttp3Utils.java
...main/java/ai/qiwu/com/xiaoduhome/common/OkHttp3Utils.java
+29
-0
Utils.java
...me/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java
+6
-2
CollectHistoryUtils.java
...iwu/com/xiaoduhome/common/temple/CollectHistoryUtils.java
+1
-1
TempleUtils.java
...ava/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils.java
+1
-2
LunchPojo.java
.../qiwu/com/xiaoduhome/common/temple/onLunch/LunchPojo.java
+5
-0
LunchUtils.java
...qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java
+52
-19
PlayUtils.java
.../ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java
+4
-3
ProductInfoUtils.java
...iaoduhome/common/temple/productInfo/ProductInfoUtils.java
+2
-1
RecommendUtil.java
...com/xiaoduhome/common/temple/recommand/RecommendUtil.java
+20
-21
XiaoDuHomeController.java
.../qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java
+5
-4
UserBehaviorData.java
...in/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java
+2
-0
ProjectDataResult.java
...a/ai/qiwu/com/xiaoduhome/pojo/data/ProjectDataResult.java
+18
-0
ResultData.java
...ain/java/ai/qiwu/com/xiaoduhome/pojo/data/ResultData.java
+21
-0
UpdateUserCollectData.java
.../qiwu/com/xiaoduhome/pojo/data/UpdateUserCollectData.java
+20
-0
DplBotServiceBoth.java
...ava/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth.java
+86
-53
DplbotServiceUtil.java
...ava/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java
+27
-42
ScheduleService.java
.../java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java
+1
-61
ScheduleServiceNew.java
...va/ai/qiwu/com/xiaoduhome/service/ScheduleServiceNew.java
+75
-17
XiaoAiTestService.java
...qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java
+2
-1
application.yml
xiaoduhome/src/main/resources/application.yml
+2
-0
firstPage.json
xiaoduhome/src/main/resources/static/json/firstPage.json
+1
-1
xiaodu.properties
xiaoduhome/src/main/resources/xiaodu.properties
+3
-2
No files found.
.idea/workspace.xml
View file @
f5bb9486
...
@@ -10,36 +10,28 @@
...
@@ -10,36 +10,28 @@
</component>
</component>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"4a2f3afc-3cd8-46bb-9e78-9759246c43dc"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"4a2f3afc-3cd8-46bb-9e78-9759246c43dc"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/compiler.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/compiler.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
spirit/src/main/java/ai/qiwu/tmall/spirit/spirit/SpiritAudioUpload.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/spirit/src/main/java/ai/qiwu/tmall/spirit/spirit/SpiritAudioUpload
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/XiaoduhomeApplication.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/XiaoduhomeApplication
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Config.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Config
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/service/Test.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Test
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Constants.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Constants
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/
pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/pom.xml
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/
src/main/java/ai/qiwu/com/xiaoduhome/common/OkHttp3Utils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/OkHttp3Utils.java
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/CollectHistoryUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/CollectHistoryUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchPojo.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchPojo.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/productInfo/ProductInfoUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/productInfo/ProductInfoUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommendUtil.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommendUtil.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommendUtil.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommendUtil.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/SpiritController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/SpiritController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/WebSocketLogController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/WebSocketLogController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoAiController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoAiController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/OverTimeDetail.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/OverTimeDetail.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
repository/secondary/XiaoDuOrderTbRepository.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuOrderTbRepository
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/DplBotServiceBoth.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/RequestTerminal.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/RequestTerminal.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/InitialData.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/InitialData.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleServiceNew.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleServiceNew.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/SpiritService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/SpiritService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/RequestTerminal.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/RequestTerminal.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/XiaoAiConstants.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/XiaoAiConstants.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/XiaoAiResponse.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/XiaoAiResponse.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/Response.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/Response.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/actionProperty/ActionProperty.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/actionProperty/ActionProperty.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/firstPage.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/firstPage.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/xiaodu.properties"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/xiaodu.properties"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/xiaodu.properties"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/xiaodu.properties"
afterDir=
"false"
/>
</list>
</list>
<ignored
path=
"$PROJECT_DIR$/out/"
/>
<ignored
path=
"$PROJECT_DIR$/out/"
/>
...
@@ -86,37 +78,32 @@
...
@@ -86,37 +78,32 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
566
"
>
<state
relative-caret-position=
"
258
"
>
<caret
line=
"
723"
column=
"68"
selection-start-line=
"723"
selection-start-column=
"68"
selection-end-line=
"723"
selection-end-column=
"68
"
/>
<caret
line=
"
577"
column=
"23"
selection-start-line=
"577"
selection-start-column=
"23"
selection-end-line=
"577"
selection-end-column=
"23
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#54236#54237#0"
expanded=
"true"
/>
<element
signature=
"e#54236#54237#0"
expanded=
"true"
/>
<element
signature=
"e#54293#54294#0"
expanded=
"true"
/>
<element
signature=
"e#54293#54294#0"
expanded=
"true"
/>
<element
signature=
"e#100020#100090#0"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java
"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
resources/static/json/firstPage.json
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"158"
>
<state
relative-caret-position=
"308"
>
<caret
line=
"33"
column=
"38"
lean-forward=
"true"
selection-start-line=
"33"
selection-start-column=
"38"
selection-end-line=
"33"
selection-end-column=
"38"
/>
<caret
line=
"14"
column=
"62"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"62"
selection-end-line=
"14"
selection-end-column=
"62"
/>
<folding>
<element
signature=
"e#8250#8251#0"
expanded=
"true"
/>
<element
signature=
"e#8286#8287#0"
expanded=
"true"
/>
<element
signature=
"e#8358#8359#0"
expanded=
"true"
/>
<element
signature=
"e#8414#8415#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
ScheduleServiceNew
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
DplbotServiceUtil
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
288
"
>
<state
relative-caret-position=
"
1292
"
>
<caret
line=
"
22"
column=
"10"
selection-start-line=
"22"
selection-start-column=
"10"
selection-end-line=
"22"
selection-end-column=
"10
"
/>
<caret
line=
"
565"
column=
"25"
selection-start-line=
"565"
selection-start-column=
"25"
selection-end-line=
"565"
selection-end-column=
"25
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -125,10 +112,10 @@
...
@@ -125,10 +112,10 @@
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/RequestTerminal
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/temple/play/PlayUtils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
598
"
>
<state
relative-caret-position=
"
126
"
>
<caret
line=
"
58"
column=
"40"
selection-start-line=
"58"
selection-start-column=
"40"
selection-end-line=
"58"
selection-end-column=
"40
"
/>
<caret
line=
"
29"
column=
"63"
selection-start-line=
"29"
selection-start-column=
"63"
selection-end-line=
"29"
selection-end-column=
"63
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -137,44 +124,48 @@
...
@@ -137,44 +124,48 @@
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
DplbotServiceUtil
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
ScheduleServiceNew
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
258
"
>
<state
relative-caret-position=
"
166
"
>
<caret
line=
"
249"
column=
"16"
selection-start-line=
"249"
selection-start-column=
"16"
selection-end-line=
"249"
selection-end-column=
"16
"
/>
<caret
line=
"
42"
column=
"32"
selection-start-line=
"42"
selection-start-column=
"32"
selection-end-line=
"42"
selection-end-column=
"32
"
/>
<folding>
<folding>
<element
signature=
"e#30969#30970#0"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#30996#30997#0"
expanded=
"true"
/>
<element
signature=
"e#3222#3223#0"
expanded=
"true"
/>
<element
signature=
"e#3273#3274#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/DplBotRedisService
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/Oauth2Controller
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"578"
>
<state
relative-caret-position=
"506"
>
<caret
line=
"1118"
column=
"74"
lean-forward=
"true"
selection-start-line=
"1118"
selection-start-column=
"38"
selection-end-line=
"1118"
selection-end-column=
"74"
/>
<caret
line=
"53"
column=
"32"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"32"
selection-end-line=
"53"
selection-end-column=
"32"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuOrderTbRepository.java
"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
resources/templates/Oauth2_load.html
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
430
"
>
<state
relative-caret-position=
"
198
"
>
<caret
line=
"
31"
column=
"9"
selection-start-line=
"31"
selection-start-column=
"9"
selection-end-line=
"31"
selection-end-column=
"9
"
/>
<caret
line=
"
18"
column=
"36"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"36"
selection-end-line=
"18"
selection-end-column=
"36
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/ScheduleService
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/temple/onLunch/LunchUtils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"258"
>
<state
relative-caret-position=
"283"
>
<caret
line=
"74"
column=
"24"
selection-start-line=
"74"
selection-start-column=
"24"
selection-end-line=
"74"
selection-end-column=
"24"
/>
<caret
line=
"38"
column=
"49"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"49"
selection-end-line=
"38"
selection-end-column=
"49"
/>
<folding>
<element
signature=
"e#8250#8251#0"
expanded=
"true"
/>
<element
signature=
"e#8286#8287#0"
expanded=
"true"
/>
<element
signature=
"e#8358#8359#0"
expanded=
"true"
/>
<element
signature=
"e#8414#8415#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -194,36 +185,36 @@
...
@@ -194,36 +185,36 @@
</component>
</component>
<component
name=
"FindInProjectRecents"
>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<findStrings>
<find>
dealNextPageIntent
</find>
<find>
dealLastPageIntent
</find>
<find>
channelId
</find>
<find>
backToBotIntro
</find>
<find>
dealBackIntent
</find>
<find>
dealStartIntent
</find>
<find>
OnProductDetail
</find>
<find>
s1
</find>
<find>
dealOpenNum
</find>
<find>
jytId
</find>
<find>
dealCollectHistoryJump
</find>
<find>
dealJumpIntent
</find>
<find>
userId
</find>
<find>
baidu-screen-jiaoyou-audio-test
</find>
<find>
null
</find>
<find>
DplbotServiceUtil.sendOneFlowerByCharge
</find>
<find>
PlayUtils.getPlayDocument
</find>
<find>
XIAOAI_MP3_MARK
</find>
<find>
RequestTerminal
</find>
<find>
DplbotServiceUtil.doesUserCollectThisBot
</find>
<find>
curTime
</find>
<find>
userU
</find>
<find>
dealCollectOrUnCollectIntent
</find>
<find>
jytUserId
</find>
<find>
onInte
</find>
<find>
onInte
</find>
<find>
onIn
</find>
<find>
requestTerminate
</find>
<find>
requestTerminate
</find>
<find>
ScheduleService
</find>
<find>
Task
</find>
<find>
lunchDocument
</find>
<find>
lunchDocument
</find>
<find>
Task
</find>
<find>
StringRedisTemplate
</find>
<find>
HttpServletRequest
</find>
<find>
IOException
</find>
<find>
userId
</find>
<find>
customUserId
</find>
<find>
onIn
</find>
<find>
stringRedisTemplate.opsForValue()
</find>
<find>
onIN
</find>
<find>
dealDefaultIntent
</find>
<find>
path
</find>
<find>
Sche
</find>
<find>
imgUrl
</find>
<find>
buildLogoImage
</find>
<find>
onIne
</find>
<find>
buildProductInfoFooter
</find>
<find>
onI
</find>
<find>
UserBehaviorData
</find>
<find>
DplbotServiceUtil.getUserIdByToken
</find>
<find>
curTime
</find>
<find>
list
</find>
<find>
Constants.IMG_PREFIX
</find>
<find>
response
</find>
<find>
Schedult
</find>
<find>
ScheduleService
</find>
<find>
dealCollectHistoryJump
</find>
<find>
load
</find>
</findStrings>
</findStrings>
<replaceStrings>
<replaceStrings>
<replace>
OPENID_CACHE
</replace>
<replace>
OPENID_CACHE
</replace>
...
@@ -243,19 +234,6 @@
...
@@ -243,19 +234,6 @@
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Constants.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/request/innerRequest/Request.java"
/>
<option
value=
"$PROJECT_DIR$/third_party_load/pom.xml"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/pom.xml"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/config/RedisAutoConfiguration.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/XiaoAiConstants.java"
/>
<option
value=
"$PROJECT_DIR$/spirit/src/main/resources/application.yml"
/>
<option
value=
"$PROJECT_DIR$/spirit/src/main/java/ai/qiwu/tmall/spirit/spirit/SpiritAudioUpload.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/AudioPlayService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/WebSocketLogController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/InitialData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/SpiritService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/SpiritService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/XiaoAiResponse.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/XiaoAiResponse.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
/>
...
@@ -263,37 +241,50 @@
...
@@ -263,37 +241,50 @@
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/Response.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/Response.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/actionProperty/ActionProperty.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/actionProperty/ActionProperty.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/actionProperty/AppIntentInfo.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/model/response/innerResponse/actionProperty/AppIntentInfo.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/SpiritController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/SpiritController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/OverTimeDetail.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/OverTimeDetail.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/config/RedisConfig.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/config/RedisConfig.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/XiaoDuNoScreenStore.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/XiaoDuNoScreenStore.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/SpiritRedisService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/SpiritRedisService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoAiController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoAiController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/RequestTerminal.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/RequestTerminal.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiServiceRedis.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotRedisService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/xiaodu.properties"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/ProjectData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/ProjectData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommendUtil.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Test.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Test.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ActorWithWord.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ActorWithWord.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ApiChatRequest.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ApiChatRequest.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ApiChatResponse.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ApiChatResponse.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ApiChatResponseDialog.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ApiChatResponseDialog.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/SendFlowerVO.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/SendFlowerVO.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuOrderTbRepository.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuOrderTbRepository.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/RequestTerminal.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/RequestTerminal.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotRedisService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiServiceRedis.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/ProjectDataResult.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/xiaodu.properties"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Config.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/XiaoduhomeApplication.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchPojo.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/CollectHistoryUtils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/UpdateUserCollectData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/OkHttp3Utils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommendUtil.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/productInfo/ProductInfoUtils.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/ResultData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Constants.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/firstPage.json"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleServiceNew.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleServiceNew.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -311,15 +302,6 @@
...
@@ -311,15 +302,6 @@
<expand>
<expand>
<path>
<path>
<item
name=
""
type=
"16c1761:MavenProjectsStructure$RootNode"
/>
<item
name=
""
type=
"16c1761:MavenProjectsStructure$RootNode"
/>
<item
name=
"tts_service"
type=
"9519ce18:MavenProjectsStructure$ProjectNode"
/>
</path>
<path>
<item
name=
""
type=
"16c1761:MavenProjectsStructure$RootNode"
/>
<item
name=
"tts_service"
type=
"9519ce18:MavenProjectsStructure$ProjectNode"
/>
<item
name=
"Lifecycle"
type=
"58874e2:MavenProjectsStructure$LifecycleNode"
/>
</path>
<path>
<item
name=
""
type=
"16c1761:MavenProjectsStructure$RootNode"
/>
<item
name=
"xiaoduhome"
type=
"9519ce18:MavenProjectsStructure$ProjectNode"
/>
<item
name=
"xiaoduhome"
type=
"9519ce18:MavenProjectsStructure$ProjectNode"
/>
</path>
</path>
<path>
<path>
...
@@ -335,8 +317,8 @@
...
@@ -335,8 +317,8 @@
<option
name=
"skipTests"
value=
"true"
/>
<option
name=
"skipTests"
value=
"true"
/>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
437
"
/>
<option
name=
"x"
value=
"
285
"
/>
<option
name=
"y"
value=
"
50
"
/>
<option
name=
"y"
value=
"
86
"
/>
<option
name=
"width"
value=
"1378"
/>
<option
name=
"width"
value=
"1378"
/>
<option
name=
"height"
value=
"979"
/>
<option
name=
"height"
value=
"979"
/>
</component>
</component>
...
@@ -492,7 +474,7 @@
...
@@ -492,7 +474,7 @@
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"java"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"java"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"xiaoduhome"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"xiaoduhome"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"
pojo
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"
service
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<path>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
...
@@ -500,9 +482,7 @@
...
@@ -500,9 +482,7 @@
<item
name=
"xiaoduhome"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"xiaoduhome"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"java"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"resources"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"xiaoduhome"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"service"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<path>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
...
@@ -511,6 +491,7 @@
...
@@ -511,6 +491,7 @@
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"resources"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"resources"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"static"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<path>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
...
@@ -520,6 +501,7 @@
...
@@ -520,6 +501,7 @@
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"resources"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"resources"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"static"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"static"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"json"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<path>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
...
@@ -547,7 +529,8 @@
...
@@ -547,7 +529,8 @@
<property
name=
"RequestMappingsPanelWidth2"
value=
"75"
/>
<property
name=
"RequestMappingsPanelWidth2"
value=
"75"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"aspect.path.notification.shown"
value=
"true"
/>
<property
name=
"aspect.path.notification.shown"
value=
"true"
/>
<property
name=
"com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp"
value=
"1579264165919"
/>
<property
name=
"com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp"
value=
"1579427450897"
/>
<property
name=
"last.edited.regexp"
value=
"Sample Text"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/../game_editor/backend_rebuild"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/../game_editor/backend_rebuild"
/>
<property
name=
"nodejs_interpreter_path.stuck_in_default_project"
value=
"undefined stuck path"
/>
<property
name=
"nodejs_interpreter_path.stuck_in_default_project"
value=
"undefined stuck path"
/>
<property
name=
"nodejs_npm_path_reset_for_default_project"
value=
"true"
/>
<property
name=
"nodejs_npm_path_reset_for_default_project"
value=
"true"
/>
...
@@ -599,7 +582,7 @@
...
@@ -599,7 +582,7 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"RunManager"
selected=
"Application.
Test (1)
"
>
<component
name=
"RunManager"
selected=
"Application.
RecommendUtil
"
>
<configuration
name=
"DplBotRedisService"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<configuration
name=
"DplBotRedisService"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.com.xiaoduhome.service.DplBotRedisService"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.com.xiaoduhome.service.DplBotRedisService"
/>
<module
name=
"xiaoduhome"
/>
<module
name=
"xiaoduhome"
/>
...
@@ -613,12 +596,12 @@
...
@@ -613,12 +596,12 @@
<option
name=
"Make"
enabled=
"true"
/>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</method>
</configuration>
</configuration>
<configuration
name=
"
TTService
"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<configuration
name=
"
RecommendUtil
"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.com.
tts_service.service.TTService
"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.com.
xiaoduhome.common.temple.recommand.RecommendUtil
"
/>
<module
name=
"
tts_servic
e"
/>
<module
name=
"
xiaoduhom
e"
/>
<extension
name=
"coverage"
>
<extension
name=
"coverage"
>
<pattern>
<pattern>
<option
name=
"PATTERN"
value=
"ai.qiwu.com.
tts_service.service
.*"
/>
<option
name=
"PATTERN"
value=
"ai.qiwu.com.
xiaoduhome.common.temple.recommand
.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</pattern>
</extension>
</extension>
...
@@ -626,12 +609,12 @@
...
@@ -626,12 +609,12 @@
<option
name=
"Make"
enabled=
"true"
/>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</method>
</configuration>
</configuration>
<configuration
name=
"
Test (1)
"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<configuration
name=
"
ScheduleServiceNew
"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.com.
tts_service.service.Test
"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.com.
xiaoduhome.service.ScheduleServiceNew
"
/>
<module
name=
"
tts_servic
e"
/>
<module
name=
"
xiaoduhom
e"
/>
<extension
name=
"coverage"
>
<extension
name=
"coverage"
>
<pattern>
<pattern>
<option
name=
"PATTERN"
value=
"ai.qiwu.com.
tts_servic
e.service.*"
/>
<option
name=
"PATTERN"
value=
"ai.qiwu.com.
xiaoduhom
e.service.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</pattern>
</extension>
</extension>
...
@@ -639,12 +622,12 @@
...
@@ -639,12 +622,12 @@
<option
name=
"Make"
enabled=
"true"
/>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</method>
</configuration>
</configuration>
<configuration
name=
"Test"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<configuration
name=
"Test
(1)
"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.
tmall.spirit
.service.Test"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"ai.qiwu.
com.tts_service
.service.Test"
/>
<module
name=
"
spirit
"
/>
<module
name=
"
tts_service
"
/>
<extension
name=
"coverage"
>
<extension
name=
"coverage"
>
<pattern>
<pattern>
<option
name=
"PATTERN"
value=
"ai.qiwu.
tmall.spirit
.service.*"
/>
<option
name=
"PATTERN"
value=
"ai.qiwu.
com.tts_service
.service.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</pattern>
</extension>
</extension>
...
@@ -974,8 +957,6 @@
...
@@ -974,8 +957,6 @@
</method>
</method>
</configuration>
</configuration>
<list>
<list>
<item
itemvalue=
"Application.TTService"
/>
<item
itemvalue=
"Application.Test"
/>
<item
itemvalue=
"ECS on Alibaba Cloud.dingdong"
/>
<item
itemvalue=
"ECS on Alibaba Cloud.dingdong"
/>
<item
itemvalue=
"ECS on Alibaba Cloud.xiaodu"
/>
<item
itemvalue=
"ECS on Alibaba Cloud.xiaodu"
/>
<item
itemvalue=
"ECS on Alibaba Cloud.rokid"
/>
<item
itemvalue=
"ECS on Alibaba Cloud.rokid"
/>
...
@@ -999,14 +980,16 @@
...
@@ -999,14 +980,16 @@
<item
itemvalue=
"Application.DplBotRedisService"
/>
<item
itemvalue=
"Application.DplBotRedisService"
/>
<item
itemvalue=
"Application.Utils (1)"
/>
<item
itemvalue=
"Application.Utils (1)"
/>
<item
itemvalue=
"Application.Test (1)"
/>
<item
itemvalue=
"Application.Test (1)"
/>
<item
itemvalue=
"Application.ScheduleServiceNew"
/>
<item
itemvalue=
"Application.RecommendUtil"
/>
</list>
</list>
<recent_temporary>
<recent_temporary>
<list>
<list>
<item
itemvalue=
"Application.RecommendUtil"
/>
<item
itemvalue=
"Application.ScheduleServiceNew"
/>
<item
itemvalue=
"Application.Test (1)"
/>
<item
itemvalue=
"Application.Test (1)"
/>
<item
itemvalue=
"Application.Utils (1)"
/>
<item
itemvalue=
"Application.Utils (1)"
/>
<item
itemvalue=
"Application.DplBotRedisService"
/>
<item
itemvalue=
"Application.DplBotRedisService"
/>
<item
itemvalue=
"Application.Test"
/>
<item
itemvalue=
"Application.TTService"
/>
</list>
</list>
</recent_temporary>
</recent_temporary>
</component>
</component>
...
@@ -1185,7 +1168,7 @@
...
@@ -1185,7 +1168,7 @@
<workItem
from=
"1578533983020"
duration=
"27920000"
/>
<workItem
from=
"1578533983020"
duration=
"27920000"
/>
<workItem
from=
"1578569974425"
duration=
"33987000"
/>
<workItem
from=
"1578569974425"
duration=
"33987000"
/>
<workItem
from=
"1578708050668"
duration=
"1295000"
/>
<workItem
from=
"1578708050668"
duration=
"1295000"
/>
<workItem
from=
"1578881450854"
duration=
"
99516
000"
/>
<workItem
from=
"1578881450854"
duration=
"
145925
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
...
@@ -1195,7 +1178,7 @@
...
@@ -1195,7 +1178,7 @@
</history-entry>
</history-entry>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"3
794195
000"
/>
<option
name=
"totallyTimeSpent"
value=
"3
840604
000"
/>
</component>
</component>
<component
name=
"TodoView"
>
<component
name=
"TodoView"
>
<todo-panel
id=
"selected-file"
>
<todo-panel
id=
"selected-file"
>
...
@@ -1207,7 +1190,7 @@
...
@@ -1207,7 +1190,7 @@
</todo-panel>
</todo-panel>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
437"
y=
"50
"
width=
"1378"
height=
"979"
extended-state=
"0"
/>
<frame
x=
"
285"
y=
"86
"
width=
"1378"
height=
"979"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"Designer"
order=
"0"
/>
<window_info
id=
"Designer"
order=
"0"
/>
...
@@ -1218,7 +1201,7 @@
...
@@ -1218,7 +1201,7 @@
<window_info
id=
"Alibaba Cloud Explorer"
order=
"5"
sideWeight=
"0.49941108"
weight=
"0.32781956"
/>
<window_info
id=
"Alibaba Cloud Explorer"
order=
"5"
sideWeight=
"0.49941108"
weight=
"0.32781956"
/>
<window_info
id=
"Web"
order=
"6"
sideWeight=
"0.5085366"
side_tool=
"true"
weight=
"0.18992805"
/>
<window_info
id=
"Web"
order=
"6"
sideWeight=
"0.5085366"
side_tool=
"true"
weight=
"0.18992805"
/>
<window_info
id=
"Structure"
order=
"7"
sideWeight=
"0.5134264"
weight=
"0.31954888"
/>
<window_info
id=
"Structure"
order=
"7"
sideWeight=
"0.5134264"
weight=
"0.31954888"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"8"
sideWeight=
"0.4908648
"
weight=
"0.218797"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"8"
sideWeight=
"0.4908648"
visible=
"true
"
weight=
"0.218797"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.25181597"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.25181597"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
sideWeight=
"0.49962378"
weight=
"0.25544795"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
sideWeight=
"0.49962378"
weight=
"0.25544795"
/>
...
@@ -1234,7 +1217,7 @@
...
@@ -1234,7 +1217,7 @@
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"12"
weight=
"0.32975295"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"12"
weight=
"0.32975295"
/>
<window_info
anchor=
"bottom"
id=
"Alibaba Cloud View"
order=
"13"
weight=
"0.32979977"
/>
<window_info
anchor=
"bottom"
id=
"Alibaba Cloud View"
order=
"13"
weight=
"0.32979977"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"14"
weight=
"0.28450364"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"14"
weight=
"0.28450364"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"15"
weight=
"0.
3200483
"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"15"
weight=
"0.
4213075
"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.24964029"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.24964029"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
...
@@ -1258,429 +1241,424 @@
...
@@ -1258,429 +1241,424 @@
<option
name=
"FILTER_TARGETS"
value=
"false"
/>
<option
name=
"FILTER_TARGETS"
value=
"false"
/>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
spirit/SpiritRedisService
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/QiWuRequest
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"5262"
>
<state
relative-caret-position=
"242"
>
<caret
line=
"345"
column=
"10"
selection-start-line=
"345"
selection-start-column=
"10"
selection-end-line=
"345"
selection-end-column=
"10"
/>
<caret
line=
"13"
column=
"13"
selection-start-line=
"13"
selection-start-column=
"13"
selection-end-line=
"13"
selection-end-column=
"13"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/ApiChatRequest.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"352"
>
<caret
line=
"16"
column=
"37"
lean-forward=
"true"
selection-start-line=
"16"
selection-start-column=
"37"
selection-end-line=
"16"
selection-end-column=
"37"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/XiaoAiConstants
.java"
>
<entry
file=
"file://$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"264"
>
<state
relative-caret-position=
"784"
>
<caret
line=
"12"
column=
"71"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"71"
selection-end-line=
"12"
selection-end-column=
"71"
/>
<caret
line=
"2179"
column=
"45"
lean-forward=
"true"
selection-start-line=
"2179"
selection-start-column=
"45"
selection-end-line=
"2179"
selection-end-column=
"45"
/>
<folding>
<element
signature=
"e#44768#44852#0"
/>
<element
signature=
"e#45768#45882#0"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/common/RequestTerminal
.java"
>
<entry
file=
"file://$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/ApiAudioData
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
544
"
>
<state
relative-caret-position=
"
308
"
>
<caret
line=
"
57"
column=
"67"
selection-start-line=
"57"
selection-start-column=
"67"
selection-end-line=
"57"
selection-end-column=
"67
"
/>
<caret
line=
"
19"
column=
"21"
lean-forward=
"true"
selection-start-line=
"19"
selection-start-column=
"21"
selection-end-line=
"19"
selection-end-column=
"21
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiServiceRedis
.java"
>
<entry
file=
"file://$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/Dialog
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"918"
>
<state
relative-caret-position=
"462"
>
<caret
line=
"335"
column=
"9"
lean-forward=
"true"
selection-start-line=
"335"
selection-start-column=
"9"
selection-end-line=
"335"
selection-end-column=
"9"
/>
<caret
line=
"23"
lean-forward=
"true"
selection-start-line=
"23"
selection-end-line=
"23"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/AudioGetController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/ApiChatResponseDialog
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
01
"
>
<state
relative-caret-position=
"3
74
"
>
<caret
line=
"
53"
column=
"29"
selection-start-line=
"53"
selection-start-column=
"29"
selection-end-line=
"53"
selection-end-column=
"29
"
/>
<caret
line=
"
17"
column=
"11"
selection-start-line=
"17"
selection-start-column=
"11"
selection-end-line=
"17"
selection-end-column=
"11
"
/>
<folding>
<folding>
<element
signature=
"
e#436#471#0
"
/>
<element
signature=
"
imports"
expanded=
"true
"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/Oauth2Controller
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/ApiChatResponse
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"266"
>
<state
relative-caret-position=
"418"
>
<caret
line=
"29"
column=
"13"
selection-start-line=
"29"
selection-start-column=
"13"
selection-end-line=
"29"
selection-end-column=
"13"
/>
<caret
line=
"19"
column=
"11"
selection-start-line=
"19"
selection-start-column=
"11"
selection-end-line=
"19"
selection-end-column=
"11"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/UpLoadImgController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
entity/secondary/XiaoDuOrderTB
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
103
"
>
<state
relative-caret-position=
"
-40
"
>
<caret
line=
"
15"
column=
"13"
selection-start-line=
"15"
selection-start-column=
"13"
selection-end-line=
"15
"
selection-end-column=
"13"
/>
<caret
line=
"
21"
column=
"13"
selection-start-line=
"21"
selection-start-column=
"13"
selection-end-line=
"21
"
selection-end-column=
"13"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/WebSocketLog
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/SendFlowerVO
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"242"
>
<state
relative-caret-position=
"132"
>
<caret
line=
"23"
column=
"13"
selection-start-line=
"23"
selection-start-column=
"13"
selection-end-line=
"23"
selection-end-column=
"13"
/>
<caret
line=
"6"
column=
"3"
lean-forward=
"true"
selection-start-line=
"6"
selection-start-column=
"3"
selection-end-line=
"6"
selection-end-column=
"3"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"
file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/WebSocketLogController
.java"
>
<entry
file=
"
jar://$PROJECT_DIR$/../../../../java/jdk1.8.0_211/src.zip!/java/util/List
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
115
6"
>
<state
relative-caret-position=
"
26
6"
>
<caret
line=
"
125"
column=
"25"
selection-start-line=
"125"
selection-start-column=
"25"
selection-end-line=
"125"
selection-end-column=
"25
"
/>
<caret
line=
"
707"
column=
"46"
selection-start-line=
"707"
selection-start-column=
"39"
selection-end-line=
"707"
selection-end-column=
"46
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/XiaoAiController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
repository/secondary/XiaoDuOrderTbRepository
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-450
"
>
<state
relative-caret-position=
"
444
"
>
<caret
line=
"
82"
column=
"59"
selection-start-line=
"82"
selection-start-column=
"59"
selection-end-line=
"82"
selection-end-column=
"5
9"
/>
<caret
line=
"
31"
column=
"9"
selection-start-line=
"31"
selection-start-column=
"9"
selection-end-line=
"31"
selection-end-column=
"
9"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
resources/static/json/firstPage.json
"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
java/ai/qiwu/com/xiaoduhome/service/DplBotService.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"440"
>
<state
relative-caret-position=
"448"
>
<caret
line=
"20"
column=
"32"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"32"
selection-end-line=
"20"
selection-end-column=
"32"
/>
<caret
line=
"94"
column=
"7"
lean-forward=
"true"
selection-start-line=
"94"
selection-start-column=
"7"
selection-end-line=
"94"
selection-end-column=
"7"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/Constants
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
xiaoai/model/request/XiaoAiRequest
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"26
6
"
>
<state
relative-caret-position=
"26
4
"
>
<caret
line=
"1
05"
column=
"15"
selection-start-line=
"105"
selection-start-column=
"15"
selection-end-line=
"105"
selection-end-column=
"15
"
/>
<caret
line=
"1
8"
column=
"13"
selection-start-line=
"18"
selection-start-column=
"13"
selection-end-line=
"18"
selection-end-column=
"13
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
repository/secondary/XiaoDuHistoryTBRepository
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/XiaoAiController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
609
"
>
<state
relative-caret-position=
"
374
"
>
<caret
line=
"
36"
column=
"26"
selection-start-line=
"36"
selection-start-column=
"26"
selection-end-line=
"36"
selection-end-column=
"26
"
/>
<caret
line=
"
98"
column=
"65"
selection-start-line=
"98"
selection-start-column=
"65"
selection-end-line=
"98"
selection-end-column=
"65
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"
file://$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml
"
>
<entry
file=
"
jar://$PROJECT_DIR$/../../../../maven/myRepository/org/springframework/data/spring-data-redis/2.1.9.RELEASE/spring-data-redis-2.1.9.RELEASE-sources.jar!/org/springframework/data/redis/core/RedisTemplate.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
191
"
>
<state
relative-caret-position=
"
266
"
>
<caret
line=
"
32"
column=
"14"
lean-forward=
"true"
selection-start-line=
"32"
selection-start-column=
"14"
selection-end-line=
"32"
selection-end-column=
"14
"
/>
<caret
line=
"
764"
column=
"19"
selection-start-line=
"764"
selection-start-column=
"19"
selection-end-line=
"764"
selection-end-column=
"19
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotRedisService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
490
"
>
<state
relative-caret-position=
"
266
"
>
<caret
line=
"1
997"
column=
"13"
lean-forward=
"true"
selection-start-line=
"1997"
selection-start-column=
"13"
selection-end-line=
"1997"
selection-end-column=
"13
"
/>
<caret
line=
"1
04"
column=
"11"
selection-start-line=
"104"
selection-start-column=
"11"
selection-end-line=
"104"
selection-end-column=
"11
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#8632#8705#0"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/spirit/InitialData.java"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/Config.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-394"
>
<caret
line=
"39"
column=
"41"
selection-start-line=
"39"
selection-start-column=
"41"
selection-end-line=
"39"
selection-end-column=
"41"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/resources/xiaodu.properties"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"22"
>
<caret
line=
"1"
column=
"49"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"49"
selection-end-line=
"1"
selection-end-column=
"49"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/OkHttp3Utils.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
266
"
>
<state
relative-caret-position=
"
372
"
>
<caret
line=
"
66"
column=
"72"
selection-start-line=
"66"
selection-start-column=
"58"
selection-end-line=
"66"
selection-end-column=
"7
2"
/>
<caret
line=
"
32"
column=
"102"
lean-forward=
"true"
selection-start-line=
"32"
selection-start-column=
"102"
selection-end-line=
"32"
selection-end-column=
"10
2"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/
temple/recommand/RecommandDocument
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/
Config
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
26
4"
>
<state
relative-caret-position=
"
39
4"
>
<caret
line=
"
17"
column=
"13"
selection-start-line=
"17"
selection-start-column=
"13"
selection-end-line=
"17"
selection-end-column=
"13
"
/>
<caret
line=
"
30"
column=
"27"
lean-forward=
"true"
selection-start-line=
"30"
selection-start-column=
"27"
selection-end-line=
"30"
selection-end-column=
"27
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/
com/baidu/dueros/bot-sdk/1.2.0/bot-sdk-1.2.0.jar!/com/baidu/dueros/bot/BaseBot
.class"
>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/
org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar!/org/springframework/boot/context/ApplicationPidFileWriter
.class"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"266"
>
<state
relative-caret-position=
"266"
>
<caret
line=
"
159"
column=
"21"
selection-start-line=
"159"
selection-start-column=
"21"
selection-end-line=
"159"
selection-end-column=
"2
1"
/>
<caret
line=
"
38"
column=
"11"
selection-start-line=
"38"
selection-start-column=
"11"
selection-end-line=
"38"
selection-end-column=
"1
1"
/>
<folding>
<folding>
<element
signature=
"e#
7321#732
2#0"
expanded=
"true"
/>
<element
signature=
"e#
1711#171
2#0"
expanded=
"true"
/>
<element
signature=
"e#
7403#7404
#0"
expanded=
"true"
/>
<element
signature=
"e#
1760#1761
#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/JYTUserResponse
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
XiaoduhomeApplication
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
286
"
>
<state
relative-caret-position=
"
110
"
>
<caret
line=
"
16"
column=
"26"
lean-forward=
"true"
selection-start-line=
"16"
selection-start-column=
"26"
selection-end-line=
"16"
selection-end-column=
"26
"
/>
<caret
line=
"
5"
column=
"72"
selection-start-line=
"5"
selection-start-column=
"72"
selection-end-line=
"5"
selection-end-column=
"72
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/Config
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
xiaoai/service/XiaoAiServiceRedis
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"5
10
"
>
<state
relative-caret-position=
"5
28
"
>
<caret
line=
"
34"
column=
"36"
selection-start-line=
"34"
selection-start-column=
"25"
selection-end-line=
"34"
selection-end-column=
"36
"
/>
<caret
line=
"
60"
column=
"43"
selection-start-line=
"60"
selection-start-column=
"43"
selection-end-line=
"60"
selection-end-column=
"43
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/
CollectHistoryDocument
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/
productInfo/ProductInfoPojo
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
330
"
>
<state
relative-caret-position=
"
623
"
>
<caret
line=
"
20"
column=
"19"
selection-start-line=
"20"
selection-start-column=
"19"
selection-end-line=
"20"
selection-end-column=
"19
"
/>
<caret
line=
"
55"
column=
"31"
lean-forward=
"true"
selection-start-line=
"55"
selection-start-column=
"31"
selection-end-line=
"55"
selection-end-column=
"31
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
entity/primary/OnProductDetail
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/temple/onLunch/LunchPojo
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-128
"
>
<state
relative-caret-position=
"
554
"
>
<caret
line=
"
20"
column=
"13"
selection-start-line=
"20"
selection-start-column=
"13"
selection-end-line=
"20"
selection-end-column=
"13
"
/>
<caret
line=
"
62"
column=
"34"
lean-forward=
"true"
selection-start-line=
"62"
selection-start-column=
"34"
selection-end-line=
"62"
selection-end-column=
"34
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"
jar://$PROJECT_DIR$/../../../../java/jdk1.8.0_211/src.zip!/java/util/TreeMap
.java"
>
<entry
file=
"
file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/CollectHistoryUtils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"258"
>
<state
relative-caret-position=
"258"
>
<caret
line=
"1251"
column=
"8"
selection-start-line=
"1251"
selection-start-column=
"8"
selection-end-line=
"1251"
selection-end-column=
"8"
/>
<caret
line=
"170"
column=
"42"
selection-start-line=
"170"
selection-start-column=
"42"
selection-end-line=
"170"
selection-end-column=
"42"
/>
<folding>
<element
signature=
"e#44320#44321#0"
expanded=
"true"
/>
<element
signature=
"e#44356#44357#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/
Utils
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/
temple/recommand/RecommandDocument
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
446
"
>
<state
relative-caret-position=
"
264
"
>
<caret
line=
"
264"
column=
"13"
lean-forward=
"true"
selection-start-line=
"264"
selection-start-column=
"13"
selection-end-line=
"264
"
selection-end-column=
"13"
/>
<caret
line=
"
17"
column=
"13"
selection-start-line=
"17"
selection-start-column=
"13"
selection-end-line=
"17
"
selection-end-column=
"13"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/service/Test
.java"
>
<entry
file=
"file://$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
408
"
>
<state
relative-caret-position=
"
266
"
>
<caret
line=
"
331"
column=
"46"
lean-forward=
"true"
selection-start-line=
"331"
selection-start-column=
"46"
selection-end-line=
"331"
selection-end-column=
"46
"
/>
<caret
line=
"
257"
column=
"37"
selection-start-line=
"257"
selection-start-column=
"37"
selection-end-line=
"257"
selection-end-column=
"37
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/XiaoDuHomeController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/RequestTerminal
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1066"
>
<state
relative-caret-position=
"376"
>
<caret
line=
"122"
column=
"61"
selection-start-line=
"122"
selection-start-column=
"61"
selection-end-line=
"122"
selection-end-column=
"61"
/>
<caret
line=
"107"
column=
"31"
selection-start-line=
"107"
selection-start-column=
"31"
selection-end-line=
"107"
selection-end-column=
"31"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/temple/recommand/RecommendUtil
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/data/UpdateUserCollectData
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
258
"
>
<state
relative-caret-position=
"
330
"
>
<caret
line=
"1
82"
column=
"36"
selection-start-line=
"182"
selection-start-column=
"36"
selection-end-line=
"182"
selection-end-column=
"36
"
/>
<caret
line=
"1
5"
column=
"34"
selection-start-line=
"15"
selection-start-column=
"13"
selection-end-line=
"15"
selection-end-column=
"34
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
java/ai/qiwu/com/xiaoduhome/pojo/ActorWithWord.java
"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
resources/xiaodu.properties
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"286"
>
<state
relative-caret-position=
"44"
>
<caret
line=
"13"
column=
"26"
selection-start-line=
"13"
selection-start-column=
"13"
selection-end-line=
"13"
selection-end-column=
"26"
/>
<caret
line=
"2"
column=
"52"
selection-start-line=
"2"
selection-start-column=
"52"
selection-end-line=
"2"
selection-end-column=
"52"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/ProjectData.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/resources/application.yml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"396"
>
<caret
line=
"39"
column=
"8"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"8"
selection-end-line=
"39"
selection-end-column=
"8"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"506"
>
<state
relative-caret-position=
"506"
>
<caret
line=
"23"
column=
"33"
selection-start-line=
"23"
selection-start-column=
"33"
selection-end-line=
"23"
selection-end-column=
"33"
/>
<caret
line=
"29"
column=
"36"
selection-start-line=
"29"
selection-start-column=
"36"
selection-end-line=
"29"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/
play/PlayUtils
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/
recommand/RecommendUtil
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
28
8"
>
<state
relative-caret-position=
"
172
8"
>
<caret
line=
"3
1"
column=
"56"
selection-start-line=
"31"
selection-start-column=
"56"
selection-end-line=
"31"
selection-end-column=
"56
"
/>
<caret
line=
"3
49"
selection-start-line=
"349"
selection-end-line=
"349
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/QiWuRequest
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/OkHttp3Utils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
242
"
>
<state
relative-caret-position=
"
346
"
>
<caret
line=
"
13"
column=
"13"
selection-start-line=
"13"
selection-start-column=
"13"
selection-end-line=
"13"
selection-end-column=
"13
"
/>
<caret
line=
"
312"
column=
"37"
selection-start-line=
"312"
selection-start-column=
"37"
selection-end-line=
"312"
selection-end-column=
"37
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/
ApiChatRequest
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/
playAside/PlayPageData
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"352"
>
<state
relative-caret-position=
"220"
>
<caret
line=
"16"
column=
"37"
lean-forward=
"true"
selection-start-line=
"16"
selection-start-column=
"37"
selection-end-line=
"16"
selection-end-column=
"37"
/>
<caret
line=
"13"
selection-start-line=
"13"
selection-end-line=
"13"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService
.java"
>
<entry
file=
"file://$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
784
"
>
<state
relative-caret-position=
"
126
"
>
<caret
line=
"2
179"
column=
"45"
lean-forward=
"true"
selection-start-line=
"2179"
selection-start-column=
"45"
selection-end-line=
"2179"
selection-end-column=
"45
"
/>
<caret
line=
"2
9"
column=
"63"
selection-start-line=
"29"
selection-start-column=
"63"
selection-end-line=
"29"
selection-end-column=
"63
"
/>
<folding>
<folding>
<element
signature=
"e#44768#44852#0"
/>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#45768#45882#0"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"
file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/ApiAudioData.java
"
>
<entry
file=
"
jar://$PROJECT_DIR$/../../../../maven/myRepository/com/baidu/dueros/bot-sdk/1.2.0/bot-sdk-1.2.0.jar!/com/baidu/dueros/data/response/directive/dpl/RenderDocument.class
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
08
"
>
<state
relative-caret-position=
"3
52
"
>
<caret
line=
"
19"
column=
"21"
lean-forward=
"true"
selection-start-line=
"19"
selection-start-column=
"21"
selection-end-line=
"19"
selection-end-column=
"2
1"
/>
<caret
line=
"
24"
column=
"11"
selection-start-line=
"24"
selection-start-column=
"11"
selection-end-line=
"24"
selection-end-column=
"1
1"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/Dialog
.java"
>
<entry
file=
"file://$PROJECT_DIR$/
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
462
"
>
<state
relative-caret-position=
"
196
"
>
<caret
line=
"
23"
lean-forward=
"true"
selection-start-line=
"23"
selection-end-line=
"23
"
/>
<caret
line=
"
169"
column=
"41"
selection-start-line=
"169"
selection-start-column=
"41"
selection-end-line=
"169"
selection-end-column=
"41
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/
ApiChatResponseDialog
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/
data/ResultData
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
374
"
>
<state
relative-caret-position=
"
418
"
>
<caret
line=
"1
7"
column=
"11"
selection-start-line=
"17"
selection-start-column=
"11"
selection-end-line=
"17"
selection-end-column=
"11
"
/>
<caret
line=
"1
9"
column=
"53"
selection-start-line=
"19"
selection-start-column=
"53"
selection-end-line=
"19"
selection-end-column=
"53
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/
ApiChatResponse
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/
data/ProjectDataResult
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
418
"
>
<state
relative-caret-position=
"
352
"
>
<caret
line=
"1
9"
column=
"11"
selection-start-line=
"19"
selection-start-column=
"11"
selection-end-line=
"19"
selection-end-column=
"11
"
/>
<caret
line=
"1
6"
column=
"16"
selection-start-line=
"16"
selection-start-column=
"16"
selection-end-line=
"16"
selection-end-column=
"16
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/UserBehaviorData
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/ScheduleService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
48
4"
>
<state
relative-caret-position=
"
24
4"
>
<caret
line=
"
28"
column=
"1"
lean-forward=
"true"
selection-start-line=
"28"
selection-start-column=
"1"
selection-end-line=
"28"
selection-end-column=
"1
"
/>
<caret
line=
"
71"
column=
"66"
selection-start-line=
"71"
selection-start-column=
"66"
selection-end-line=
"71"
selection-end-column=
"66
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/ScheduleService
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/Constants
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
58
"
>
<state
relative-caret-position=
"2
44
"
>
<caret
line=
"
74"
column=
"24"
selection-start-line=
"74"
selection-start-column=
"24"
selection-end-line=
"74"
selection-end-column=
"24
"
/>
<caret
line=
"
98"
column=
"57"
selection-start-line=
"98"
selection-start-column=
"57"
selection-end-line=
"98"
selection-end-column=
"57
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
entity/secondary/XiaoDuOrderTB
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/Utils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-40
"
>
<state
relative-caret-position=
"
156
"
>
<caret
line=
"
21"
column=
"13"
selection-start-line=
"21"
selection-start-column=
"13"
selection-end-line=
"21"
selection-end-column=
"13
"
/>
<caret
line=
"
56"
column=
"21"
lean-forward=
"true"
selection-start-line=
"56"
selection-start-column=
"21"
selection-end-line=
"56"
selection-end-column=
"21
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
pojo/SendFlowerVO
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/XiaoDuHomeController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"132"
>
<state
relative-caret-position=
"374"
>
<caret
line=
"6"
column=
"3"
lean-forward=
"true"
selection-start-line=
"6"
selection-start-column=
"3"
selection-end-line=
"6"
selection-end-column=
"3"
/>
<caret
line=
"122"
column=
"80"
selection-start-line=
"122"
selection-start-column=
"80"
selection-end-line=
"122"
selection-end-column=
"80"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1292"
>
<caret
line=
"565"
column=
"25"
selection-start-line=
"565"
selection-start-column=
"25"
selection-end-line=
"565"
selection-end-column=
"25"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
repository/secondary/XiaoDuOrderTbRepository
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/temple/productInfo/ProductInfoUtils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
430
"
>
<state
relative-caret-position=
"
144
"
>
<caret
line=
"
31"
column=
"9"
selection-start-line=
"31"
selection-start-column=
"9"
selection-end-line=
"31"
selection-end-column=
"9
"
/>
<caret
line=
"
103"
column=
"35"
selection-start-line=
"103"
selection-start-column=
"35"
selection-end-line=
"103"
selection-end-column=
"35
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/RequestTerminal
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
common/temple/onLunch/LunchUtils
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
598
"
>
<state
relative-caret-position=
"
283
"
>
<caret
line=
"
58"
column=
"40"
selection-start-line=
"58"
selection-start-column=
"40"
selection-end-line=
"58"
selection-end-column=
"40
"
/>
<caret
line=
"
38"
column=
"49"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"49"
selection-end-line=
"38"
selection-end-column=
"49
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#8250#8251#0"
expanded=
"true"
/>
<element
signature=
"e#8286#8287#0"
expanded=
"true"
/>
<element
signature=
"e#8358#8359#0"
expanded=
"true"
/>
<element
signature=
"e#8414#8415#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
service/DplbotServiceUtil
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/
controller/Oauth2Controller
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"258"
>
<state
relative-caret-position=
"506"
>
<caret
line=
"249"
column=
"16"
selection-start-line=
"249"
selection-start-column=
"16"
selection-end-line=
"249"
selection-end-column=
"16"
/>
<caret
line=
"53"
column=
"32"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"32"
selection-end-line=
"53"
selection-end-column=
"32"
/>
<folding>
<element
signature=
"e#30969#30970#0"
expanded=
"true"
/>
<element
signature=
"e#30996#30997#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
java/ai/qiwu/com/xiaoduhome/service/DplBotRedisService.java
"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
resources/templates/Oauth2_load.html
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"578"
>
<state
relative-caret-position=
"198"
>
<caret
line=
"1118"
column=
"74"
lean-forward=
"true"
selection-start-line=
"1118"
selection-start-column=
"38"
selection-end-line=
"1118"
selection-end-column=
"74"
/>
<caret
line=
"18"
column=
"36"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"36"
selection-end-line=
"18"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
DplBotServiceBoth
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
ScheduleServiceNew
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
5
66"
>
<state
relative-caret-position=
"
1
66"
>
<caret
line=
"
723"
column=
"68"
selection-start-line=
"723"
selection-start-column=
"68"
selection-end-line=
"723"
selection-end-column=
"68
"
/>
<caret
line=
"
42"
column=
"32"
selection-start-line=
"42"
selection-start-column=
"32"
selection-end-line=
"42"
selection-end-column=
"32
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#
54236#54237
#0"
expanded=
"true"
/>
<element
signature=
"e#
3222#3223
#0"
expanded=
"true"
/>
<element
signature=
"e#
54293#5429
4#0"
expanded=
"true"
/>
<element
signature=
"e#
3273#327
4#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
ScheduleServiceNew
.java"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/
DplBotServiceBoth
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
8
8"
>
<state
relative-caret-position=
"2
5
8"
>
<caret
line=
"
22"
column=
"10"
selection-start-line=
"22"
selection-start-column=
"10"
selection-end-line=
"22"
selection-end-column=
"10
"
/>
<caret
line=
"
577"
column=
"23"
selection-start-line=
"577"
selection-start-column=
"23"
selection-end-line=
"577"
selection-end-column=
"23
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#54236#54237#0"
expanded=
"true"
/>
<element
signature=
"e#54293#54294#0"
expanded=
"true"
/>
<element
signature=
"e#100020#100090#0"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java
"
>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/
resources/static/json/firstPage.json
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"158"
>
<state
relative-caret-position=
"308"
>
<caret
line=
"33"
column=
"38"
lean-forward=
"true"
selection-start-line=
"33"
selection-start-column=
"38"
selection-end-line=
"33"
selection-end-column=
"38"
/>
<caret
line=
"14"
column=
"62"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"62"
selection-end-line=
"14"
selection-end-column=
"62"
/>
<folding>
<element
signature=
"e#8250#8251#0"
expanded=
"true"
/>
<element
signature=
"e#8286#8287#0"
expanded=
"true"
/>
<element
signature=
"e#8358#8359#0"
expanded=
"true"
/>
<element
signature=
"e#8414#8415#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/XiaoduhomeApplication.java
View file @
f5bb9486
...
@@ -2,9 +2,8 @@ package ai.qiwu.com.xiaoduhome;
...
@@ -2,9 +2,8 @@ package ai.qiwu.com.xiaoduhome;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.
autoconfigure.domain.EntityScan
;
import
org.springframework.boot.
context.ApplicationPidFileWriter
;
import
org.springframework.data.jpa.repository.config.EnableJpaAuditing
;
import
org.springframework.data.jpa.repository.config.EnableJpaAuditing
;
import
org.springframework.data.jpa.repository.config.EnableJpaRepositories
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
@SpringBootApplication
@SpringBootApplication
...
@@ -13,6 +12,8 @@ import org.springframework.scheduling.annotation.EnableScheduling;
...
@@ -13,6 +12,8 @@ import org.springframework.scheduling.annotation.EnableScheduling;
public
class
XiaoduhomeApplication
{
public
class
XiaoduhomeApplication
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
application
=
new
SpringApplication
(
XiaoduhomeApplication
.
class
);
application
.
addListeners
(
new
ApplicationPidFileWriter
());
SpringApplication
.
run
(
XiaoduhomeApplication
.
class
,
args
);
SpringApplication
.
run
(
XiaoduhomeApplication
.
class
,
args
);
}
}
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Config.java
View file @
f5bb9486
...
@@ -3,6 +3,8 @@ package ai.qiwu.com.xiaoduhome.common;
...
@@ -3,6 +3,8 @@ package ai.qiwu.com.xiaoduhome.common;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.InputStreamReader
;
import
java.io.InputStreamReader
;
import
java.nio.charset.StandardCharsets
;
import
java.nio.charset.StandardCharsets
;
import
java.util.Properties
;
import
java.util.Properties
;
...
@@ -19,7 +21,11 @@ public class Config {
...
@@ -19,7 +21,11 @@ public class Config {
String
filename
=
"xiaodu.properties"
;
String
filename
=
"xiaodu.properties"
;
properties
=
new
Properties
();
properties
=
new
Properties
();
try
{
try
{
properties
.
load
(
new
InputStreamReader
(
Config
.
class
.
getClassLoader
().
getResourceAsStream
(
filename
),
StandardCharsets
.
UTF_8
));
String
path
=
System
.
getProperty
(
"java.class.path"
);
path
=
path
.
substring
(
0
,
path
.
lastIndexOf
(
File
.
separator
)+
1
)
+
filename
;
log
.
warn
(
"配置文件:{}"
,
path
);
properties
.
load
(
new
InputStreamReader
(
new
FileInputStream
(
path
),
StandardCharsets
.
UTF_8
));
// properties.load(new InputStreamReader(Config.class.getClassLoader().getResourceAsStream(filename), StandardCharsets.UTF_8));
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"获取配置文件对象出错:{}"
,
e
.
toString
());
log
.
error
(
"获取配置文件对象出错:{}"
,
e
.
toString
());
System
.
exit
(
1
);
System
.
exit
(
1
);
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Constants.java
View file @
f5bb9486
...
@@ -62,7 +62,7 @@ public interface Constants {
...
@@ -62,7 +62,7 @@ public interface Constants {
String
COLLECTED_IMG_URL
=
"https://didi-gz5.jiaoyou365.com/duai/image/collec.png"
;
String
COLLECTED_IMG_URL
=
"https://didi-gz5.jiaoyou365.com/duai/image/collec.png"
;
String
UN_COLLECTED_IMG_URL
=
"https://didi-gz5.jiaoyou365.com/duai/image/uncollec.png"
;
String
UN_COLLECTED_IMG_URL
=
"https://didi-gz5.jiaoyou365.com/duai/image/uncollec.png"
;
String
DEFAULT_ASIDE_IMG_URL
=
"http://didi-gz
4
.jiaoyou365.com/Editor/upload/img/npc/2019/02/19174004213.png"
;
String
DEFAULT_ASIDE_IMG_URL
=
"http://didi-gz
5
.jiaoyou365.com/Editor/upload/img/npc/2019/02/19174004213.png"
;
}
}
interface
PRODUCT_INTRO
{
interface
PRODUCT_INTRO
{
...
@@ -96,8 +96,8 @@ public interface Constants {
...
@@ -96,8 +96,8 @@ public interface Constants {
}
}
interface
SKILL_SECURITY
{
interface
SKILL_SECURITY
{
String
REDIRECT_URI
=
"https://xiaodu.baidu.com/saiya/auth/
15966f1c8158104bd82712f95d8a1150
"
;
String
REDIRECT_URI
=
"https://xiaodu.baidu.com/saiya/auth/
3a0610f8af67a3c92d803a80a1c8976c
"
;
String
REDIRECT_URI_TEST
=
"https://xiaodu-dbp.baidu.com/saiya/auth/
15966f1c8158104bd82712f95d8a1150
"
;
String
REDIRECT_URI_TEST
=
"https://xiaodu-dbp.baidu.com/saiya/auth/
3a0610f8af67a3c92d803a80a1c8976c
"
;
String
CLIENT_ID
=
"aiqiwucom"
;
String
CLIENT_ID
=
"aiqiwucom"
;
String
CLIENT_SECRET
=
"miaoquanwei"
;
String
CLIENT_SECRET
=
"miaoquanwei"
;
}
}
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/OkHttp3Utils.java
View file @
f5bb9486
...
@@ -143,6 +143,7 @@ public class OkHttp3Utils {
...
@@ -143,6 +143,7 @@ public class OkHttp3Utils {
case
3
:
header
=
"jiaoyou-audio-child-test"
;
break
;
case
3
:
header
=
"jiaoyou-audio-child-test"
;
break
;
case
2
:
case
2
:
case
4
:
header
=
"jiaoyou-audio-adult-test"
;
break
;
case
4
:
header
=
"jiaoyou-audio-adult-test"
;
break
;
case
6
:
header
=
"baidu-screen-jiaoyou-audio-test"
;
break
;
default
:
header
=
"jiaoyou-audio-test"
;
default
:
header
=
"jiaoyou-audio-test"
;
}
}
}
}
...
@@ -304,6 +305,34 @@ public class OkHttp3Utils {
...
@@ -304,6 +305,34 @@ public class OkHttp3Utils {
}
}
}
}
public
static
void
doPutAsy
(
String
url
,
String
requestJsonStr
)
{
Request
request
=
new
Request
.
Builder
()
.
url
(
url
)
.
put
(
RequestBody
.
create
(
requestJsonStr
,
MediaType
.
parse
(
"application/json; charset=utf-8"
)))
.
build
();
client
.
newCall
(
request
).
enqueue
(
new
Callback
()
{
@Override
public
void
onFailure
(
@NotNull
Call
call
,
@NotNull
IOException
e
)
{
log
.
info
(
"天猫精灵发送无音频数据失败"
);
}
@Override
public
void
onResponse
(
@NotNull
Call
call
,
@NotNull
Response
response
)
throws
IOException
{
try
(
ResponseBody
body
=
response
.
body
()){
body
.
string
();
}
catch
(
SocketTimeoutException
e
)
{
log
.
error
(
"捕获到SocketTimeoutException:{}"
,
e
.
toString
());
client
.
dispatcher
().
cancelAll
();
client
.
connectionPool
().
evictAll
();
}
catch
(
Exception
e
)
{
log
.
error
(
ExceptionUtils
.
getStackTrace
(
e
));
}
}
});
}
public
static
String
doDelete
(
String
url
,
Map
<
String
,
String
>
headers
,
String
jsonStr
)
throws
IOException
{
public
static
String
doDelete
(
String
url
,
Map
<
String
,
String
>
headers
,
String
jsonStr
)
throws
IOException
{
Request
.
Builder
builder
=
new
Request
.
Builder
();
Request
.
Builder
builder
=
new
Request
.
Builder
();
Request
request
=
builder
.
url
(
url
).
build
();
Request
request
=
builder
.
url
(
url
).
build
();
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java
View file @
f5bb9486
...
@@ -256,11 +256,15 @@ public class Utils {
...
@@ -256,11 +256,15 @@ public class Utils {
List
<
String
>
list
=
Arrays
.
asList
(
s1
);
List
<
String
>
list
=
Arrays
.
asList
(
s1
);
StringBuilder
num
=
new
StringBuilder
();
StringBuilder
num
=
new
StringBuilder
();
boolean
first
=
true
;
boolean
first
=
true
;
for
(
String
str:
numStr
.
split
(
""
))
{
String
[]
arr
=
numStr
.
split
(
""
);
for
(
String
str:
arr
)
{
int
i
;
int
i
;
if
(
first
)
{
if
(
first
)
{
first
=
false
;
first
=
false
;
if
(
str
.
equals
(
"十"
))
num
.
append
(
1
);
if
(
str
.
equals
(
"十"
))
{
if
(
arr
.
length
==
1
)
return
10
;
num
.
append
(
1
);
}
else
if
((
i
=
list
.
indexOf
(
str
))
!=
-
1
)
num
.
append
(
i
);
else
if
((
i
=
list
.
indexOf
(
str
))
!=
-
1
)
num
.
append
(
i
);
}
}
else
if
((
i
=
list
.
indexOf
(
str
))
!=
-
1
)
num
.
append
(
i
);
else
if
((
i
=
list
.
indexOf
(
str
))
!=
-
1
)
num
.
append
(
i
);
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/CollectHistoryUtils.java
View file @
f5bb9486
...
@@ -174,7 +174,7 @@ public class CollectHistoryUtils {
...
@@ -174,7 +174,7 @@ public class CollectHistoryUtils {
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
end
.jpg"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
New
.jpg"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils.java
View file @
f5bb9486
...
@@ -260,8 +260,7 @@ public class TempleUtils {
...
@@ -260,8 +260,7 @@ public class TempleUtils {
for
(
ProjectData
projectInfo
:
list
)
{
for
(
ProjectData
projectInfo
:
list
)
{
String
productName
=
correctName
(
projectInfo
.
getName
());
String
productName
=
correctName
(
projectInfo
.
getName
());
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
projectInfo
.
getName
()).
toString
();
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
projectInfo
.
getName
()).
toString
();
String
src
=
new
StringBuilder
(
IMG_PREFIX
).
append
(
projectInfo
.
getBannerImgUrl
()).
toString
();
LunchBotData
data
=
new
LunchBotData
(
projectInfo
.
getBannerImgUrl
(),
imageId
,
productName
);
LunchBotData
data
=
new
LunchBotData
(
src
,
imageId
,
productName
);
data
.
setNum
(
begin
++);
data
.
setNum
(
begin
++);
dataList
.
add
(
data
);
dataList
.
add
(
data
);
}
}
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchPojo.java
View file @
f5bb9486
...
@@ -25,6 +25,7 @@ public class LunchPojo {
...
@@ -25,6 +25,7 @@ public class LunchPojo {
private
String
width
;
private
String
width
;
private
String
left
;
private
String
left
;
private
String
top
;
private
String
top
;
private
String
bottom
;
private
String
right
;
private
String
right
;
private
String
src
;
private
String
src
;
private
List
<
LunchPojo
>
items
;
private
List
<
LunchPojo
>
items
;
...
@@ -58,6 +59,10 @@ public class LunchPojo {
...
@@ -58,6 +59,10 @@ public class LunchPojo {
private
String
text
;
private
String
text
;
@JsonProperty
(
"font-size"
)
@JsonProperty
(
"font-size"
)
private
String
fontSize
;
private
String
fontSize
;
@JsonProperty
(
"justify-content"
)
private
String
justifyContent
;
private
List
<
LunchBotData
>
data
;
private
List
<
LunchBotData
>
data
;
private
List
<
FrameTemple
>
firstItem
;
private
List
<
FrameTemple
>
firstItem
;
private
String
headerImage
;
private
List
<
String
>
hints
;
}
}
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/onLunch/LunchUtils.java
View file @
f5bb9486
package
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
temple
.
onLunch
;
package
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
temple
.
onLunch
;
import
ai.qiwu.com.xiaoduhome.common.temple.TempleUtils
;
import
ai.qiwu.com.xiaoduhome.common.temple.TempleUtils
;
import
ai.qiwu.com.xiaoduhome.common.temple.productInfo.ProductInfoPojo
;
import
ai.qiwu.com.xiaoduhome.pojo.dpl.Event
;
import
ai.qiwu.com.xiaoduhome.pojo.dpl.Event
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleService
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleService
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleServiceNew
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleServiceNew
;
...
@@ -19,9 +20,10 @@ public class LunchUtils {
...
@@ -19,9 +20,10 @@ public class LunchUtils {
private
static
final
LunchPojo
LUNCH_LIST_CATEGORY_CON
=
buildCategoryList
();
private
static
final
LunchPojo
LUNCH_LIST_CATEGORY_CON
=
buildCategoryList
();
private
static
final
LunchPojo
LUNCH_HEAD
=
buildLunchHead
();
private
static
final
LunchPojo
LUNCH_HEAD
=
buildLunchHead
();
private
static
final
LunchPojo
LUNCH_BACK_IMG
=
buildLunchBackgroundImg
();
private
static
final
LunchPojo
LUNCH_BACK_IMG
=
buildLunchBackgroundImg
();
private
static
final
LunchPojo
LUNCH_LOGO_IMG
=
buildLogoImage
();
private
static
final
LunchPojo
FOOTER
=
buildHomeFooter
();
private
static
final
LunchPojo
LUNCH_HSITORY_IMG
=
buildHistoryImg
();
// private static final LunchPojo LUNCH_LOGO_IMG = buildLogoImage();
private
static
final
LunchPojo
LUNCH_COLLECT_IMG
=
buildCollectImg
();
// private static final LunchPojo LUNCH_HSITORY_IMG = buildHistoryImg();
// private static final LunchPojo LUNCH_COLLECT_IMG = buildCollectImg();
private
volatile
static
LunchDocument
lunchDocument
=
buildLunchNewDocument
();
private
volatile
static
LunchDocument
lunchDocument
=
buildLunchNewDocument
();
...
@@ -47,7 +49,8 @@ public class LunchUtils {
...
@@ -47,7 +49,8 @@ public class LunchUtils {
LunchPojo
scroll
=
buildLunchScroll
();
LunchPojo
scroll
=
buildLunchScroll
();
scroll
.
setItems
(
list
);
scroll
.
setItems
(
list
);
mainTemplate
.
getItems
().
addAll
(
Arrays
.
asList
(
LUNCH_BACK_IMG
,
LUNCH_HEAD
,
LUNCH_LOGO_IMG
,
LUNCH_HSITORY_IMG
,
LUNCH_COLLECT_IMG
,
scroll
));
// mainTemplate.getItems().addAll(Arrays.asList(LUNCH_BACK_IMG,LUNCH_HEAD,LUNCH_LOGO_IMG,LUNCH_HSITORY_IMG,LUNCH_COLLECT_IMG,scroll));
mainTemplate
.
getItems
().
addAll
(
Arrays
.
asList
(
LUNCH_BACK_IMG
,
LUNCH_HEAD
,
scroll
,
FOOTER
));
return
document
;
return
document
;
}
}
...
@@ -70,7 +73,7 @@ public class LunchUtils {
...
@@ -70,7 +73,7 @@ public class LunchUtils {
LunchPojo
scroll
=
buildLunchScroll
();
LunchPojo
scroll
=
buildLunchScroll
();
// scroll.setItems(Arrays.asList(conRecommend,conRanking,conCategory));
// scroll.setItems(Arrays.asList(conRecommend,conRanking,conCategory));
mainTemplate
.
getItems
().
addAll
(
Arrays
.
asList
(
LUNCH_BACK_IMG
,
LUNCH_HEAD
,
LUNCH_LOGO_IMG
,
LUNCH_HSITORY_IMG
,
LUNCH_COLLECT_IMG
,
scroll
));
//
mainTemplate.getItems().addAll(Arrays.asList(LUNCH_BACK_IMG,LUNCH_HEAD,LUNCH_LOGO_IMG,LUNCH_HSITORY_IMG,LUNCH_COLLECT_IMG,scroll));
return
document
;
return
document
;
}
}
...
@@ -78,8 +81,10 @@ public class LunchUtils {
...
@@ -78,8 +81,10 @@ public class LunchUtils {
LunchPojo
scroll
=
new
LunchPojo
();
LunchPojo
scroll
=
new
LunchPojo
();
scroll
.
setType
(
"ScrollView"
);
scroll
.
setType
(
"ScrollView"
);
scroll
.
setDirection
(
"vertical"
);
scroll
.
setDirection
(
"vertical"
);
scroll
.
setMarginTop
(
"180dp"
);
scroll
.
setWidth
(
"100%"
);
scroll
.
setWidth
(
"100%"
);
scroll
.
setMarginBottom
(
"10dp"
);
scroll
.
setPaddingBottom
(
"20dp"
);
// scroll.setMarginBottom("10dp");
return
scroll
;
return
scroll
;
}
}
...
@@ -105,12 +110,13 @@ public class LunchUtils {
...
@@ -105,12 +110,13 @@ public class LunchUtils {
private
static
LunchPojo
buildLunchList
(
List
<
LunchBotData
>
data
)
{
private
static
LunchPojo
buildLunchList
(
List
<
LunchBotData
>
data
)
{
LunchPojo
container
=
new
LunchPojo
();
LunchPojo
container
=
new
LunchPojo
();
container
.
setType
(
"Container"
);
container
.
setType
(
"Container"
);
container
.
setMarginBottom
(
"28dp"
);
container
.
setMarginBottom
(
"45dp"
);
container
.
setAlignItems
(
"center"
);
container
.
setWidth
(
"100%"
);
container
.
setWidth
(
"100%"
);
LunchPojo
list
=
new
LunchPojo
();
LunchPojo
list
=
new
LunchPojo
();
list
.
setType
(
"List"
);
list
.
setType
(
"List"
);
list
.
setMarginLeft
(
"
3
0dp"
);
list
.
setMarginLeft
(
"
2
0dp"
);
// list.setMarginRight("15dp");
// list.setMarginRight("15dp");
list
.
setDirection
(
"horizontal"
);
list
.
setDirection
(
"horizontal"
);
list
.
setData
(
data
);
list
.
setData
(
data
);
...
@@ -137,8 +143,8 @@ public class LunchUtils {
...
@@ -137,8 +143,8 @@ public class LunchUtils {
//image
//image
LunchPojo
image
=
new
LunchPojo
();
LunchPojo
image
=
new
LunchPojo
();
image
.
setType
(
"Image"
);
image
.
setType
(
"Image"
);
image
.
setWidth
(
"2
1
0dp"
);
image
.
setWidth
(
"2
0
0dp"
);
image
.
setHeight
(
"2
1
0dp"
);
image
.
setHeight
(
"2
0
0dp"
);
image
.
setMarginLeft
(
"7dp"
);
image
.
setMarginLeft
(
"7dp"
);
image
.
setMarginTop
(
"7dp"
);
image
.
setMarginTop
(
"7dp"
);
image
.
setPosition
(
"absolute"
);
image
.
setPosition
(
"absolute"
);
...
@@ -150,16 +156,17 @@ public class LunchUtils {
...
@@ -150,16 +156,17 @@ public class LunchUtils {
//frame
//frame
LunchPojo
frame
=
new
LunchPojo
();
LunchPojo
frame
=
new
LunchPojo
();
frame
.
setType
(
"Frame"
);
frame
.
setType
(
"Frame"
);
frame
.
setWidth
(
"
3
5dp"
);
frame
.
setWidth
(
"
4
5dp"
);
frame
.
setHeight
(
"
3
5dp"
);
frame
.
setHeight
(
"
4
5dp"
);
frame
.
setBackgroundColor
(
"rgb
a(0,0,0,0.8
)"
);
frame
.
setBackgroundColor
(
"rgb
(30,144,255
)"
);
frame
.
setBorderRadius
(
"
13
dp"
);
frame
.
setBorderRadius
(
"
25
dp"
);
LunchPojo
frmCon
=
new
LunchPojo
();
LunchPojo
frmCon
=
new
LunchPojo
();
frmCon
.
setType
(
"Container"
);
frmCon
.
setType
(
"Container"
);
frmCon
.
setWidth
(
"100%"
);
frmCon
.
setWidth
(
"100%"
);
frmCon
.
setHeight
(
"100%"
);
frmCon
.
setHeight
(
"100%"
);
frmCon
.
setAlignItems
(
"center"
);
frmCon
.
setAlignItems
(
"center"
);
frmCon
.
setJustifyContent
(
"center"
);
LunchPojo
frmText
=
new
LunchPojo
();
LunchPojo
frmText
=
new
LunchPojo
();
frmText
.
setType
(
"Text"
);
frmText
.
setType
(
"Text"
);
...
@@ -191,7 +198,7 @@ public class LunchUtils {
...
@@ -191,7 +198,7 @@ public class LunchUtils {
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
end
.jpg"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
New
.jpg"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
...
@@ -200,14 +207,40 @@ public class LunchUtils {
...
@@ -200,14 +207,40 @@ public class LunchUtils {
}
}
private
static
LunchPojo
buildLunchHead
()
{
private
static
LunchPojo
buildLunchHead
()
{
// LunchPojo head = new LunchPojo();
// head.setType("Header");
// //head.setHeaderTitle("交游天下");
// head.setHasBackIcon(false);
// return head;
LunchPojo
head
=
new
LunchPojo
();
LunchPojo
head
=
new
LunchPojo
();
head
.
setType
(
"Header"
);
head
.
setType
(
"Image"
);
//head.setHeaderTitle("交游天下");
head
.
setPosition
(
"absolute"
);
head
.
setHasBackIcon
(
false
);
head
.
setTop
(
"0dp"
);
head
.
setLeft
(
"0dp"
);
head
.
setWidth
(
"100%"
);
head
.
setHeight
(
"100%"
);
head
.
setScaleType
(
"centerCrop"
);
head
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/heaImg.png"
);
return
head
;
return
head
;
}
}
private
static
LunchPojo
buildHomeFooter
()
{
LunchPojo
footerCon
=
new
LunchPojo
();
footerCon
.
setType
(
"Container"
);
footerCon
.
setPosition
(
"absolute"
);
footerCon
.
setWidth
(
"100%"
);
footerCon
.
setLeft
(
"0"
);
footerCon
.
setBottom
(
"0"
);
LunchPojo
footer
=
new
LunchPojo
();
footer
.
setType
(
"Footer"
);
footer
.
setHints
(
Arrays
.
asList
(
"推荐作品"
,
"打开第一个"
,
"打开排行榜"
,
"打开历史记录"
,
"打开收藏"
));
footerCon
.
setItems
(
Collections
.
singletonList
(
footer
));
return
footerCon
;
}
private
static
LunchPojo
buildLogoImage
()
{
private
static
LunchPojo
buildLogoImage
()
{
LunchPojo
logoCon
=
new
LunchPojo
();
LunchPojo
logoCon
=
new
LunchPojo
();
logoCon
.
setType
(
"Container"
);
logoCon
.
setType
(
"Container"
);
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayUtils.java
View file @
f5bb9486
...
@@ -4,6 +4,7 @@ import ai.qiwu.com.xiaoduhome.pojo.ActorWithWord;
...
@@ -4,6 +4,7 @@ import ai.qiwu.com.xiaoduhome.pojo.ActorWithWord;
import
ai.qiwu.com.xiaoduhome.pojo.dpl.Event
;
import
ai.qiwu.com.xiaoduhome.pojo.dpl.Event
;
import
ai.qiwu.com.xiaoduhome.pojo.playAside.PlayPageData
;
import
ai.qiwu.com.xiaoduhome.pojo.playAside.PlayPageData
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleService
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleService
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleServiceNew
;
import
java.util.*
;
import
java.util.*
;
...
@@ -18,7 +19,7 @@ public class PlayUtils {
...
@@ -18,7 +19,7 @@ public class PlayUtils {
private
static
final
PlayPojo
PLAY_FLOWER
=
buildFlower
();
private
static
final
PlayPojo
PLAY_FLOWER
=
buildFlower
();
private
static
final
PlayPojo
PLAY_LOGO
=
buildLogoImage
();
private
static
final
PlayPojo
PLAY_LOGO
=
buildLogoImage
();
private
static
final
PlayPojo
PLAY_COLLECT
=
buildCollect
();
private
static
final
PlayPojo
PLAY_COLLECT
=
buildCollect
();
private
static
final
PlayPojo
PLAY_UN_COLLECT
=
buildUnCollect
();
//
private static final PlayPojo PLAY_UN_COLLECT = buildUnCollect();
private
static
final
PlayPojo
PLAY_LIST_ITEM
=
buildContent
();
private
static
final
PlayPojo
PLAY_LIST_ITEM
=
buildContent
();
...
@@ -31,7 +32,7 @@ public class PlayUtils {
...
@@ -31,7 +32,7 @@ public class PlayUtils {
List
<
PlayPageData
>
dataList
=
new
ArrayList
<>();
List
<
PlayPageData
>
dataList
=
new
ArrayList
<>();
for
(
ActorWithWord
aw:
aws
)
{
for
(
ActorWithWord
aw:
aws
)
{
PlayPageData
data
=
new
PlayPageData
(
aw
.
getActor
(),
ScheduleService
.
getAsideImgUrl
(
botAccount
,
aw
.
getActor
()),
PlayPageData
data
=
new
PlayPageData
(
aw
.
getActor
(),
ScheduleService
New
.
getAsideImgUrl
(
botAccount
,
aw
.
getActor
()),
aw
.
getText
().
replaceAll
(
"<br>"
,
"\n"
));
aw
.
getText
().
replaceAll
(
"<br>"
,
"\n"
));
dataList
.
add
(
data
);
dataList
.
add
(
data
);
}
}
...
@@ -355,7 +356,7 @@ public class PlayUtils {
...
@@ -355,7 +356,7 @@ public class PlayUtils {
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
end
.jpg"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
New
.jpg"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/productInfo/ProductInfoUtils.java
View file @
f5bb9486
...
@@ -119,6 +119,7 @@ public class ProductInfoUtils {
...
@@ -119,6 +119,7 @@ public class ProductInfoUtils {
ProductInfoPojo
label
=
new
ProductInfoPojo
();
ProductInfoPojo
label
=
new
ProductInfoPojo
();
label
.
setType
(
"Text"
);
label
.
setType
(
"Text"
);
label
.
setMarginLeft
(
"5%"
);
label
.
setMarginLeft
(
"5%"
);
label
.
setTextOverflow
(
"ellipsis"
);
label
.
setFontSize
(
"22dp"
);
label
.
setFontSize
(
"22dp"
);
label
.
setMaxLines
(
1
);
label
.
setMaxLines
(
1
);
label
.
setText
(
labelText
);
label
.
setText
(
labelText
);
...
@@ -260,7 +261,7 @@ public class ProductInfoUtils {
...
@@ -260,7 +261,7 @@ public class ProductInfoUtils {
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
end
.jpg"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
New
.jpg"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommendUtil.java
View file @
f5bb9486
...
@@ -150,17 +150,13 @@ public class RecommendUtil {
...
@@ -150,17 +150,13 @@ public class RecommendUtil {
botIds
.
append
(
third
.
getBotAccount
()).
append
(
File
.
separator
);
botIds
.
append
(
third
.
getBotAccount
()).
append
(
File
.
separator
);
ProjectData
forth
=
list
.
get
(
3
);
ProjectData
forth
=
list
.
get
(
3
);
botIds
.
append
(
forth
.
getBotAccount
()).
append
(
File
.
separator
);
botIds
.
append
(
forth
.
getBotAccount
()).
append
(
File
.
separator
);
RecommandPojo
pojoFirst
=
buildImgFrmTxtContainerFirstRow
(
new
StringBuilder
(
Constants
.
IMG_PREFIX
)
RecommandPojo
pojoFirst
=
buildImgFrmTxtContainerFirstRow
(
first
.
getBannerImgUrl
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
first
.
getName
()).
toString
(),
.
append
(
first
.
getBannerImgUrl
()).
toString
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
first
.
getName
()).
toString
(),
TempleUtils
.
correctName
(
first
.
getName
()),
"first.png"
);
TempleUtils
.
correctName
(
first
.
getName
()),
"first.png"
);
RecommandPojo
pojoSe
=
buildImgFrmTxtContainerFirstRow
(
new
StringBuilder
(
Constants
.
IMG_PREFIX
)
RecommandPojo
pojoSe
=
buildImgFrmTxtContainerFirstRow
(
second
.
getBannerImgUrl
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
second
.
getName
()).
toString
(),
.
append
(
second
.
getBannerImgUrl
()).
toString
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
second
.
getName
()).
toString
(),
TempleUtils
.
correctName
(
second
.
getName
()),
"second.png"
);
TempleUtils
.
correctName
(
second
.
getName
()),
"second.png"
);
RecommandPojo
pojoThird
=
buildImgFrmTxtContainerFirstRow
(
new
StringBuilder
(
Constants
.
IMG_PREFIX
)
RecommandPojo
pojoThird
=
buildImgFrmTxtContainerFirstRow
(
third
.
getBannerImgUrl
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
third
.
getName
()).
toString
(),
.
append
(
third
.
getBannerImgUrl
()).
toString
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
third
.
getName
()).
toString
(),
TempleUtils
.
correctName
(
third
.
getName
()),
"third.png"
);
TempleUtils
.
correctName
(
third
.
getName
()),
"third.png"
);
RecommandPojo
pojoFourth
=
buildImgFrmTxtContainerFourth
(
new
StringBuilder
(
Constants
.
IMG_PREFIX
)
RecommandPojo
pojoFourth
=
buildImgFrmTxtContainerFourth
(
forth
.
getBannerImgUrl
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
forth
.
getName
()).
toString
(),
.
append
(
forth
.
getBannerImgUrl
()).
toString
(),
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
forth
.
getName
()).
toString
(),
TempleUtils
.
correctName
(
forth
.
getName
()));
TempleUtils
.
correctName
(
forth
.
getName
()));
rowContainer
.
setItems
(
Arrays
.
asList
(
pojoFirst
,
pojoSe
,
pojoThird
,
pojoFourth
));
rowContainer
.
setItems
(
Arrays
.
asList
(
pojoFirst
,
pojoSe
,
pojoThird
,
pojoFourth
));
...
@@ -171,7 +167,7 @@ public class RecommendUtil {
...
@@ -171,7 +167,7 @@ public class RecommendUtil {
//scrollList.add(buildRecommendList(getListData(3, 12, 16, list, botIds)));
//scrollList.add(buildRecommendList(getListData(3, 12, 16, list, botIds)));
mainTemplate
.
getItems
().
addAll
(
Arrays
.
asList
(
RECOM_BACK_IMG
,
RANK_HEAD
,
scrollView
,
buildPageButton
(
1
,
mainTemplate
.
getItems
().
addAll
(
Arrays
.
asList
(
RECOM_BACK_IMG
,
RANK_HEAD
,
scrollView
,
buildPageButton
(
1
,
list
.
size
()),
RANK_CATEGORY_FOOTER
));
list
.
size
()
/
12
+
list
.
size
()%
12
==
0
?
0
:
1
),
RANK_CATEGORY_FOOTER
));
botIds
.
deleteCharAt
(
botIds
.
length
()-
1
);
botIds
.
deleteCharAt
(
botIds
.
length
()-
1
);
String
idToken
=
Base64
.
getEncoder
().
encodeToString
(
botIds
.
toString
().
getBytes
());
String
idToken
=
Base64
.
getEncoder
().
encodeToString
(
botIds
.
toString
().
getBytes
());
...
@@ -210,7 +206,7 @@ public class RecommendUtil {
...
@@ -210,7 +206,7 @@ public class RecommendUtil {
begin
=
end
;
begin
=
end
;
}
}
mainTemplate
.
getItems
().
addAll
(
Arrays
.
asList
(
RECOM_BACK_IMG
,
RANK_HEAD
,
scrollView
,
mainTemplate
.
getItems
().
addAll
(
Arrays
.
asList
(
RECOM_BACK_IMG
,
RANK_HEAD
,
scrollView
,
buildPageButton
(
num
+
1
,
list
.
size
()),
RANK_CATEGORY_FOOTER
));
buildPageButton
(
num
+
1
,
list
.
size
()
/
12
+
list
.
size
()%
12
==
0
?
0
:
1
),
RANK_CATEGORY_FOOTER
));
botIds
.
deleteCharAt
(
botIds
.
length
()-
1
);
botIds
.
deleteCharAt
(
botIds
.
length
()-
1
);
String
idToken
=
Base64
.
getEncoder
().
encodeToString
(
botIds
.
toString
().
getBytes
());
String
idToken
=
Base64
.
getEncoder
().
encodeToString
(
botIds
.
toString
().
getBytes
());
...
@@ -228,9 +224,8 @@ public class RecommendUtil {
...
@@ -228,9 +224,8 @@ public class RecommendUtil {
StringBuilder
botIds
=
new
StringBuilder
();
StringBuilder
botIds
=
new
StringBuilder
();
int
num
=
0
;
int
num
=
0
;
for
(
ProjectData
bot:
bots
)
{
for
(
ProjectData
bot:
bots
)
{
String
imgSrc
=
new
StringBuilder
(
Constants
.
IMG_PREFIX
).
append
(
bot
.
getBannerImgUrl
()).
toString
();
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
bot
.
getName
()).
toString
();
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
bot
.
getName
()).
toString
();
RecommandBotInfo
detail
=
new
RecommandBotInfo
(
imgSrc
,
imageId
,
TempleUtils
.
correctName
(
bot
.
getName
()));
RecommandBotInfo
detail
=
new
RecommandBotInfo
(
bot
.
getBannerImgUrl
()
,
imageId
,
TempleUtils
.
correctName
(
bot
.
getName
()));
detail
.
setNum
(++
num
);
detail
.
setNum
(++
num
);
data
.
add
(
detail
);
data
.
add
(
detail
);
botIds
.
append
(
bot
.
getBotAccount
()).
append
(
File
.
separator
);
botIds
.
append
(
bot
.
getBotAccount
()).
append
(
File
.
separator
);
...
@@ -294,10 +289,10 @@ public class RecommendUtil {
...
@@ -294,10 +289,10 @@ public class RecommendUtil {
//frame
//frame
RecommandPojo
frame
=
new
RecommandPojo
();
RecommandPojo
frame
=
new
RecommandPojo
();
frame
.
setType
(
"Frame"
);
frame
.
setType
(
"Frame"
);
frame
.
setWidth
(
"4
0
dp"
);
frame
.
setWidth
(
"4
5
dp"
);
frame
.
setHeight
(
"4
0
dp"
);
frame
.
setHeight
(
"4
5
dp"
);
frame
.
setBackgroundColor
(
"rgb
a(0,0,0,0.9
)"
);
frame
.
setBackgroundColor
(
"rgb
(30,144,255
)"
);
frame
.
setBorderRadius
(
"
1
5dp"
);
frame
.
setBorderRadius
(
"
2
5dp"
);
RecommandPojo
frmCon
=
new
RecommandPojo
();
RecommandPojo
frmCon
=
new
RecommandPojo
();
frmCon
.
setType
(
"Container"
);
frmCon
.
setType
(
"Container"
);
...
@@ -455,9 +450,8 @@ public class RecommendUtil {
...
@@ -455,9 +450,8 @@ public class RecommendUtil {
for
(
int
i
=
begin
;
i
<
end
;
i
++)
{
for
(
int
i
=
begin
;
i
<
end
;
i
++)
{
ProjectData
bot
=
bots
.
get
(
i
);
ProjectData
bot
=
bots
.
get
(
i
);
botIds
.
append
(
bot
.
getBotAccount
()).
append
(
File
.
separator
);
botIds
.
append
(
bot
.
getBotAccount
()).
append
(
File
.
separator
);
String
imgSrc
=
new
StringBuilder
(
Constants
.
IMG_PREFIX
).
append
(
bot
.
getBannerImgUrl
()).
toString
();
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
bot
.
getName
()).
toString
();
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
bot
.
getName
()).
toString
();
RecommandBotInfo
detail
=
new
RecommandBotInfo
(
imgSrc
,
imageId
,
TempleUtils
.
correctName
(
bot
.
getName
()));
RecommandBotInfo
detail
=
new
RecommandBotInfo
(
bot
.
getBannerImgUrl
()
,
imageId
,
TempleUtils
.
correctName
(
bot
.
getName
()));
detail
.
setNum
(
i
-
begin
+
n
);
detail
.
setNum
(
i
-
begin
+
n
);
data
.
add
(
detail
);
data
.
add
(
detail
);
}
}
...
@@ -469,9 +463,8 @@ public class RecommendUtil {
...
@@ -469,9 +463,8 @@ public class RecommendUtil {
int
n
=
1
+
row
*
4
;
int
n
=
1
+
row
*
4
;
for
(
int
i
=
begin
;
i
<
end
;
i
++)
{
for
(
int
i
=
begin
;
i
<
end
;
i
++)
{
ProjectData
bot
=
bots
.
get
(
i
);
ProjectData
bot
=
bots
.
get
(
i
);
String
imgSrc
=
new
StringBuilder
(
Constants
.
IMG_PREFIX
).
append
(
bot
.
getBannerImgUrl
()).
toString
();
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
bot
.
getName
()).
toString
();
String
imageId
=
new
StringBuilder
(
Constants
.
PRE_PRODUCT_IMG
).
append
(
bot
.
getName
()).
toString
();
RecommandBotInfo
detail
=
new
RecommandBotInfo
(
imgSrc
,
imageId
,
TempleUtils
.
correctName
(
bot
.
getName
()));
RecommandBotInfo
detail
=
new
RecommandBotInfo
(
bot
.
getBannerImgUrl
()
,
imageId
,
TempleUtils
.
correctName
(
bot
.
getName
()));
detail
.
setNum
(
i
-
begin
+
n
);
detail
.
setNum
(
i
-
begin
+
n
);
data
.
add
(
detail
);
data
.
add
(
detail
);
}
}
...
@@ -602,7 +595,7 @@ public class RecommendUtil {
...
@@ -602,7 +595,7 @@ public class RecommendUtil {
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setPosition
(
"absolute"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setTop
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setLeft
(
"0dp"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
end
.jpg"
);
backGroundImg
.
setSrc
(
"https://didi-gz5.jiaoyou365.com/duai/image/back
New
.jpg"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setHeight
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setWidth
(
"100%"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
backGroundImg
.
setScaleType
(
"fitXY"
);
...
@@ -653,4 +646,10 @@ public class RecommendUtil {
...
@@ -653,4 +646,10 @@ public class RecommendUtil {
public
static
void
setRankDocument
(
RecommandDocument
rankDocument
)
{
public
static
void
setRankDocument
(
RecommandDocument
rankDocument
)
{
RecommendUtil
.
rankDocument
=
rankDocument
;
RecommendUtil
.
rankDocument
=
rankDocument
;
}
}
public
static
void
main
(
String
[]
args
)
{
String
s
=
"sgagoijcue4569kmd9eir8345/234/23526/dfhh/2345345"
;
System
.
out
.
println
(
s
.
length
());
System
.
out
.
println
(
Base64
.
getEncoder
().
encodeToString
(
s
.
getBytes
()).
length
());
}
}
}
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java
View file @
f5bb9486
...
@@ -4,6 +4,7 @@ import ai.qiwu.com.xiaoduhome.common.Utils;
...
@@ -4,6 +4,7 @@ import ai.qiwu.com.xiaoduhome.common.Utils;
import
ai.qiwu.com.xiaoduhome.pojo.OverTimeDetail
;
import
ai.qiwu.com.xiaoduhome.pojo.OverTimeDetail
;
import
ai.qiwu.com.xiaoduhome.service.DplBotRedisService
;
import
ai.qiwu.com.xiaoduhome.service.DplBotRedisService
;
import
ai.qiwu.com.xiaoduhome.service.DplBotService
;
import
ai.qiwu.com.xiaoduhome.service.DplBotService
;
import
ai.qiwu.com.xiaoduhome.service.DplBotServiceBoth
;
import
ai.qiwu.com.xiaoduhome.service.ResponseEncapsulation
;
import
ai.qiwu.com.xiaoduhome.service.ResponseEncapsulation
;
import
ai.qiwu.com.xiaoduhome.spirit.SpiritService
;
import
ai.qiwu.com.xiaoduhome.spirit.SpiritService
;
import
ai.qiwu.com.xiaoduhome.xiaoai.model.request.XiaoAiRequest
;
import
ai.qiwu.com.xiaoduhome.xiaoai.model.request.XiaoAiRequest
;
...
@@ -119,13 +120,13 @@ public class XiaoDuHomeController {
...
@@ -119,13 +120,13 @@ public class XiaoDuHomeController {
try
{
try
{
//log.info("--------------分界线-------------------");
//log.info("--------------分界线-------------------");
// DplBotService service = new DplBotService(Utils.getHttpServletRequest(), 5);
// DplBotService service = new DplBotService(Utils.getHttpServletRequest(), 5);
// log.info("请求信息中的attributes:{}", service.getRequest().getSession().getAttributes()
);
DplBotServiceBoth
service
=
new
DplBotServiceBoth
(
request
,
6
,
stringRedisTemplate
);
DplBotRedisService
service
=
new
DplBotRedisService
(
request
,
5
,
stringRedisTemplate
);
log
.
info
(
"请求信息中的attributes:{}"
,
service
.
getRequest
().
getSession
().
getAttributes
()
);
//
log.info(service.getStrRequest());
log
.
info
(
service
.
getStrRequest
());
//service.disableVerify();
//service.disableVerify();
service
.
enableVerify
();
service
.
enableVerify
();
String
str
=
service
.
run
();
String
str
=
service
.
run
();
//
log.info("响应信息:{}", str);
log
.
info
(
"响应信息:{}"
,
str
);
return
str
;
return
str
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/UserBehaviorData.java
View file @
f5bb9486
...
@@ -26,4 +26,6 @@ public class UserBehaviorData {
...
@@ -26,4 +26,6 @@ public class UserBehaviorData {
private
volatile
Byte
mark
=
1
;
private
volatile
Byte
mark
=
1
;
private
volatile
String
jytUserId
;
private
volatile
String
jytUserId
;
private
volatile
String
channel
;
}
}
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/ProjectDataResult.java
0 → 100644
View file @
f5bb9486
package
ai
.
qiwu
.
com
.
xiaoduhome
.
pojo
.
data
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.ToString
;
/**
* @author 苗权威
* @dateTime 20-1-18 上午11:15
*/
@Getter
@Setter
@ToString
public
class
ProjectDataResult
{
private
Integer
code
;
private
String
msg
;
private
ResultData
data
;
}
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/ResultData.java
0 → 100644
View file @
f5bb9486
package
ai
.
qiwu
.
com
.
xiaoduhome
.
pojo
.
data
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.ToString
;
import
java.util.List
;
import
java.util.Map
;
/**
* @author 苗权威
* @dateTime 20-1-18 上午11:16
*/
@Getter
@Setter
@ToString
public
class
ResultData
{
private
List
<
ProjectData
>
bots
;
private
Map
<
String
,
Map
<
String
,
Long
>>
channelAcc
;
private
Map
<
String
,
Map
<
String
,
String
>>
headImg
;
}
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/data/UpdateUserCollectData.java
0 → 100644
View file @
f5bb9486
package
ai
.
qiwu
.
com
.
xiaoduhome
.
pojo
.
data
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.ToString
;
import
java.util.Map
;
/**
* @author 苗权威
* @dateTime 20-1-19 下午1:41
*/
@Getter
@Setter
@ToString
public
class
UpdateUserCollectData
{
private
String
userId
;
private
Map
<
String
,
Long
>
collectInfo
;
private
String
channel
;
}
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth.java
View file @
f5bb9486
...
@@ -13,8 +13,6 @@ import ai.qiwu.com.xiaoduhome.common.temple.productInfo.ProductInfoDocument;
...
@@ -13,8 +13,6 @@ import ai.qiwu.com.xiaoduhome.common.temple.productInfo.ProductInfoDocument;
import
ai.qiwu.com.xiaoduhome.common.temple.productInfo.ProductInfoUtils
;
import
ai.qiwu.com.xiaoduhome.common.temple.productInfo.ProductInfoUtils
;
import
ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandDocument
;
import
ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandDocument
;
import
ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommendUtil
;
import
ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommendUtil
;
import
ai.qiwu.com.xiaoduhome.entity.primary.GameProjectTb
;
import
ai.qiwu.com.xiaoduhome.entity.primary.OnProductDetail
;
import
ai.qiwu.com.xiaoduhome.entity.secondary.XiaoDuOrderTB
;
import
ai.qiwu.com.xiaoduhome.entity.secondary.XiaoDuOrderTB
;
import
ai.qiwu.com.xiaoduhome.pojo.*
;
import
ai.qiwu.com.xiaoduhome.pojo.*
;
import
ai.qiwu.com.xiaoduhome.pojo.data.ProjectData
;
import
ai.qiwu.com.xiaoduhome.pojo.data.ProjectData
;
...
@@ -72,6 +70,7 @@ import static ai.qiwu.com.xiaoduhome.common.Constants.XIAOWU_API.BEARER;
...
@@ -72,6 +70,7 @@ import static ai.qiwu.com.xiaoduhome.common.Constants.XIAOWU_API.BEARER;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
XIAOWU_API
.
FLOWER_INTERFACE
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
XIAOWU_API
.
FLOWER_INTERFACE
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
service
.
DplbotServiceUtil
.
USER_HISTORY
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
service
.
DplbotServiceUtil
.
USER_HISTORY
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
service
.
ScheduleService
.*;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
service
.
ScheduleService
.*;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
service
.
ScheduleServiceNew
.
curTime
;
/**
/**
* @author mqw
* @author mqw
...
@@ -80,7 +79,7 @@ import static ai.qiwu.com.xiaoduhome.service.ScheduleService.*;
...
@@ -80,7 +79,7 @@ import static ai.qiwu.com.xiaoduhome.service.ScheduleService.*;
public
class
DplBotServiceBoth
extends
BaseBot
{
public
class
DplBotServiceBoth
extends
BaseBot
{
private
static
final
MyDocument
FIRST_PAGE
;
private
static
final
MyDocument
FIRST_PAGE
;
private
static
final
ConcurrentHashMap
<
String
,
OverTimeDetail
>
LAST_OUTTIME_RESULT
=
new
ConcurrentHashMap
<>();
//
private static final ConcurrentHashMap<String, OverTimeDetail> LAST_OUTTIME_RESULT = new ConcurrentHashMap<>();
static
{
static
{
FIRST_PAGE
=
JSON
.
parseObject
(
DplbotServiceUtil
.
getDPLTemple
(
"static/json/firstPage.json"
),
MyDocument
.
class
);
FIRST_PAGE
=
JSON
.
parseObject
(
DplbotServiceUtil
.
getDPLTemple
(
"static/json/firstPage.json"
),
MyDocument
.
class
);
...
@@ -203,9 +202,9 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -203,9 +202,9 @@ public class DplBotServiceBoth extends BaseBot {
@Override
@Override
protected
Response
onInent
(
IntentRequest
intentRequest
)
{
protected
Response
onInent
(
IntentRequest
intentRequest
)
{
final
String
userId
=
customUserId
();
String
redisId
=
SpiritRedisService
.
PREFIX_REDIS
+
userId
;
if
(
getRequest
().
getContext
().
getScreen
()
==
null
)
{
if
(
getRequest
().
getContext
().
getScreen
()
==
null
)
{
final
String
userId
=
customUserId
();
String
redisId
=
SpiritRedisService
.
PREFIX_REDIS
+
userId
;
// final String deviceUserId = PREFIX_USERID + getDeviceId();
// final String deviceUserId = PREFIX_USERID + getDeviceId();
try
{
try
{
...
@@ -264,24 +263,61 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -264,24 +263,61 @@ public class DplBotServiceBoth extends BaseBot {
return
buildErrorResponse
(
SORRY_UNCATCH
);
return
buildErrorResponse
(
SORRY_UNCATCH
);
}
}
}
else
{
}
else
{
String
redisId
=
SpiritRedisService
.
PREFIX_REDIS
+
getUserId
();
String
lastData
;
if
((
lastData
=
stringRedisTemplate
.
opsForValue
().
get
(
redisId
))!=
null
)
{
return
dealScreenOutTimeResult
(
lastData
,
getUserId
(),
channel
);
}
try
{
try
{
Future
<
Response
>
future
=
DplbotServiceUtil
.
getPOOL
().
submit
(()
->
dealDefaultIntent
(
intentRequest
,
getUserId
(),
Future
<
Response
>
future
=
DplbotServiceUtil
.
getPOOL
().
submit
(()
->
dealDefaultIntent
(
intentRequest
,
getUserId
(),
null
,
channel
));
null
,
channel
));
return
future
.
get
(
2
2
00
,
TimeUnit
.
MILLISECONDS
);
return
future
.
get
(
2
7
00
,
TimeUnit
.
MILLISECONDS
);
}
catch
(
InterruptedException
|
ExecutionException
e
)
{
}
catch
(
InterruptedException
|
ExecutionException
e
)
{
log
.
error
(
"获取任务执行结果出错:{}"
,
ExceptionUtils
.
getStackTrace
(
e
));
log
.
warn
(
"获取任务执行结果出错:{}"
,
ExceptionUtils
.
getStackTrace
(
e
));
return
buildErrorResponse
(
SORRY_UNCATCH
);
return
buildErrorResponse
(
SORRY_UNCATCH
);
}
catch
(
TimeoutException
e
)
{
}
catch
(
TimeoutException
e
)
{
log
.
info
(
"超时,让用户再说一遍:{}"
,
e
.
toString
());
log
.
info
(
"超时,让用户再说一遍:{}"
,
e
.
toString
());
stringRedisTemplate
.
opsForValue
().
setIfAbsent
(
redisId
,
"out"
,
10
,
TimeUnit
.
SECONDS
);
return
buildErrorResponse
(
SORRY_UNCATCH
);
return
buildErrorResponse
(
SORRY_UNCATCH
);
}
catch
(
Exception
all
)
{
}
catch
(
Exception
all
)
{
log
.
error
(
"任务执行发生了错误:{}"
,
ExceptionUtils
.
getStackTrace
(
all
));
log
.
warn
(
"任务执行发生了错误:{}"
,
ExceptionUtils
.
getStackTrace
(
all
));
return
buildErrorResponse
(
SORRY_UNCATCH
);
return
buildErrorResponse
(
SORRY_UNCATCH
);
}
}
}
}
}
}
private
Response
dealScreenOutTimeResult
(
String
data
,
String
userId
,
String
channelId
)
{
String
[]
arr
=
data
.
split
(
"⧩"
);
JSONObject
object
=
JSON
.
parseObject
(
arr
[
0
]);
String
path
=
arr
[
1
];
String
botAccount
=
object
.
getString
(
"aipioneerUsername"
);
String
beforeBotAccount
=
getSessionAttribute
(
"botAcc"
);
if
(!
botAccount
.
equals
(
beforeBotAccount
))
{
DplbotServiceUtil
.
updateTheUserBehaviorDataMark
(
userId
,
botAccount
,
getAccessToken
(),
getSessionAttribute
(
"userId"
));
String
productName
=
ScheduleServiceNew
.
getProjectByBotAccount
(
botAccount
).
getName
();
PlayDocument
document
=
PlayUtils
.
getPlayDocument
(
productName
,
DplbotServiceUtil
.
getTheActorsWithWords
(
object
.
getJSONArray
(
"dialogs"
)),
dealAudioUrl
(
path
),
botAccount
);
RenderDocument
render
=
new
RenderDocument
(
document
);
addDirective
(
render
);
DplbotServiceUtil
.
updateTheUserHistory
(
userId
,
botAccount
,
getAccessToken
(),
channelId
);
String
trace
=
getSessionAttribute
(
BACK_TRACE
);
if
(
trace
==
null
||
trace
.
length
()
!=
2
)
trace
=
"00"
;
trace
=
new
StringBuilder
(
trace
).
append
(
botAccount
).
append
(
File
.
separator
).
toString
();
setSessionAttribute
(
BACK_TRACE
,
trace
);
setSessionAttribute
(
"botAcc"
,
botAccount
);
}
else
{
String
productName
=
ScheduleServiceNew
.
getProjectByBotAccount
(
botAccount
).
getName
();
PlayDocument
document
=
PlayUtils
.
getPlayDocument
(
productName
,
DplbotServiceUtil
.
getTheActorsWithWords
(
object
.
getJSONArray
(
"dialogs"
)),
dealAudioUrl
(
path
),
botAccount
);
RenderDocument
render
=
new
RenderDocument
(
document
);
addDirective
(
render
);
}
return
new
Response
();
}
private
Response
dealNoScreenIntentTemp
(
IntentRequest
intentRequest
,
String
userId
)
{
private
Response
dealNoScreenIntentTemp
(
IntentRequest
intentRequest
,
String
userId
)
{
String
intentName
=
getIntent
().
getName
();
String
intentName
=
getIntent
().
getName
();
if
(
"sendFlower"
.
equals
(
intentName
))
{
if
(
"sendFlower"
.
equals
(
intentName
))
{
...
@@ -449,13 +485,12 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -449,13 +485,12 @@ public class DplBotServiceBoth extends BaseBot {
return
new
Response
(
outputSpeech
);
return
new
Response
(
outputSpeech
);
}
else
if
(
"CONFIRMED"
.
equals
(
confirmationStatus
))
{
}
else
if
(
"CONFIRMED"
.
equals
(
confirmationStatus
))
{
log
.
info
(
"确认"
);
log
.
info
(
"确认"
);
int
unitPrice
=
Integer
.
parseInt
(
ScheduleService
.
FLOWER_UNIT_PRICE
);
int
unitPrice
=
Integer
.
parseInt
(
ScheduleService
New
.
FLOWER_UNIT_PRICE
);
String
amount
=
String
.
valueOf
(
unitPrice
*
Integer
.
parseInt
(
num
)/
100.0
);
String
amount
=
String
.
valueOf
(
unitPrice
*
Integer
.
parseInt
(
num
)/
100.0
);
String
orderId
=
userId
+
System
.
currentTimeMillis
();
String
orderId
=
userId
+
System
.
currentTimeMillis
();
String
appUserId
=
getSessionAttribute
(
"userId"
);
String
appUserId
=
getSessionAttribute
(
"userId"
);
if
(
appUserId
==
null
)
{
if
(
appUserId
==
null
)
{
if
(
channelId
==
null
)
appUserId
=
DplbotServiceUtil
.
getUserIdByToken
(
getAccessToken
(),
null
);
appUserId
=
DplbotServiceUtil
.
getUsUserId
(
userId
,
getAccessToken
(),
channelId
);
else
appUserId
=
DplbotServiceUtil
.
getUsUserId
(
userId
,
getAccessToken
(),
channelId
);
if
(
appUserId
==
null
)
{
if
(
appUserId
==
null
)
{
log
.
error
(
"送花时获取用户app_user_id失败"
);
log
.
error
(
"送花时获取用户app_user_id失败"
);
return
buildErrorResponse
(
"不好意思出了点问题,请再说一遍吧"
);
return
buildErrorResponse
(
"不好意思出了点问题,请再说一遍吧"
);
...
@@ -563,7 +598,6 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -563,7 +598,6 @@ public class DplBotServiceBoth extends BaseBot {
if
(
productDetail
==
null
)
{
if
(
productDetail
==
null
)
{
return
buildErrorResponse
(
"目前不支持该作品"
);
return
buildErrorResponse
(
"目前不支持该作品"
);
}
}
String
imgUrl
=
new
StringBuilder
(
Constants
.
IMG_PREFIX
).
append
(
productDetail
.
getBannerImgUrl
()).
toString
();
SimpleDateFormat
formatter
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
SimpleDateFormat
formatter
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
String
dateString
=
formatter
.
format
(
productDetail
.
getCreateTime
());
String
dateString
=
formatter
.
format
(
productDetail
.
getCreateTime
());
...
@@ -598,7 +632,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -598,7 +632,7 @@ public class DplBotServiceBoth extends BaseBot {
collectComId
=
new
StringBuilder
(
COLLEC_ID
).
append
(
productDetail
.
getBotAccount
()).
toString
();
collectComId
=
new
StringBuilder
(
COLLEC_ID
).
append
(
productDetail
.
getBotAccount
()).
toString
();
}
}
}
else
{
}
else
{
flowers
=
FLOWE
;
flowers
=
FLOWE
R
;
flowerReward
=
FLOWER_LOAD
;
flowerReward
=
FLOWER_LOAD
;
collectText
=
UN_COLLEC
;
collectText
=
UN_COLLEC
;
...
@@ -606,7 +640,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -606,7 +640,7 @@ public class DplBotServiceBoth extends BaseBot {
collectComId
=
FLOWER_LOAD
;
collectComId
=
FLOWER_LOAD
;
}
}
ProductInfoDocument
document
=
ProductInfoUtils
.
getProductINfoDocument
(
imgUrl
,
correctName
(
productName
),
time
,
author
,
labels
.
toString
(),
ProductInfoDocument
document
=
ProductInfoUtils
.
getProductINfoDocument
(
productDetail
.
getBannerImgUrl
()
,
correctName
(
productName
),
time
,
author
,
labels
.
toString
(),
intro
,
enterProName
,
flowerReward
,
flowers
,
collectComId
,
collectUrl
,
collectText
);
intro
,
enterProName
,
flowerReward
,
flowers
,
collectComId
,
collectUrl
,
collectText
);
RenderDocument
renderDocument
=
new
RenderDocument
(
document
);
RenderDocument
renderDocument
=
new
RenderDocument
(
document
);
...
@@ -757,10 +791,12 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -757,10 +791,12 @@ public class DplBotServiceBoth extends BaseBot {
// log.warn("用户退出向中控发出退出指令出错");
// log.warn("用户退出向中控发出退出指令出错");
// }
// }
return
new
Response
(
outputSpeech
);
return
new
Response
(
outputSpeech
);
}
else
{
String
byeWord
=
EndMsg
.
END_BYE_JIAOYOU
;
OutputSpeech
outputSpeech
=
new
OutputSpeech
(
OutputSpeech
.
SpeechType
.
PlainText
,
byeWord
);
RequestTerminal
.
backRequest
(
getUserId
(),
type
);
return
new
Response
(
outputSpeech
);
}
}
DplbotServiceUtil
.
writeTheUserHistoryInData
(
getUserId
());
// LAST_OUTTIME_RESULT.remove(getUserId());
return
new
Response
();
}
}
private
void
dealWithError
(
SessionEndedRequest
request
)
{
private
void
dealWithError
(
SessionEndedRequest
request
)
{
...
@@ -978,7 +1014,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -978,7 +1014,7 @@ public class DplBotServiceBoth extends BaseBot {
ListCard
listCard
=
new
ListCard
();
ListCard
listCard
=
new
ListCard
();
for
(
String
actor:
actors
)
{
for
(
String
actor:
actors
)
{
StandardCardInfo
cardInfo
=
new
StandardCardInfo
(
actor
,
actorWord
[
i
++].
replaceAll
(
"<br>"
,
"\n"
));
StandardCardInfo
cardInfo
=
new
StandardCardInfo
(
actor
,
actorWord
[
i
++].
replaceAll
(
"<br>"
,
"\n"
));
cardInfo
.
setImage
(
ScheduleService
.
getAsideImgUrl
(
botAccount
,
actor
));
cardInfo
.
setImage
(
ScheduleService
New
.
getAsideImgUrl
(
botAccount
,
actor
));
listCard
.
getList
().
add
(
cardInfo
);
listCard
.
getList
().
add
(
cardInfo
);
}
}
// content = buildText(content);
// content = buildText(content);
...
@@ -1007,8 +1043,6 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1007,8 +1043,6 @@ public class DplBotServiceBoth extends BaseBot {
private
void
backToBotIntro
(
String
botAccount
,
String
channelId
)
{
private
void
backToBotIntro
(
String
botAccount
,
String
channelId
)
{
ProjectData
data
=
ScheduleServiceNew
.
getProjectByBotAccount
(
botAccount
);
ProjectData
data
=
ScheduleServiceNew
.
getProjectByBotAccount
(
botAccount
);
// product picture
String
imgUrl
=
new
StringBuilder
(
Constants
.
IMG_PREFIX
).
append
(
data
.
getBannerImgUrl
()).
toString
();
// product name
// product name
String
productName
=
correctName
(
data
.
getName
());
String
productName
=
correctName
(
data
.
getName
());
...
@@ -1063,7 +1097,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1063,7 +1097,7 @@ public class DplBotServiceBoth extends BaseBot {
collectComId
=
FLOWER_LOAD
;
// 提示登录
collectComId
=
FLOWER_LOAD
;
// 提示登录
}
}
ProductInfoDocument
document
=
ProductInfoUtils
.
getProductINfoDocument
(
imgUrl
,
correctName
(
productName
),
createTime
,
author
,
labels
.
toString
(),
ProductInfoDocument
document
=
ProductInfoUtils
.
getProductINfoDocument
(
data
.
getBannerImgUrl
()
,
correctName
(
productName
),
createTime
,
author
,
labels
.
toString
(),
intro
,
enterProName
,
flowerReward
,
flowers
,
collectComId
,
collectUrl
,
collectText
);
intro
,
enterProName
,
flowerReward
,
flowers
,
collectComId
,
collectUrl
,
collectText
);
RenderDocument
renderDocument
=
new
RenderDocument
(
document
);
RenderDocument
renderDocument
=
new
RenderDocument
(
document
);
this
.
addDirective
(
renderDocument
);
this
.
addDirective
(
renderDocument
);
...
@@ -1086,8 +1120,8 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1086,8 +1120,8 @@ public class DplBotServiceBoth extends BaseBot {
char
pageSign
=
trace
.
charAt
(
1
);
char
pageSign
=
trace
.
charAt
(
1
);
Response
response
;
Response
response
;
switch
(
pageSign
)
{
switch
(
pageSign
)
{
case
'1'
:
case
'1'
:
response
=
dealCollectHistoryJump
(
index
,
true
,
userId
,
channelId
);
break
;
case
'2'
:
response
=
dealCollectHistoryJump
(
index
,
tru
e
,
userId
,
channelId
);
break
;
case
'2'
:
response
=
dealCollectHistoryJump
(
index
,
fals
e
,
userId
,
channelId
);
break
;
case
'4'
:
response
=
dealRankJump
(
index
,
channelId
);
break
;
case
'4'
:
response
=
dealRankJump
(
index
,
channelId
);
break
;
case
'5'
:
response
=
dealCategoryJump
(
index
);
break
;
case
'5'
:
response
=
dealCategoryJump
(
index
);
break
;
default
:
response
=
buildErrorResponse
(
"该页面不支持跳转"
);
default
:
response
=
buildErrorResponse
(
"该页面不支持跳转"
);
...
@@ -1165,7 +1199,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1165,7 +1199,7 @@ public class DplBotServiceBoth extends BaseBot {
return
buildErrorResponse
(
"该功能需要登录,请说小度小度,登录"
);
return
buildErrorResponse
(
"该功能需要登录,请说小度小度,登录"
);
}
}
int
num
=
extractNum
(
numStr
);
int
num
=
extractNum
(
numStr
);
int
unitPrice
=
Integer
.
parseInt
(
ScheduleService
.
FLOWER_UNIT_PRICE
);
int
unitPrice
=
Integer
.
parseInt
(
ScheduleService
New
.
FLOWER_UNIT_PRICE
);
String
amount
=
String
.
valueOf
(
unitPrice
*
num
/
100.0
);
String
amount
=
String
.
valueOf
(
unitPrice
*
num
/
100.0
);
String
orderId
=
userId
+
System
.
currentTimeMillis
();
String
orderId
=
userId
+
System
.
currentTimeMillis
();
String
appUserId
=
getSessionAttribute
(
"userId"
);
String
appUserId
=
getSessionAttribute
(
"userId"
);
...
@@ -1308,12 +1342,17 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1308,12 +1342,17 @@ public class DplBotServiceBoth extends BaseBot {
}
}
setSessionAttribute
(
BACK_TRACE
,
"03"
);
setSessionAttribute
(
BACK_TRACE
,
"03"
);
detail
.
getAttributes
().
put
(
BACK_TRACE
,
"03"
);
detail
.
getAttributes
().
put
(
BACK_TRACE
,
"03"
);
LAST_OUTTIME_RESULT
.
put
(
userId
,
detail
);
//
LAST_OUTTIME_RESULT.put(userId, detail);
}
}
private
Response
dealHistoryIntent
(
String
channelId
)
{
private
Response
dealHistoryIntent
(
String
channelId
)
{
CollectHistoryDocument
document
=
DplbotServiceUtil
.
getHistory
(
getUserId
(),
getAccessToken
(),
CollectHistoryDocument
document
=
null
;
getSessionAttribute
(
"userId"
),
0
,
channelId
);
try
{
document
=
DplbotServiceUtil
.
getHistory
(
getUserId
(),
getAccessToken
(),
getSessionAttribute
(
"userId"
),
0
,
channelId
);
}
catch
(
Exception
e
)
{
log
.
error
(
ExceptionUtils
.
getStackTrace
(
e
));
}
if
(
document
==
null
)
{
if
(
document
==
null
)
{
return
buildErrorResponse
(
"没有更多了"
);
return
buildErrorResponse
(
"没有更多了"
);
}
}
...
@@ -1343,14 +1382,8 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1343,14 +1382,8 @@ public class DplBotServiceBoth extends BaseBot {
int
start
=
count
*
CO_HI_PAGE_SIZE
;
int
start
=
count
*
CO_HI_PAGE_SIZE
;
String
jytUserId
=
getSessionAttribute
(
"userId"
);
String
jytUserId
=
getSessionAttribute
(
"userId"
);
if
(
StringUtils
.
isBlank
(
jytUserId
))
{
if
(
StringUtils
.
isBlank
(
jytUserId
))
{
UserBehaviorData
data
=
USER_HISTORY
.
get
(
userId
);
jytUserId
=
DplbotServiceUtil
.
getUsUserId
(
userId
,
getAccessToken
(),
channelId
);
if
(
data
!=
null
)
{
setSessionAttribute
(
"userId"
,
jytUserId
);
jytUserId
=
data
.
getJytUserId
();
if
(
StringUtils
.
isBlank
(
jytUserId
))
{
jytUserId
=
DplbotServiceUtil
.
getUserIdByToken
(
getAccessToken
(),
null
);
data
.
setJytUserId
(
jytUserId
);
}
}
}
}
CollectHistoryDocument
document
=
DplbotServiceUtil
.
getCollectPage
(
userId
,
getAccessToken
(),
CollectHistoryDocument
document
=
DplbotServiceUtil
.
getCollectPage
(
userId
,
getAccessToken
(),
jytUserId
,
start
,
channelId
);
jytUserId
,
start
,
channelId
);
...
@@ -1449,17 +1482,11 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1449,17 +1482,11 @@ public class DplBotServiceBoth extends BaseBot {
int
start
=
(
count
-
2
)*
CO_HI_PAGE_SIZE
;
int
start
=
(
count
-
2
)*
CO_HI_PAGE_SIZE
;
String
jytUserId
=
getSessionAttribute
(
"userId"
);
String
jytUserId
=
getSessionAttribute
(
"userId"
);
if
(
StringUtils
.
isBlank
(
jytUserId
))
{
if
(
StringUtils
.
isBlank
(
jytUserId
))
{
UserBehaviorData
data
=
USER_HISTORY
.
get
(
userId
);
jytUserId
=
DplbotServiceUtil
.
getUsUserId
(
userId
,
getAccessToken
(),
channelId
);
if
(
data
!=
null
)
{
setSessionAttribute
(
"userId"
,
jytUserId
);
jytUserId
=
data
.
getJytUserId
();
if
(
StringUtils
.
isBlank
(
jytUserId
))
{
jytUserId
=
DplbotServiceUtil
.
getUserIdByToken
(
getAccessToken
(),
null
);
data
.
setJytUserId
(
jytUserId
);
}
}
}
}
CollectHistoryDocument
document
=
DplbotServiceUtil
.
getCollectPage
(
userId
,
getAccessToken
(),
CollectHistoryDocument
document
=
DplbotServiceUtil
.
getCollectPage
(
userId
,
getAccessToken
(),
getSessionAttribute
(
"userId"
)
,
start
,
channelId
);
jytUserId
,
start
,
channelId
);
if
(
document
!=
null
)
{
if
(
document
!=
null
)
{
RenderDocument
render
=
new
RenderDocument
(
document
);
RenderDocument
render
=
new
RenderDocument
(
document
);
addDirective
(
render
);
addDirective
(
render
);
...
@@ -1544,7 +1571,8 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1544,7 +1571,8 @@ public class DplBotServiceBoth extends BaseBot {
private
Response
dealOpenNumIntent
(
String
numStr
,
String
channelId
)
{
private
Response
dealOpenNumIntent
(
String
numStr
,
String
channelId
)
{
String
trace
=
getSessionAttribute
(
"trace"
);
String
trace
=
getSessionAttribute
(
"trace"
);
int
num
=
extractNum
(
numStr
.
replaceAll
(
" "
,
""
));
int
num
=
extractNum
(
numStr
);
log
.
info
(
"dealOpenNumIntent num:"
+
num
);
if
(
trace
==
null
||
trace
.
charAt
(
1
)
==
'0'
)
{
if
(
trace
==
null
||
trace
.
charAt
(
1
)
==
'0'
)
{
return
dealOpenNumInHome
(
num
);
return
dealOpenNumInHome
(
num
);
}
else
if
(
trace
.
length
()
>
2
)
{
}
else
if
(
trace
.
length
()
>
2
)
{
...
@@ -1567,6 +1595,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1567,6 +1595,7 @@ public class DplBotServiceBoth extends BaseBot {
}
}
private
Integer
extractNum
(
String
numStr
)
{
private
Integer
extractNum
(
String
numStr
)
{
numStr
=
numStr
.
replaceAll
(
"[ \uD83C\uDD70\uD83C\uDD71]"
,
""
);
int
num
;
int
num
;
try
{
try
{
num
=
Integer
.
parseInt
(
numStr
);
num
=
Integer
.
parseInt
(
numStr
);
...
@@ -1593,8 +1622,9 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1593,8 +1622,9 @@ public class DplBotServiceBoth extends BaseBot {
}
else
{
}
else
{
String
jytId
=
getSessionAttribute
(
"userId"
);
String
jytId
=
getSessionAttribute
(
"userId"
);
if
(
StringUtils
.
isBlank
(
jytId
))
{
if
(
StringUtils
.
isBlank
(
jytId
))
{
jytId
=
DplbotServiceUtil
.
getUs
erIdByToken
(
getAccessToken
(),
null
);
jytId
=
DplbotServiceUtil
.
getUs
UserId
(
getUserId
(),
getAccessToken
(),
channelId
);
if
(
StringUtils
.
isBlank
(
jytId
))
return
buildErrorResponse
(
"不好意思没有获取到您的收藏记录"
);
if
(
StringUtils
.
isBlank
(
jytId
))
return
buildErrorResponse
(
"不好意思没有获取到您的收藏记录"
);
setSessionAttribute
(
"userId"
,
jytId
);
}
}
CollectHistoryDocument
document
=
DplbotServiceUtil
.
getCollectPage
(
getUserId
(),
getAccessToken
(),
jytId
,
0
,
channelId
);
CollectHistoryDocument
document
=
DplbotServiceUtil
.
getCollectPage
(
getUserId
(),
getAccessToken
(),
jytId
,
0
,
channelId
);
if
(
document
==
null
)
{
if
(
document
==
null
)
{
...
@@ -1757,6 +1787,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1757,6 +1787,7 @@ public class DplBotServiceBoth extends BaseBot {
if
(
StringUtils
.
isBlank
(
data
))
{
if
(
StringUtils
.
isBlank
(
data
))
{
return
buildErrorResponse
(
SORRY_UNCATCH
);
return
buildErrorResponse
(
SORRY_UNCATCH
);
}
}
log
.
info
(
"小悟返回:"
+
data
);
JSONObject
object
=
JSON
.
parseObject
(
data
);
JSONObject
object
=
JSON
.
parseObject
(
data
);
try
{
try
{
JSONArray
commands
=
object
.
getJSONArray
(
"commands"
);
JSONArray
commands
=
object
.
getJSONArray
(
"commands"
);
...
@@ -1923,6 +1954,8 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -1923,6 +1954,8 @@ public class DplBotServiceBoth extends BaseBot {
RenderDocument
render
=
new
RenderDocument
(
document
);
RenderDocument
render
=
new
RenderDocument
(
document
);
addDirective
(
render
);
addDirective
(
render
);
}
}
stringRedisTemplate
.
opsForValue
().
setIfPresent
(
SpiritRedisService
.
PREFIX_REDIS
+
userId
,
new
StringBuilder
(
data
).
append
(
"⧩"
).
append
(
path
).
toString
(),
10
,
TimeUnit
.
SECONDS
);
return
new
Response
();
return
new
Response
();
}
}
...
@@ -2030,8 +2063,6 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -2030,8 +2063,6 @@ public class DplBotServiceBoth extends BaseBot {
private
Response
enterProductInfo
(
String
productName
,
String
channelId
)
{
private
Response
enterProductInfo
(
String
productName
,
String
channelId
)
{
ProjectData
productDetail
=
ScheduleServiceNew
.
getProjectByName
(
productName
);
ProjectData
productDetail
=
ScheduleServiceNew
.
getProjectByName
(
productName
);
// product picture
String
imgUrl
=
new
StringBuilder
(
Constants
.
IMG_PREFIX
).
append
(
productDetail
.
getBannerImgUrl
()).
toString
();
// product create time
// product create time
SimpleDateFormat
formatter
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
SimpleDateFormat
formatter
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
...
@@ -2083,7 +2114,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -2083,7 +2114,7 @@ public class DplBotServiceBoth extends BaseBot {
collectComId
=
FLOWER_LOAD
;
// 提示登录
collectComId
=
FLOWER_LOAD
;
// 提示登录
}
}
ProductInfoDocument
document
=
ProductInfoUtils
.
getProductINfoDocument
(
imgUrl
,
correctName
(
productName
),
createTime
,
author
,
labels
.
toString
(),
ProductInfoDocument
document
=
ProductInfoUtils
.
getProductINfoDocument
(
productDetail
.
getBannerImgUrl
()
,
correctName
(
productName
),
createTime
,
author
,
labels
.
toString
(),
intro
,
enterProName
,
flowerReward
,
flowers
,
collectComId
,
collectUrl
,
collectText
);
intro
,
enterProName
,
flowerReward
,
flowers
,
collectComId
,
collectUrl
,
collectText
);
RenderDocument
renderDocument
=
new
RenderDocument
(
document
);
RenderDocument
renderDocument
=
new
RenderDocument
(
document
);
...
@@ -2158,7 +2189,7 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -2158,7 +2189,7 @@ public class DplBotServiceBoth extends BaseBot {
final
String
botAccount
=
token
.
substring
(
0
,
sepIndex
);
final
String
botAccount
=
token
.
substring
(
0
,
sepIndex
);
String
str
=
"恭喜您支付成功,开始体验吧"
;
String
str
=
"恭喜您支付成功,开始体验吧"
;
if
(
getRequest
().
getContext
().
getScreen
()
!=
null
)
{
if
(
getRequest
().
getContext
().
getScreen
()
!=
null
)
{
boolean
response
=
DplbotServiceUtil
.
dealChargeCallback
(
chargeEvent
,
custom
UserId
(),
getAccessToken
(),
boolean
response
=
DplbotServiceUtil
.
dealChargeCallback
(
chargeEvent
,
get
UserId
(),
getAccessToken
(),
getSessionAttribute
(
"userId"
),
PRODUCT_ID_DETAIL
.
get
(
botAccount
).
getName
(),
"xiaodu_screen"
);
getSessionAttribute
(
"userId"
),
PRODUCT_ID_DETAIL
.
get
(
botAccount
).
getName
(),
"xiaodu_screen"
);
if
(
response
)
{
if
(
response
)
{
Map
<
String
,
Long
>
flowerRecords
=
USER_HISTORY
.
get
(
getUserId
()).
getUserBotId2Flowers
();
Map
<
String
,
Long
>
flowerRecords
=
USER_HISTORY
.
get
(
getUserId
()).
getUserBotId2Flowers
();
...
@@ -2214,8 +2245,10 @@ public class DplBotServiceBoth extends BaseBot {
...
@@ -2214,8 +2245,10 @@ public class DplBotServiceBoth extends BaseBot {
@Override
@Override
protected
Response
onPlaybackStartedEvent
(
PlaybackStartedEvent
playbackStartedEvent
)
{
protected
Response
onPlaybackStartedEvent
(
PlaybackStartedEvent
playbackStartedEvent
)
{
// setSessionAttribute("botAcc",getSessionAttribute("botAcc"));
// setSessionAttribute("botAcc",getSessionAttribute("botAcc"));
Boolean
result
=
stringRedisTemplate
.
delete
(
SpiritRedisService
.
PREFIX_REDIS
+
customUserId
());
if
(
getRequest
().
getContext
().
getScreen
()
==
null
)
{
log
.
info
(
"音频播放事件删除:"
+
result
);
Boolean
result
=
stringRedisTemplate
.
delete
(
SpiritRedisService
.
PREFIX_REDIS
+
customUserId
());
log
.
info
(
"音频播放事件删除:"
+
result
);
}
waitAnswer
();
waitAnswer
();
return
new
Response
();
return
new
Response
();
}
}
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplbotServiceUtil.java
View file @
f5bb9486
...
@@ -4,20 +4,15 @@ import ai.qiwu.com.xiaoduhome.common.*;
...
@@ -4,20 +4,15 @@ import ai.qiwu.com.xiaoduhome.common.*;
import
ai.qiwu.com.xiaoduhome.common.temple.CollectHistoryDocument
;
import
ai.qiwu.com.xiaoduhome.common.temple.CollectHistoryDocument
;
import
ai.qiwu.com.xiaoduhome.common.temple.CollectHistoryUtils
;
import
ai.qiwu.com.xiaoduhome.common.temple.CollectHistoryUtils
;
import
ai.qiwu.com.xiaoduhome.entity.primary.AppFavoriteTB
;
import
ai.qiwu.com.xiaoduhome.entity.primary.AppFavoriteTB
;
import
ai.qiwu.com.xiaoduhome.entity.primary.AppFlowerTB
;
import
ai.qiwu.com.xiaoduhome.entity.primary.AppFlowerTBTiny
;
import
ai.qiwu.com.xiaoduhome.entity.primary.OnProductDetail
;
import
ai.qiwu.com.xiaoduhome.entity.primary.OnProductDetail
;
import
ai.qiwu.com.xiaoduhome.entity.secondary.XiaoDuHistoryBotIdTime
;
import
ai.qiwu.com.xiaoduhome.entity.secondary.XiaoDuHistoryBotIdTime
;
import
ai.qiwu.com.xiaoduhome.entity.secondary.XiaoDuHistoryTB
;
import
ai.qiwu.com.xiaoduhome.entity.secondary.XiaoDuOrderTB
;
import
ai.qiwu.com.xiaoduhome.entity.secondary.XiaoDuOrderTB
;
import
ai.qiwu.com.xiaoduhome.pojo.*
;
import
ai.qiwu.com.xiaoduhome.pojo.*
;
import
ai.qiwu.com.xiaoduhome.pojo.data.ProjectData
;
import
ai.qiwu.com.xiaoduhome.pojo.data.ProjectData
;
import
ai.qiwu.com.xiaoduhome.pojo.data.UpdateUserCollectData
;
import
ai.qiwu.com.xiaoduhome.pojo.pageData.HistoryData
;
import
ai.qiwu.com.xiaoduhome.pojo.pageData.HistoryData
;
import
ai.qiwu.com.xiaoduhome.repository.primary.AppFavoriteTBRepository
;
import
ai.qiwu.com.xiaoduhome.repository.primary.AppFavoriteTBRepository
;
import
ai.qiwu.com.xiaoduhome.repository.primary.AppFlowerTBRepository
;
import
ai.qiwu.com.xiaoduhome.repository.primary.AppFlowerTBTintRepository
;
import
ai.qiwu.com.xiaoduhome.repository.primary.AppFlowerTBTintRepository
;
import
ai.qiwu.com.xiaoduhome.repository.secondary.XiaoDuHistoryBotTimeRepository
;
import
ai.qiwu.com.xiaoduhome.repository.secondary.XiaoDuHistoryTBRepository
;
import
ai.qiwu.com.xiaoduhome.repository.secondary.XiaoDuOrderTbRepository
;
import
ai.qiwu.com.xiaoduhome.repository.secondary.XiaoDuOrderTbRepository
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
...
@@ -30,14 +25,13 @@ import org.apache.commons.lang3.ArrayUtils;
...
@@ -30,14 +25,13 @@ import org.apache.commons.lang3.ArrayUtils;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.exception.ExceptionUtils
;
import
org.apache.commons.lang3.exception.ExceptionUtils
;
import
org.apache.commons.lang3.math.NumberUtils
;
import
org.apache.commons.lang3.math.NumberUtils
;
import
org.springframework.data.domain.Example
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
java.io.File
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.InputStream
;
import
java.io.InputStreamReader
;
import
java.io.InputStreamReader
;
import
java.
sql.Timestamp
;
import
java.
net.URLEncoder
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
import
java.util.*
;
import
java.util.concurrent.ArrayBlockingQueue
;
import
java.util.concurrent.ArrayBlockingQueue
;
...
@@ -46,12 +40,11 @@ import java.util.concurrent.ThreadPoolExecutor;
...
@@ -46,12 +40,11 @@ import java.util.concurrent.ThreadPoolExecutor;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
java.util.regex.Matcher
;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
import
java.util.regex.Pattern
;
import
java.util.stream.Collectors
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
CO_HI_PAGE_SIZE
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
CO_HI_PAGE_SIZE
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
IMG_PREFIX
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
IMG_PREFIX
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
XIAOWU_API
.*;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
XIAOWU_API
.*;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
service
.
ScheduleService
.
curTime
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
service
.
ScheduleService
New
.
curTime
;
/**
/**
* @author 苗权威
* @author 苗权威
...
@@ -61,7 +54,7 @@ import static ai.qiwu.com.xiaoduhome.service.ScheduleService.curTime;
...
@@ -61,7 +54,7 @@ import static ai.qiwu.com.xiaoduhome.service.ScheduleService.curTime;
public
class
DplbotServiceUtil
{
public
class
DplbotServiceUtil
{
final
static
String
HOST_UTL
;
final
static
String
HOST_UTL
;
static
{
static
{
HOST_UTL
=
Config
.
getProperty
(
"requestHost"
,
"http://didi-gz
4
.jiaoyou365.com:18082/"
);
HOST_UTL
=
Config
.
getProperty
(
"requestHost"
,
"http://didi-gz
5
.jiaoyou365.com:18082/"
);
log
.
info
(
"hostUrl:"
+
HOST_UTL
);
log
.
info
(
"hostUrl:"
+
HOST_UTL
);
}
}
private
static
final
int
CORE
=
Runtime
.
getRuntime
().
availableProcessors
();
private
static
final
int
CORE
=
Runtime
.
getRuntime
().
availableProcessors
();
...
@@ -146,10 +139,10 @@ public class DplbotServiceUtil {
...
@@ -146,10 +139,10 @@ public class DplbotServiceUtil {
static
void
onLunchFillUserBehaviorData
(
final
String
userId
,
final
String
channelId
,
final
String
jytUserId
)
{
static
void
onLunchFillUserBehaviorData
(
final
String
userId
,
final
String
channelId
,
final
String
jytUserId
)
{
POOL
.
submit
(()
->
{
POOL
.
submit
(()
->
{
Map
<
String
,
String
>
params
=
new
HashMap
<>();
params
.
put
(
"userId"
,
userId
);
params
.
put
(
"channelId"
,
channelId
);
try
{
try
{
Map
<
String
,
String
>
params
=
new
HashMap
<>();
params
.
put
(
"userId"
,
URLEncoder
.
encode
(
userId
,
"UTF-8"
));
params
.
put
(
"channelId"
,
channelId
);
String
response
=
OkHttp3Utils
.
doGet
(
HOST_UTL
+
"/audio_box/behavior"
,
params
);
String
response
=
OkHttp3Utils
.
doGet
(
HOST_UTL
+
"/audio_box/behavior"
,
params
);
if
(
StringUtils
.
isNotBlank
(
response
))
{
if
(
StringUtils
.
isNotBlank
(
response
))
{
JSONObject
result
=
JSON
.
parseObject
(
response
);
JSONObject
result
=
JSON
.
parseObject
(
response
);
...
@@ -163,6 +156,7 @@ public class DplbotServiceUtil {
...
@@ -163,6 +156,7 @@ public class DplbotServiceUtil {
if
(!
CollectionUtils
.
isEmpty
(
botAccount2FavoriteTime
))
data
.
setUserBotId2Collected
(
botAccount2FavoriteTime
);
if
(!
CollectionUtils
.
isEmpty
(
botAccount2FavoriteTime
))
data
.
setUserBotId2Collected
(
botAccount2FavoriteTime
);
if
(!
CollectionUtils
.
isEmpty
(
botAccount2Flowers
))
data
.
setUserBotId2Flowers
(
botAccount2Flowers
);
if
(!
CollectionUtils
.
isEmpty
(
botAccount2Flowers
))
data
.
setUserBotId2Flowers
(
botAccount2Flowers
);
data
.
setJytUserId
(
jytUserId
);
data
.
setJytUserId
(
jytUserId
);
data
.
setChannel
(
channelId
);
USER_HISTORY
.
put
(
userId
,
data
);
USER_HISTORY
.
put
(
userId
,
data
);
}
}
}
}
...
@@ -191,6 +185,7 @@ public class DplbotServiceUtil {
...
@@ -191,6 +185,7 @@ public class DplbotServiceUtil {
if
(!
CollectionUtils
.
isEmpty
(
botAccount2FavoriteTime
))
data
.
setUserBotId2Collected
(
botAccount2FavoriteTime
);
if
(!
CollectionUtils
.
isEmpty
(
botAccount2FavoriteTime
))
data
.
setUserBotId2Collected
(
botAccount2FavoriteTime
);
if
(!
CollectionUtils
.
isEmpty
(
botAccount2Flowers
))
data
.
setUserBotId2Flowers
(
botAccount2Flowers
);
if
(!
CollectionUtils
.
isEmpty
(
botAccount2Flowers
))
data
.
setUserBotId2Flowers
(
botAccount2Flowers
);
data
.
setJytUserId
(
jytUserId
);
data
.
setJytUserId
(
jytUserId
);
data
.
setChannel
(
channelId
);
USER_HISTORY
.
put
(
userId
,
data
);
USER_HISTORY
.
put
(
userId
,
data
);
return
data
;
return
data
;
}
}
...
@@ -295,7 +290,7 @@ public class DplbotServiceUtil {
...
@@ -295,7 +290,7 @@ public class DplbotServiceUtil {
}
}
static
Charge
sendOneFlowerByCharge
(
String
userId
,
String
jytUserId
,
String
accessToken
,
String
trace
,
String
channelId
)
{
static
Charge
sendOneFlowerByCharge
(
String
userId
,
String
jytUserId
,
String
accessToken
,
String
trace
,
String
channelId
)
{
String
price
=
ScheduleService
.
FLOWER_UNIT_PRICE
;
String
price
=
ScheduleService
New
.
FLOWER_UNIT_PRICE
;
int
unitPrice
=
Integer
.
parseInt
(
price
);
int
unitPrice
=
Integer
.
parseInt
(
price
);
String
amount
=
String
.
valueOf
(
unitPrice
/
100.0
);
String
amount
=
String
.
valueOf
(
unitPrice
/
100.0
);
String
orderId
=
new
StringBuilder
(
userId
).
append
(
"_"
).
append
(
System
.
currentTimeMillis
()).
toString
();
String
orderId
=
new
StringBuilder
(
userId
).
append
(
"_"
).
append
(
System
.
currentTimeMillis
()).
toString
();
...
@@ -315,7 +310,7 @@ public class DplbotServiceUtil {
...
@@ -315,7 +310,7 @@ public class DplbotServiceUtil {
if
(
response
!=
null
&&
response
.
getId
()
!=
null
)
{
if
(
response
!=
null
&&
response
.
getId
()
!=
null
)
{
String
desc
=
new
StringBuilder
(
"感谢您赏赐给该作品的"
).
append
(
1
).
append
(
"朵鲜花"
).
toString
();
String
desc
=
new
StringBuilder
(
"感谢您赏赐给该作品的"
).
append
(
1
).
append
(
"朵鲜花"
).
toString
();
String
name
=
ScheduleService
.
PRODUCT_ID_DETAIL
.
ge
t
(
botId
).
getName
();
String
name
=
ScheduleService
New
.
getProjectByBotAccoun
t
(
botId
).
getName
();
if
(
name
!=
null
)
desc
=
new
StringBuilder
(
"感谢您赏赐给"
).
append
(
name
)
if
(
name
!=
null
)
desc
=
new
StringBuilder
(
"感谢您赏赐给"
).
append
(
name
)
.
append
(
"的"
).
append
(
1
).
append
(
"朵鲜花"
).
toString
();
.
append
(
"的"
).
append
(
1
).
append
(
"朵鲜花"
).
toString
();
Charge
charge
=
new
Charge
(
amount
,
orderId
,
"鲜花"
,
desc
);
Charge
charge
=
new
Charge
(
amount
,
orderId
,
"鲜花"
,
desc
);
...
@@ -368,28 +363,19 @@ public class DplbotServiceUtil {
...
@@ -368,28 +363,19 @@ public class DplbotServiceUtil {
});
});
}
}
static
void
writeTheUserHistoryInData
(
final
String
userId
)
{
static
void
updateTheUserCollectData
(
final
String
userId
,
String
channelId
)
{
POOL
.
submit
(()
->
{
UserBehaviorData
data
=
USER_HISTORY
.
remove
(
userId
);
UserBehaviorData
data
=
USER_HISTORY
.
remove
(
userId
);
if
(
data
!=
null
)
{
if
(
data
!=
null
)
{
try
{
XiaoDuHistoryTBRepository
repository
=
BaseHolder
.
getBean
(
"xiaoDuHistoryTBRepository"
);
UpdateUserCollectData
collectData
=
new
UpdateUserCollectData
();
for
(
Map
.
Entry
<
String
,
Long
>
entry:
data
.
getUserBotId2History
().
entrySet
())
{
collectData
.
setChannel
(
channelId
);
String
botId
=
entry
.
getKey
();
collectData
.
setUserId
(
URLEncoder
.
encode
(
userId
,
"UTF-8"
));
Long
time
=
entry
.
getValue
();
collectData
.
setCollectInfo
(
data
.
getUserBotId2Collected
());
XiaoDuHistoryTB
historyTB
=
repository
.
getByXiaoduUserIdAndBotId
(
userId
,
botId
);
OkHttp3Utils
.
doPutAsy
(
HOST_UTL
+
"audio_box/update"
,
JSON
.
toJSONString
(
collectData
));
if
(
historyTB
==
null
)
{
}
catch
(
Exception
e
)
{
historyTB
=
new
XiaoDuHistoryTB
();
log
.
warn
(
"更新历史记录信息出错:"
+
userId
);
historyTB
.
setLastTime
(
time
);
historyTB
.
setBotId
(
botId
);
historyTB
.
setXiaoduUserId
(
userId
);
}
else
{
if
(
historyTB
.
getLastTime
().
equals
(
time
))
continue
;
historyTB
.
setLastTime
(
time
);
}
repository
.
save
(
historyTB
);
}
}
}
}
);
}
}
}
static
boolean
dealChargeCallback
(
ChargeEvent
chargeEvent
,
final
String
userId
,
final
String
accessToken
,
static
boolean
dealChargeCallback
(
ChargeEvent
chargeEvent
,
final
String
userId
,
final
String
accessToken
,
...
@@ -565,20 +551,19 @@ public class DplbotServiceUtil {
...
@@ -565,20 +551,19 @@ public class DplbotServiceUtil {
for
(
XiaoDuHistoryBotIdTime
historyInfo:
historyProducts
)
{
for
(
XiaoDuHistoryBotIdTime
historyInfo:
historyProducts
)
{
String
botAccount
=
historyInfo
.
getBotId
();
String
botAccount
=
historyInfo
.
getBotId
();
build
.
append
(
botAccount
).
append
(
File
.
separator
);
build
.
append
(
botAccount
).
append
(
File
.
separator
);
OnProductDetail
productDetail
=
ScheduleService
.
getProductIdDetail
().
ge
t
(
botAccount
);
ProjectData
productDetail
=
ScheduleServiceNew
.
getProjectByBotAccoun
t
(
botAccount
);
String
intro
=
productDetail
.
getIntro
();
String
intro
=
productDetail
.
getIntro
();
if
(
StringUtils
.
isBlank
(
intro
))
intro
=
"作者太懒没写介绍"
;
if
(
StringUtils
.
isBlank
(
intro
))
intro
=
"作者太懒没写介绍"
;
String
imgUrl
=
new
StringBuilder
(
IMG_PREFIX
).
append
(
productDetail
.
getBannerImgUrl
()).
toString
();
String
botAccountId
=
new
StringBuilder
(
Constants
.
PRE_ENTER_PRODUCT
).
append
(
correctName
(
productDetail
.
getName
())).
toString
();
String
botAccountId
=
new
StringBuilder
(
Constants
.
PRE_ENTER_PRODUCT
).
append
(
correctName
(
productDetail
.
getName
())).
toString
();
String
lastTime
=
sdf
.
format
(
new
java
.
sql
.
Date
(
historyInfo
.
getLastTime
()));
String
lastTime
=
sdf
.
format
(
new
java
.
sql
.
Date
(
historyInfo
.
getLastTime
()));
String
name
=
productDetail
.
getName
();
String
name
=
productDetail
.
getName
();
HistoryData
data
=
new
HistoryData
(
botAccountId
,
i
++,
imgUrl
,
correctName
(
name
),
intro
);
HistoryData
data
=
new
HistoryData
(
botAccountId
,
i
++,
productDetail
.
getBannerImgUrl
()
,
correctName
(
name
),
intro
);
data
.
setAuthorName
(
lastTime
);
data
.
setAuthorName
(
lastTime
);
projectInfoList
.
add
(
data
);
projectInfoList
.
add
(
data
);
}
}
CollectHistoryDocument
document
=
CollectHistoryUtils
.
getDocument
(
projectInfoList
,
false
,
CollectHistoryDocument
document
=
CollectHistoryUtils
.
getDocument
(
projectInfoList
,
false
,
start
/
CO_HI_PAGE_SIZE
+
1
,
pageNum
);
start
,
pageNum
);
String
idToken
;
String
idToken
;
if
(
build
.
length
()
!=
0
)
{
if
(
build
.
length
()
!=
0
)
{
build
.
deleteCharAt
(
build
.
length
()-
1
);
build
.
deleteCharAt
(
build
.
length
()-
1
);
...
@@ -616,7 +601,7 @@ public class DplbotServiceUtil {
...
@@ -616,7 +601,7 @@ public class DplbotServiceUtil {
job
=
(
JSONObject
)
ob
;
job
=
(
JSONObject
)
ob
;
aw
=
new
ActorWithWord
();
aw
=
new
ActorWithWord
();
aw
.
setActor
(
job
.
getString
(
"npcName"
));
aw
.
setActor
(
job
.
getString
(
"npcName"
));
aw
.
setText
(
job
.
getString
(
"text"
));
aw
.
setText
(
job
.
getString
(
"text"
)
.
replaceAll
(
"\\{/.*?/}|\uD83C\uDD70|\uD83C\uDD71"
,
""
)
);
list
.
add
(
aw
);
list
.
add
(
aw
);
}
}
return
list
;
return
list
;
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java
View file @
f5bb9486
...
@@ -43,7 +43,7 @@ import static ai.qiwu.com.xiaoduhome.common.Constants.XIAOWU_API.ASIDE_IMG_URL;
...
@@ -43,7 +43,7 @@ import static ai.qiwu.com.xiaoduhome.common.Constants.XIAOWU_API.ASIDE_IMG_URL;
* @dateTime 19-8-14 下午8:56
* @dateTime 19-8-14 下午8:56
*/
*/
@Slf4j
@Slf4j
@Component
//
@Component
public
class
ScheduleService
implements
InitializingBean
{
public
class
ScheduleService
implements
InitializingBean
{
private
static
volatile
int
allProductCount
;
private
static
volatile
int
allProductCount
;
private
static
volatile
int
rankPageSize
;
private
static
volatile
int
rankPageSize
;
...
@@ -54,7 +54,6 @@ public class ScheduleService implements InitializingBean {
...
@@ -54,7 +54,6 @@ public class ScheduleService implements InitializingBean {
static
volatile
HashMap
<
String
,
OnProductDetail
>
PRODUCT_NAME_DETAIL
=
new
HashMap
<>();
static
volatile
HashMap
<
String
,
OnProductDetail
>
PRODUCT_NAME_DETAIL
=
new
HashMap
<>();
static
volatile
HashMap
<
String
,
OnProductDetail
>
PRODUCT_ID_DETAIL
=
new
HashMap
<>();
static
volatile
HashMap
<
String
,
OnProductDetail
>
PRODUCT_ID_DETAIL
=
new
HashMap
<>();
private
static
volatile
HashMap
<
String
,
Map
<
String
,
String
>>
ASIDE_IMG
=
new
HashMap
<>();
private
static
final
List
<
String
>
EXCEPT_BOT_ACCOUNT
=
new
ArrayList
<>();
private
static
final
List
<
String
>
EXCEPT_BOT_ACCOUNT
=
new
ArrayList
<>();
static
final
String
[]
CATEGORY
=
{
"古风"
,
"儿童"
,
"科幻"
,
"占星"
,
"恋爱"
,
"灾难"
,
"架空"
,
"经营"
,
"冒险"
,
"武侠"
};
static
final
String
[]
CATEGORY
=
{
"古风"
,
"儿童"
,
"科幻"
,
"占星"
,
"恋爱"
,
"灾难"
,
"架空"
,
"经营"
,
"冒险"
,
"武侠"
};
...
@@ -72,10 +71,6 @@ public class ScheduleService implements InitializingBean {
...
@@ -72,10 +71,6 @@ public class ScheduleService implements InitializingBean {
private
final
XiaoDuOrderTbRepository
xiaoDuOrderTbRepository
;
private
final
XiaoDuOrderTbRepository
xiaoDuOrderTbRepository
;
static
final
String
FLOWER_UNIT_PRICE
=
Config
.
getProperty
(
"unitPrice"
,
UNIT_PRICE
);
static
volatile
Long
curTime
=
System
.
currentTimeMillis
();
public
static
volatile
Map
<
String
,
String
>
channelId2RecommendBotAcc
=
new
HashMap
<>();
public
static
volatile
Map
<
String
,
String
>
channelId2RecommendBotAcc
=
new
HashMap
<>();
public
static
volatile
Map
<
String
,
List
<
String
>>
channel2Bots
=
new
HashMap
<>();
public
static
volatile
Map
<
String
,
List
<
String
>>
channel2Bots
=
new
HashMap
<>();
...
@@ -134,28 +129,6 @@ public class ScheduleService implements InitializingBean {
...
@@ -134,28 +129,6 @@ public class ScheduleService implements InitializingBean {
//log.error("更新推荐页出错:{}", e.getMessage());
//log.error("更新推荐页出错:{}", e.getMessage());
}
}
@Scheduled
(
cron
=
"0 * */1 * * ?"
)
public
void
clearUserBehaviorData
()
{
DplbotServiceUtil
.
POOL
.
submit
(()
->
{
List
<
String
>
needClear
=
new
ArrayList
<>();
for
(
String
userId:
DplbotServiceUtil
.
USER_HISTORY
.
keySet
())
{
UserBehaviorData
data
=
DplbotServiceUtil
.
USER_HISTORY
.
get
(
userId
);
if
(
data
!=
null
)
{
if
(
data
.
getMark
()
==
1
)
data
.
setMark
((
byte
)
0
);
else
{
needClear
.
add
(
userId
);
}
}
}
for
(
String
userId:
needClear
)
DplbotServiceUtil
.
USER_HISTORY
.
remove
(
userId
);
});
}
@Scheduled
(
cron
=
"*/30 * * * * ?"
)
public
void
updateTheCurTime
()
{
DplbotServiceUtil
.
POOL
.
submit
(()
->
curTime
=
System
.
currentTimeMillis
());
}
// @Scheduled(cron = "0 0 19 * * ?")
// @Scheduled(cron = "0 0 19 * * ?")
public
void
initRankingList
()
{
public
void
initRankingList
()
{
new
Thread
(()
->
{
new
Thread
(()
->
{
...
@@ -310,26 +283,6 @@ public class ScheduleService implements InitializingBean {
...
@@ -310,26 +283,6 @@ public class ScheduleService implements InitializingBean {
log
.
info
(
"getChannelAllBots:"
+
jiaoyouChannel2Bots
);
log
.
info
(
"getChannelAllBots:"
+
jiaoyouChannel2Bots
);
}
}
private
void
getAsideImg
()
{
DplbotServiceUtil
.
getPOOL
().
submit
(()
->
{
List
<
String
>
botIds
=
gameProjectTbRepository
.
getAllOnTableProductIds
();
HashMap
<
String
,
Map
<
String
,
String
>>
ai
=
new
HashMap
<>();
for
(
String
botId:
botIds
)
{
try
{
HashMap
<
String
,
String
>
params
=
new
HashMap
<>();
params
.
put
(
"include"
,
"audioNpc"
);
params
.
put
(
"aipioneerUsername"
,
botId
);
String
str
=
OkHttp3Utils
.
doGet
(
ASIDE_IMG_URL
,
params
);
AsideImageResponse
response
=
JSON
.
parseObject
(
str
,
AsideImageResponse
.
class
);
ai
.
put
(
botId
,
response
.
getData
().
getNpcHeadImgUrl
());
}
catch
(
Exception
e
)
{
log
.
error
(
"定时获取头像出错:botId:{},{}"
,
botId
,
ScheduleService
.
getProductIdDetail
().
get
(
botId
).
getName
());
}
}
ASIDE_IMG
=
ai
;
});
}
@Override
@Override
public
void
afterPropertiesSet
()
throws
Exception
{
public
void
afterPropertiesSet
()
throws
Exception
{
initAllOnTableProductInfo
();
initAllOnTableProductInfo
();
...
@@ -339,7 +292,6 @@ public class ScheduleService implements InitializingBean {
...
@@ -339,7 +292,6 @@ public class ScheduleService implements InitializingBean {
deleteOverTimeHistory
();
deleteOverTimeHistory
();
deleteUnPayedOrder
();
deleteUnPayedOrder
();
// tian();
// tian();
getAsideImg
();
getAllChannelRecommendBotAccount
();
getAllChannelRecommendBotAccount
();
getChannelAllBots
();
getChannelAllBots
();
getJiaoYouChannelRecordBots
();
getJiaoYouChannelRecordBots
();
...
@@ -397,18 +349,6 @@ public class ScheduleService implements InitializingBean {
...
@@ -397,18 +349,6 @@ public class ScheduleService implements InitializingBean {
return
CATEGORY_PRODUCT_ID_LIST
;
return
CATEGORY_PRODUCT_ID_LIST
;
}
}
public
static
String
getAsideImgUrl
(
String
botId
,
String
name
)
{
String
url
;
Map
<
String
,
String
>
imgs
=
ASIDE_IMG
.
get
(
botId
);
if
(
imgs
==
null
)
{
url
=
DEFAULT_ASIDE_IMG_URL
;
}
else
{
url
=
imgs
.
get
(
name
);
}
if
(
url
==
null
)
url
=
DEFAULT_ASIDE_IMG_URL
;
return
url
;
}
public
static
int
getRankPageSize
()
{
public
static
int
getRankPageSize
()
{
return
rankPageSize
;
return
rankPageSize
;
}
}
...
...
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleServiceNew.java
View file @
f5bb9486
package
ai
.
qiwu
.
com
.
xiaoduhome
.
service
;
package
ai
.
qiwu
.
com
.
xiaoduhome
.
service
;
import
ai.qiwu.com.xiaoduhome.common.Config
;
import
ai.qiwu.com.xiaoduhome.common.OkHttp3Utils
;
import
ai.qiwu.com.xiaoduhome.common.OkHttp3Utils
;
import
ai.qiwu.com.xiaoduhome.pojo.UserBehaviorData
;
import
ai.qiwu.com.xiaoduhome.pojo.data.ProjectData
;
import
ai.qiwu.com.xiaoduhome.pojo.data.ProjectData
;
import
ai.qiwu.com.xiaoduhome.pojo.data.ProjectDataResult
;
import
ai.qiwu.com.xiaoduhome.pojo.playAside.AsideImageResponse
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.InitializingBean
;
import
org.springframework.beans.factory.InitializingBean
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
DPL_COMPONENT_ID
.
DEFAULT_ASIDE_IMG_URL
;
import
static
ai
.
qiwu
.
com
.
xiaoduhome
.
common
.
Constants
.
UNIT_PRICE
;
/**
/**
* @author 苗权威
* @author 苗权威
* @dateTime 20-1-15 下午8:24
* @dateTime 20-1-15 下午8:24
...
@@ -24,10 +31,16 @@ public class ScheduleServiceNew implements InitializingBean {
...
@@ -24,10 +31,16 @@ public class ScheduleServiceNew implements InitializingBean {
private
static
volatile
Map
<
String
,
ProjectData
>
botAccount2Project
=
new
HashMap
<>();
private
static
volatile
Map
<
String
,
ProjectData
>
botAccount2Project
=
new
HashMap
<>();
private
static
volatile
Map
<
String
,
ProjectData
>
name2Project
=
new
HashMap
<>();
private
static
volatile
Map
<
String
,
ProjectData
>
name2Project
=
new
HashMap
<>();
private
static
volatile
Map
<
String
,
Map
<
String
,
Long
>>
channel2BotAccountList
=
new
HashMap
<>();
private
static
volatile
Map
<
String
,
Map
<
String
,
Long
>>
channel2BotAccountList
=
new
HashMap
<>();
private
static
volatile
Map
<
String
,
Map
<
String
,
String
>>
ASIDE_IMG
=
new
HashMap
<>();
static
final
String
FLOWER_UNIT_PRICE
=
Config
.
getProperty
(
"unitPrice"
,
UNIT_PRICE
);
static
volatile
Long
curTime
=
System
.
currentTimeMillis
();
@Override
@Override
public
void
afterPropertiesSet
()
throws
Exception
{
public
void
afterPropertiesSet
()
throws
Exception
{
getAllProjects
();
getAllProjects
();
// buildLunchNewDocument
}
}
private
void
getAllProjects
()
{
private
void
getAllProjects
()
{
...
@@ -35,30 +48,63 @@ public class ScheduleServiceNew implements InitializingBean {
...
@@ -35,30 +48,63 @@ public class ScheduleServiceNew implements InitializingBean {
try
{
try
{
String
response
=
OkHttp3Utils
.
doGet
(
DplbotServiceUtil
.
HOST_UTL
+
"/audio_box/project"
);
String
response
=
OkHttp3Utils
.
doGet
(
DplbotServiceUtil
.
HOST_UTL
+
"/audio_box/project"
);
if
(
StringUtils
.
isNotBlank
(
response
))
{
if
(
StringUtils
.
isNotBlank
(
response
))
{
JSONObject
object
=
JSON
.
parseObject
(
response
);
ProjectDataResult
result
=
JSON
.
parseObject
(
response
,
ProjectDataResult
.
class
);
List
<
ProjectData
>
list
=
object
.
getObject
(
"bots"
,
List
.
class
);
if
(
new
Integer
(
1
).
equals
(
result
.
getCode
()))
{
Map
<
String
,
Map
<
String
,
Long
>>
map
=
object
.
getObject
(
"channelAcc"
,
Map
.
class
);
List
<
ProjectData
>
list
=
result
.
getData
().
getBots
();
if
(!
CollectionUtils
.
isEmpty
(
list
))
{
Map
<
String
,
Map
<
String
,
Long
>>
map
=
result
.
getData
().
getChannelAcc
();
final
Map
<
String
,
ProjectData
>
botAcc
=
new
HashMap
<>();
if
(!
CollectionUtils
.
isEmpty
(
list
))
{
final
Map
<
String
,
ProjectData
>
name
=
new
HashMap
<>();
final
Map
<
String
,
ProjectData
>
botAcc
=
new
HashMap
<>();
list
.
forEach
(
projectData
->
{
final
Map
<
String
,
ProjectData
>
name
=
new
HashMap
<>();
botAcc
.
put
(
projectData
.
getBotAccount
(),
projectData
);
list
.
forEach
(
projectData
->
{
name
.
put
(
projectData
.
getName
(),
projectData
);
botAcc
.
put
(
projectData
.
getBotAccount
(),
projectData
);
});
name
.
put
(
projectData
.
getName
(),
projectData
);
botAccount2Project
=
botAcc
;
});
name2Project
=
name
;
botAccount2Project
=
botAcc
;
allProjects
=
list
;
name2Project
=
name
;
}
allProjects
=
list
;
if
(!
CollectionUtils
.
isEmpty
(
map
))
{
}
channel2BotAccountList
=
map
;
if
(!
CollectionUtils
.
isEmpty
(
map
))
{
channel2BotAccountList
=
map
;
}
if
(!
CollectionUtils
.
isEmpty
(
result
.
getData
().
getHeadImg
()))
{
ASIDE_IMG
=
result
.
getData
().
getHeadImg
();
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
warn
(
"ScheduleServiceNew#getAllProjects获取所有作品信息失败:"
+
e
);
log
.
warn
(
"ScheduleServiceNew#getAllProjects获取所有作品信息失败:"
+
e
);
}
}
log
.
info
(
"botAccount2Project:"
+
botAccount2Project
.
size
());
log
.
info
(
"name2Project:"
+
name2Project
.
size
());
log
.
info
(
"allProjects:"
+
allProjects
.
size
());
log
.
info
(
"channel2BotAccountList:"
+
channel2BotAccountList
.
size
());
log
.
info
(
"ASIDE_IMG:"
+
ASIDE_IMG
.
size
());
}).
start
();
}).
start
();
}
}
@Scheduled
(
cron
=
"*/30 * * * * ?"
)
public
void
updateTheCurTime
()
{
curTime
=
System
.
currentTimeMillis
();
}
@Scheduled
(
cron
=
"0 * */1 * * ?"
)
public
void
clearUserBehaviorData
()
{
DplbotServiceUtil
.
POOL
.
submit
(()
->
{
List
<
String
>
needClear
=
new
ArrayList
<>();
for
(
String
userId:
DplbotServiceUtil
.
USER_HISTORY
.
keySet
())
{
UserBehaviorData
data
=
DplbotServiceUtil
.
USER_HISTORY
.
get
(
userId
);
if
(
data
!=
null
)
{
if
(
data
.
getMark
()
==
1
)
data
.
setMark
((
byte
)
0
);
else
{
needClear
.
add
(
userId
);
DplbotServiceUtil
.
updateTheUserCollectData
(
userId
,
data
.
getChannel
());
}
}
}
for
(
String
userId:
needClear
)
DplbotServiceUtil
.
USER_HISTORY
.
remove
(
userId
);
});
}
static
ProjectData
getProjectByName
(
String
name
)
{
static
ProjectData
getProjectByName
(
String
name
)
{
return
name2Project
.
get
(
name
);
return
name2Project
.
get
(
name
);
}
}
...
@@ -80,4 +126,16 @@ public class ScheduleServiceNew implements InitializingBean {
...
@@ -80,4 +126,16 @@ public class ScheduleServiceNew implements InitializingBean {
}
}
return
datas
;
return
datas
;
}
}
public
static
String
getAsideImgUrl
(
String
botId
,
String
name
)
{
String
url
;
Map
<
String
,
String
>
imgs
=
ASIDE_IMG
.
get
(
botId
);
if
(
imgs
==
null
)
{
url
=
DEFAULT_ASIDE_IMG_URL
;
}
else
{
url
=
imgs
.
get
(
name
);
}
if
(
url
==
null
)
url
=
DEFAULT_ASIDE_IMG_URL
;
return
url
;
}
}
}
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiTestService.java
View file @
f5bb9486
...
@@ -4,6 +4,7 @@ import ai.qiwu.com.xiaoduhome.common.Constants;
...
@@ -4,6 +4,7 @@ import ai.qiwu.com.xiaoduhome.common.Constants;
import
ai.qiwu.com.xiaoduhome.common.OkHttp3Utils
;
import
ai.qiwu.com.xiaoduhome.common.OkHttp3Utils
;
import
ai.qiwu.com.xiaoduhome.service.DplbotServiceUtil
;
import
ai.qiwu.com.xiaoduhome.service.DplbotServiceUtil
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleService
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleService
;
import
ai.qiwu.com.xiaoduhome.service.ScheduleServiceNew
;
import
ai.qiwu.com.xiaoduhome.xiaoai.common.RequestTerminal
;
import
ai.qiwu.com.xiaoduhome.xiaoai.common.RequestTerminal
;
import
ai.qiwu.com.xiaoduhome.xiaoai.common.RequestWordNullException
;
import
ai.qiwu.com.xiaoduhome.xiaoai.common.RequestWordNullException
;
import
ai.qiwu.com.xiaoduhome.xiaoai.common.Utils
;
import
ai.qiwu.com.xiaoduhome.xiaoai.common.Utils
;
...
@@ -166,7 +167,7 @@ public class XiaoAiTestService {
...
@@ -166,7 +167,7 @@ public class XiaoAiTestService {
prefix
=
"box"
+
i
;
prefix
=
"box"
+
i
;
job
=
(
JSONObject
)
ob
;
job
=
(
JSONObject
)
ob
;
actor
=
job
.
getString
(
"npcName"
);
actor
=
job
.
getString
(
"npcName"
);
actorUrl
=
ScheduleService
.
getAsideImgUrl
(
job
.
getString
(
"botAccount"
),
actor
);
actorUrl
=
ScheduleService
New
.
getAsideImgUrl
(
job
.
getString
(
"botAccount"
),
actor
);
text
=
job
.
getString
(
"text"
);
text
=
job
.
getString
(
"text"
);
if
(
StringUtils
.
isNotBlank
(
text
))
{
if
(
StringUtils
.
isNotBlank
(
text
))
{
text
=
text
.
replaceAll
(
"\\{/.*?/}|\uD83C\uDD70|\uD83C\uDD71"
,
""
);
text
=
text
.
replaceAll
(
"\\{/.*?/}|\uD83C\uDD70|\uD83C\uDD71"
,
""
);
...
...
xiaoduhome/src/main/resources/application.yml
View file @
f5bb9486
...
@@ -41,6 +41,8 @@ spring:
...
@@ -41,6 +41,8 @@ spring:
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
timeout
:
1000
timeout
:
1000
pid
:
file
:
/home/dc2-user/projects/audiobox/duai/app.pid
logging
:
logging
:
path
:
/home/dc2-user/projects/audiobox/duai/logs
path
:
/home/dc2-user/projects/audiobox/duai/logs
...
...
xiaoduhome/src/main/resources/static/json/firstPage.json
View file @
f5bb9486
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"componentId"
:
"loadingPage"
,
"componentId"
:
"loadingPage"
,
"top"
:
"0dp"
,
"top"
:
"0dp"
,
"left"
:
"0dp"
,
"left"
:
"0dp"
,
"src"
:
"https://didi-gz5.jiaoyou365.com/duai/image/Load
ing.pn
g"
,
"src"
:
"https://didi-gz5.jiaoyou365.com/duai/image/Load
New.jp
g"
,
"height"
:
"100%"
,
"height"
:
"100%"
,
"width"
:
"100%"
,
"width"
:
"100%"
,
"scale-type"
:
"fitXY"
,
"scale-type"
:
"fitXY"
,
...
...
xiaoduhome/src/main/resources/xiaodu.properties
View file @
f5bb9486
unitPrice
=
1
unitPrice
=
1
requestHost
=
http://didi-gz4.jiaoyou365.com:18082/
requestHost
=
http://didi-gz5.jiaoyou365.com:18082/
\ No newline at end of file
pidPath
=
/home/dc2-user/projects/audiobox/duai/app.pid
\ No newline at end of file
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