Commit c5c5851a by 苗权威

9.3

parent 0348618f
...@@ -3,32 +3,20 @@ ...@@ -3,32 +3,20 @@
<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/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$/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$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/FrameTemple.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/FrameTemple.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/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/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/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/funny/FunnyPageItemData.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPageItemData.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyUtil.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPojo.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPojo.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/rank/RankingDocument.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/rank/RankingDocument.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandDocument.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandDocument.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandPojo.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandPojo.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFavoriteTB.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFavoriteTB.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/Oauth2Controller.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/Oauth2Controller.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFlowerTB.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFlowerTB.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Data.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Data.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuHistoryTB.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuHistoryTB.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Item.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Item.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderIdTB.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderIdTB.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/GameProjectTbRepository.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/GameProjectTbRepository.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderTB.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderTB.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Event.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Event.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppFavoriteTBRepository.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppFavoriteTBRepository.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppFlowerTBRepository.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppFlowerTBRepository.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppUserTBRepository.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppUserTBRepository.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuHistoryTBRepository.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuHistoryTBRepository.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuOrderTBIdRepository.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuOrderTBIdRepository.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/DplBotService.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotService.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotService.java" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotService.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/resources/static/json/categoryPro.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/categoryPro.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funny.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funny.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funnyPageItem.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funnyPageItem.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/play.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/play.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/ranking.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/ranking.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/ranking.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/ranking.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json" beforeDir="false" afterPath="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json" afterDir="false" />
...@@ -77,42 +65,40 @@ ...@@ -77,42 +65,40 @@
<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/DplBotService.java"> <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="443"> <state relative-caret-position="374">
<caret line="1440" column="60" lean-forward="true" selection-start-line="1440" selection-start-column="60" selection-end-line="1440" selection-end-column="60" /> <caret line="488" column="14" lean-forward="true" selection-start-line="488" selection-start-column="14" selection-end-line="488" selection-end-column="14" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#6657#6659#0" /> <element signature="e#6694#6696#0" />
<element signature="e#88306#88380#0" />
</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/resources/static/json/funny.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json">
<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="499">
<caret line="37" column="37" selection-start-line="37" selection-start-column="29" selection-end-line="37" selection-end-column="37" /> <caret line="85" column="32" lean-forward="true" selection-start-line="85" selection-start-column="32" selection-end-line="85" selection-end-column="32" />
</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/resources/static/json/recommand2.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-857"> <state relative-caret-position="763">
<caret line="31" column="69" selection-start-line="31" selection-start-column="50" selection-end-line="31" selection-end-column="69" /> <caret line="90" column="11" lean-forward="true" selection-start-line="90" selection-start-column="11" selection-end-line="90" selection-end-column="11" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils.java"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandPojo.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="459"> <state relative-caret-position="616">
<caret line="120" column="68" lean-forward="true" selection-start-line="120" selection-start-column="68" selection-end-line="120" selection-end-column="68" /> <caret line="48" column="40" selection-start-line="48" selection-start-column="40" selection-end-line="48" selection-end-column="40" />
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -120,28 +106,59 @@ ...@@ -120,28 +106,59 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-44"> <state relative-caret-position="325">
<caret line="79" column="31" selection-start-line="79" selection-start-column="31" selection-end-line="79" selection-end-column="31" /> <caret line="46" column="42" lean-forward="true" selection-start-line="46" selection-start-column="42" selection-end-line="46" selection-end-column="42" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1233">
<caret line="115" column="46" selection-start-line="115" selection-start-column="46" selection-end-line="115" selection-end-column="46" />
</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/resources/static/json/funnyPageItem.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="440">
<caret line="20" column="39" selection-start-line="20" selection-start-column="39" selection-end-line="20" selection-end-column="39" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<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="-176"> <state relative-caret-position="528">
<caret line="25" column="34" selection-start-line="25" selection-start-column="34" selection-end-line="25" selection-end-column="34" /> <caret line="129" column="73" selection-start-line="129" selection-start-column="73" selection-end-line="129" selection-end-column="73" />
<folding>
<element signature="e#4364#4414#0" />
<element signature="e#5766#5767#0" expanded="true" />
<element signature="e#5807#5808#0" expanded="true" />
<element signature="e#12828#12829#0" expanded="true" />
<element signature="e#12864#12865#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/common/temple/funny/FunnyPojo.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="873"> <state relative-caret-position="639">
<caret line="60" column="25" selection-start-line="60" selection-start-column="25" selection-end-line="60" selection-end-column="25" /> <caret line="199" column="40" selection-start-line="199" selection-start-column="22" selection-end-line="199" selection-end-column="40" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#7410#7411#0" expanded="true" />
<element signature="e#7445#7446#0" expanded="true" />
<element signature="e#7799#7800#0" expanded="true" />
<element signature="e#7836#7837#0" expanded="true" />
<element signature="e#7967#7968#0" expanded="true" />
<element signature="e#8005#8006#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -161,14 +178,6 @@ ...@@ -161,14 +178,6 @@
</component> </component>
<component name="FindInProjectRecents"> <component name="FindInProjectRecents">
<findStrings> <findStrings>
<find>code</find>
<find>flex-direction</find>
<find>data.</find>
<find>botAccount</find>
<find>productDetail</find>
<find>BACK_TRACE</find>
<find>directives</find>
<find>LAST_OUTTIME_RESULT</find>
<find>botAcc</find> <find>botAcc</find>
<find>POOL</find> <find>POOL</find>
<find>status:{}</find> <find>status:{}</find>
...@@ -189,8 +198,16 @@ ...@@ -189,8 +198,16 @@
<find>PLAY_DOCUMENT</find> <find>PLAY_DOCUMENT</find>
<find>PRODUCT_NAME_DETAIL</find> <find>PRODUCT_NAME_DETAIL</find>
<find>imgPro</find> <find>imgPro</find>
<find>productName</find>
<find>recomList</find> <find>recomList</find>
<find>OnLoad</find>
<find>productName</find>
<find>productDetail</find>
<find>CATEGORY_PRODUCT_LIST</find>
<find>text-overflow</find>
<find>max-lines</find>
<find>margin-bottom</find>
<find>line-height</find>
<find>onClick</find>
</findStrings> </findStrings>
<replaceStrings> <replaceStrings>
<replace>OPENID_CACHE</replace> <replace>OPENID_CACHE</replace>
...@@ -206,17 +223,6 @@ ...@@ -206,17 +223,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/entity/primary/ProjectLabel.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuHistoryBotIdTime.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppFlowerTBTintRepository.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/ProjectLabelRepository.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/service/RequestTerminal.java" />
<option value="$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/history.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyMainTemplate.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyDocument.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/XiaoduhomeApplication.java" /> <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/entity/secondary/XiaoDuOrderIdTB.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderIdTB.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFavoriteTB.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFavoriteTB.java" />
...@@ -230,7 +236,6 @@ ...@@ -230,7 +236,6 @@
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFlowerTB.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFlowerTB.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/Utils.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderTB.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderTB.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/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/resources/static/json/textComponent.json" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/textComponent.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/textRota.json" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/textRota.json" />
...@@ -240,23 +245,35 @@ ...@@ -240,23 +245,35 @@
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayDocument.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayDocument.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayInstance.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayInstance.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayPojo.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/play/PlayPojo.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json" />
<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/common/temple/play/PlayUtils.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/testScale.json" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/testScale.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPojo.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPojo.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funnyPageItem.json" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funnyPageItem.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPageItemData.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPageItemData.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funny.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Event.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Event.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/ranking.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyUtil.java" />
<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/common/Constants.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandDocument.java" /> <option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandDocument.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/static/json/funny.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyUtil.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/ranking.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/common/BackImgPojo.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/rank/RankingDocument.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/Oauth2Controller.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/rank/RankUtil.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/GameProjectTbRepository.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Item.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Data.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/categoryPro.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/FrameTemple.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json" />
<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/DplBotService.java" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand2.json" />
<option value="$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/recommand/RecommandPojo.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/common/temple/TempleUtils.java" />
</list> </list>
</option> </option>
</component> </component>
...@@ -289,8 +306,8 @@ ...@@ -289,8 +306,8 @@
<option name="skipTests" value="true" /> <option name="skipTests" value="true" />
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="553" /> <option name="x" value="73" />
<option name="y" value="90" /> <option name="y" value="65" />
<option name="width" value="1416" /> <option name="width" value="1416" />
<option name="height" value="990" /> <option name="height" value="990" />
</component> </component>
...@@ -302,6 +319,7 @@ ...@@ -302,6 +319,7 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
...@@ -387,7 +405,19 @@ ...@@ -387,7 +405,19 @@
<item name="xiaoduhome" type="462c0819:PsiDirectoryNode" /> <item name="xiaoduhome" type="462c0819:PsiDirectoryNode" />
<item name="common" type="462c0819:PsiDirectoryNode" /> <item name="common" type="462c0819:PsiDirectoryNode" />
<item name="temple" type="462c0819:PsiDirectoryNode" /> <item name="temple" type="462c0819:PsiDirectoryNode" />
<item name="play" type="462c0819:PsiDirectoryNode" /> <item name="rank" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="smartbox" type="b2602c69:ProjectViewProjectNode" />
<item name="smartbox" type="462c0819:PsiDirectoryNode" />
<item name="xiaoduhome" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="xiaoduhome" type="462c0819:PsiDirectoryNode" />
<item name="common" type="462c0819:PsiDirectoryNode" />
<item name="temple" type="462c0819:PsiDirectoryNode" />
<item name="recommand" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path> <path>
<item name="smartbox" type="b2602c69:ProjectViewProjectNode" /> <item name="smartbox" type="b2602c69:ProjectViewProjectNode" />
...@@ -513,7 +543,6 @@ ...@@ -513,7 +543,6 @@
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="Scope" />
<pane id="PackagesPane" /> <pane id="PackagesPane" />
</panes> </panes>
</component> </component>
...@@ -528,7 +557,7 @@ ...@@ -528,7 +557,7 @@
<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="1567428790084" /> <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1567515440364" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../security/p1o6vt" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/../security/p1o6vt" />
<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" />
...@@ -1070,7 +1099,8 @@ ...@@ -1070,7 +1099,8 @@
<workItem from="1567042986481" duration="31786000" /> <workItem from="1567042986481" duration="31786000" />
<workItem from="1567128898999" duration="29980000" /> <workItem from="1567128898999" duration="29980000" />
<workItem from="1567214814238" duration="29451000" /> <workItem from="1567214814238" duration="29451000" />
<workItem from="1567388401757" duration="30250000" /> <workItem from="1567388401757" duration="30870000" />
<workItem from="1567474526729" duration="32574000" />
</task> </task>
<servers /> <servers />
</component> </component>
...@@ -1080,7 +1110,7 @@ ...@@ -1080,7 +1110,7 @@
</history-entry> </history-entry>
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="1771251000" /> <option name="totallyTimeSpent" value="1804445000" />
</component> </component>
<component name="TodoView"> <component name="TodoView">
<todo-panel id="selected-file"> <todo-panel id="selected-file">
...@@ -1092,7 +1122,7 @@ ...@@ -1092,7 +1122,7 @@
</todo-panel> </todo-panel>
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="553" y="90" width="1416" height="990" extended-state="0" /> <frame x="73" y="65" width="1416" height="990" extended-state="0" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info id="Structure" order="0" sideWeight="0.5099778" side_tool="true" weight="0.21052632" /> <window_info id="Structure" order="0" sideWeight="0.5099778" side_tool="true" weight="0.21052632" />
...@@ -1103,7 +1133,7 @@ ...@@ -1103,7 +1133,7 @@
<window_info id="Favorites" order="5" sideWeight="0.5017626" side_tool="true" weight="0.25712198" /> <window_info id="Favorites" order="5" sideWeight="0.5017626" side_tool="true" weight="0.25712198" />
<window_info id="Alibaba Cloud Explorer" order="6" sideWeight="0.49941108" weight="0.32843497" /> <window_info id="Alibaba Cloud Explorer" order="6" sideWeight="0.49941108" weight="0.32843497" />
<window_info id="Web" order="7" side_tool="true" /> <window_info id="Web" order="7" side_tool="true" />
<window_info content_ui="combo" id="Project" order="8" sideWeight="0.49002218" weight="0.19736843" /> <window_info active="true" content_ui="combo" id="Project" order="8" sideWeight="0.49002218" visible="true" weight="0.2002924" />
<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.2580645" /> <window_info anchor="bottom" id="Find" order="1" weight="0.2580645" />
<window_info anchor="bottom" id="Run" order="2" weight="0.30107528" /> <window_info anchor="bottom" id="Run" order="2" weight="0.30107528" />
...@@ -1112,7 +1142,7 @@ ...@@ -1112,7 +1142,7 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" weight="0.32873562" /> <window_info anchor="bottom" id="TODO" order="6" weight="0.32873562" />
<window_info anchor="bottom" id="Spring" order="7" weight="0.32867885" /> <window_info anchor="bottom" id="Spring" order="7" weight="0.32867885" />
<window_info anchor="bottom" id="Terminal" order="8" weight="0.3230036" /> <window_info anchor="bottom" id="Terminal" order="8" weight="0.32258064" />
<window_info anchor="bottom" id="Docker" order="9" show_stripe_button="false" /> <window_info anchor="bottom" id="Docker" order="9" show_stripe_button="false" />
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" weight="0.32915717" /> <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" weight="0.32915717" />
<window_info anchor="bottom" id="Java Enterprise" order="11" /> <window_info anchor="bottom" id="Java Enterprise" order="11" />
...@@ -1132,44 +1162,6 @@ ...@@ -1132,44 +1162,6 @@
<window_info anchor="right" id="Bean Validation" order="9" weight="0.32967836" /> <window_info anchor="right" id="Bean Validation" order="9" weight="0.32967836" />
<window_info anchor="right" id="Alibaba Log Console" order="10" /> <window_info anchor="right" id="Alibaba Log Console" order="10" />
</layout> </layout>
<layout-to-restore>
<window_info id="Structure" order="0" sideWeight="0.5099778" side_tool="true" weight="0.21052632" />
<window_info id="Designer" order="1" />
<window_info id="Image Layers" order="2" />
<window_info id="Capture Tool" order="3" />
<window_info id="UI Designer" order="4" />
<window_info id="Favorites" order="5" sideWeight="0.5017626" side_tool="true" weight="0.25712198" />
<window_info id="Alibaba Cloud Explorer" order="6" sideWeight="0.49941108" weight="0.32843497" />
<window_info id="Web" order="7" side_tool="true" />
<window_info active="true" content_ui="combo" id="Project" order="8" sideWeight="0.49002218" visible="true" weight="0.19736843" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" weight="0.2580645" />
<window_info anchor="bottom" id="Run" order="2" weight="0.30107528" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.39885056" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" weight="0.32873562" />
<window_info anchor="bottom" id="Spring" order="7" weight="0.32867885" />
<window_info anchor="bottom" id="Terminal" order="8" weight="0.3230036" />
<window_info anchor="bottom" id="Docker" order="9" show_stripe_button="false" />
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" weight="0.32915717" />
<window_info anchor="bottom" id="Java Enterprise" order="11" />
<window_info anchor="bottom" id="Database Changes" order="12" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="13" weight="0.32975295" />
<window_info anchor="bottom" id="Alibaba Cloud View" order="14" weight="0.32979977" />
<window_info anchor="bottom" id="Messages" order="15" weight="0.28554362" />
<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.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="right" id="Maven" order="3" weight="0.17909357" />
<window_info anchor="right" id="Palette" order="4" />
<window_info anchor="right" id="Capture Analysis" order="5" />
<window_info anchor="right" id="Database" order="6" weight="0.32748538" />
<window_info anchor="right" id="Palette&#9;" order="7" />
<window_info anchor="right" id="Theme Preview" order="8" />
<window_info anchor="right" id="Bean Validation" order="9" weight="0.32967836" />
<window_info anchor="right" id="Alibaba Log Console" order="10" />
</layout-to-restore>
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" /> <option name="version" value="1" />
...@@ -1179,135 +1171,6 @@ ...@@ -1179,135 +1171,6 @@
<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/repository/secondary/XiaoDuHistoryBotTimeRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="11" column="17" selection-start-line="11" selection-start-column="17" selection-end-line="11" selection-end-column="17" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/GameProjectTbRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="15" column="17" selection-start-line="15" selection-start-column="17" selection-end-line="15" selection-end-column="17" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AllOnProductInfoRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="13" column="17" selection-start-line="13" selection-start-column="17" selection-end-line="13" selection-end-column="17" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuOrderIdTB.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<caret line="18" selection-start-line="18" selection-end-line="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/ProjectLabel.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="17" column="13" selection-start-line="17" selection-start-column="13" selection-end-line="17" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/OnProductDetail.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="40" column="28" lean-forward="true" selection-start-line="40" selection-start-column="28" selection-end-line="40" selection-end-column="28" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/GameProjectTb.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="106">
<caret line="18" column="13" selection-start-line="18" selection-start-column="13" selection-end-line="18" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFlowerTBTiny.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="242">
<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/repository/primary/AppUserTBRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="18" column="49" lean-forward="true" selection-start-line="18" selection-start-column="49" selection-end-line="18" selection-end-column="49" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppUserTB.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="18" column="13" selection-start-line="18" selection-start-column="13" selection-end-line="18" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/secondary/XiaoDuHistoryBotIdTime.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="242">
<caret line="14" column="13" selection-start-line="14" selection-start-column="13" selection-end-line="14" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppFlowerTBTintRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="13" column="29" lean-forward="true" selection-start-line="13" selection-start-column="29" selection-end-line="13" selection-end-column="29" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppFlowerTBRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="17" column="38" selection-start-line="17" selection-start-column="17" selection-end-line="17" selection-end-column="38" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Utils.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="543">
<caret line="123" column="47" selection-start-line="123" selection-start-column="40" selection-end-line="123" selection-end-column="47" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFlowerTB.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="543">
<caret line="48" column="22" selection-start-line="48" selection-start-column="22" selection-end-line="48" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/AppFavoriteTB.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="143">
<caret line="20" column="13" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/secondary/XiaoDuHistoryTBRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="400">
<caret line="25" selection-start-line="25" selection-end-line="25" />
</state>
</provider>
</entry>
<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">
<state relative-caret-position="770">
<caret line="53" column="37" selection-start-line="53" selection-start-column="37" selection-end-line="53" selection-end-column="37" />
</state>
</provider>
</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/repository/secondary/XiaoDuOrderTbRepository.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="411"> <state relative-caret-position="411">
...@@ -1428,23 +1291,44 @@ ...@@ -1428,23 +1291,44 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/textRota.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="396"> <state relative-caret-position="638">
<caret line="18" column="32" selection-start-line="18" selection-start-column="32" selection-end-line="18" selection-end-column="32" /> <caret line="62" column="15" selection-start-line="62" selection-start-column="15" selection-end-line="62" selection-end-column="15" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPageItemData.java"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Event.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="308"> <state relative-caret-position="308">
<caret line="14" column="26" selection-start-line="14" selection-start-column="26" selection-end-line="14" selection-end-column="26" /> <caret line="17" column="31" lean-forward="true" selection-start-line="17" selection-start-column="31" selection-end-line="17" selection-end-column="31" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/Constants.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="358">
<caret line="97" column="55" lean-forward="true" selection-start-line="97" selection-start-column="55" selection-end-line="97" selection-end-column="55" />
</state>
</provider>
</entry>
<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">
<state relative-caret-position="418">
<caret line="24" column="18" selection-start-line="24" selection-start-column="18" selection-end-line="24" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funnyPageItem.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="550">
<caret line="25" column="34" selection-start-line="25" selection-start-column="34" selection-end-line="25" selection-end-column="34" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPojo.java"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPojo.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="873"> <state relative-caret-position="1188">
<caret line="60" column="25" selection-start-line="60" selection-start-column="25" selection-end-line="60" selection-end-column="25" /> <caret line="60" column="25" selection-start-line="60" selection-start-column="25" selection-end-line="60" selection-end-column="25" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
...@@ -1452,113 +1336,231 @@ ...@@ -1452,113 +1336,231 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funny.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-44"> <state relative-caret-position="279">
<caret line="52" column="48" lean-forward="true" selection-start-line="52" selection-start-column="48" selection-end-line="52" selection-end-column="48" /> <caret line="44" column="7" selection-start-line="44" selection-start-column="7" selection-end-line="44" selection-end-column="7" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/textRota.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyPageItemData.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="638"> <state relative-caret-position="308">
<caret line="62" column="15" selection-start-line="62" selection-start-column="15" selection-end-line="62" selection-end-column="15" /> <caret line="14" column="26" selection-start-line="14" selection-start-column="26" selection-end-line="14" selection-end-column="26" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyUtil.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-44"> <state relative-caret-position="463">
<caret line="79" column="31" selection-start-line="79" selection-start-column="31" selection-end-line="79" selection-end-column="31" /> <caret line="62" lean-forward="true" selection-start-line="62" selection-end-line="62" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funnyPageItem.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/common/BackImgPojo.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-176"> <state relative-caret-position="176">
<caret line="25" column="34" selection-start-line="25" selection-start-column="34" selection-end-line="25" selection-end-column="34" /> <caret line="8" column="33" selection-start-line="8" selection-start-column="33" selection-end-line="8" selection-end-column="33" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Event.java"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/templates/Oauth2_load.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-66" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/TokenDuerosResponse.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="308"> <state relative-caret-position="308">
<caret line="17" column="31" lean-forward="true" selection-start-line="17" selection-start-column="31" selection-end-line="17" selection-end-column="31" /> <caret line="16" column="33" lean-forward="true" selection-start-line="16" selection-start-column="33" selection-end-line="16" selection-end-column="33" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.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/bot/BaseBot.class">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="358">
<caret line="294" column="36" selection-start-line="294" selection-start-column="25" selection-end-line="294" selection-end-column="36" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/rank/RankingDocument.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="25" column="19" selection-start-line="25" selection-start-column="19" selection-end-line="25" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/ranking.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-857"> <state relative-caret-position="330">
<caret line="31" column="69" selection-start-line="31" selection-start-column="50" selection-end-line="31" selection-end-column="69" /> <caret line="15" column="23" lean-forward="true" selection-start-line="15" selection-start-column="23" selection-end-line="15" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/GameProjectTbRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="308">
<caret line="20" column="24" selection-start-line="20" selection-start-column="24" selection-end-line="20" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/Oauth2Controller.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="507">
<caret line="161" column="55" selection-start-line="161" selection-start-column="55" selection-end-line="161" selection-end-column="55" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/rank/RankUtil.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="345">
<caret line="113" column="39" lean-forward="true" selection-start-line="113" selection-start-column="39" selection-end-line="113" selection-end-column="39" />
<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/resources/static/json/ranking.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/OverTimeDetail.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198"> <state relative-caret-position="264">
<caret line="39" column="45" selection-start-line="39" selection-start-column="45" selection-end-line="39" selection-end-column="45" /> <caret line="19" column="21" 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/resources/static/json/recommand.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Data.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="396"> <state relative-caret-position="506">
<caret line="39" column="45" selection-start-line="39" selection-start-column="45" selection-end-line="39" selection-end-column="45" /> <caret line="25" column="31" selection-start-line="25" selection-start-column="31" selection-end-line="25" selection-end-column="31" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/funny/FunnyUtil.java"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/OnProductDetail.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="468">
<caret line="40" column="27" selection-start-line="40" selection-start-column="17" selection-end-line="40" selection-end-column="27" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/entity/primary/GameProjectTb.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="81">
<caret line="18" column="13" selection-start-line="18" selection-start-column="13" selection-end-line="18" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="jar://$PROJECT_DIR$/../../../../java/jdk1.8.0_211/src.zip!/java/util/concurrent/ConcurrentHashMap.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<caret line="933" column="13" selection-start-line="933" selection-start-column="13" selection-end-line="933" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/categoryPro.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="23" column="29" selection-start-line="23" selection-start-column="29" selection-end-line="23" selection-end-column="29" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/dpl/Item.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255"> <state relative-caret-position="251">
<caret line="53" column="40" lean-forward="true" selection-start-line="53" selection-start-column="40" selection-end-line="53" selection-end-column="40" /> <caret line="33" column="30" selection-start-line="33" selection-start-column="19" selection-end-line="33" selection-end-column="30" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/frame.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="440">
<caret line="20" column="39" selection-start-line="20" selection-start-column="39" selection-end-line="20" selection-end-column="39" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/productInfo.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1233">
<caret line="115" column="46" selection-start-line="115" selection-start-column="46" selection-end-line="115" selection-end-column="46" />
</state>
</provider>
</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">
<state relative-caret-position="374">
<caret line="488" column="14" lean-forward="true" selection-start-line="488" selection-start-column="14" selection-end-line="488" selection-end-column="14" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#4566#4567#0" expanded="true" /> <element signature="e#6694#6696#0" />
<element signature="e#4599#4600#0" expanded="true" /> <element signature="e#88306#88380#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/funny.json"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/onLunch2.json">
<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="325">
<caret line="37" column="37" selection-start-line="37" selection-start-column="29" selection-end-line="37" selection-end-column="37" /> <caret line="46" column="42" lean-forward="true" selection-start-line="46" selection-start-column="42" selection-end-line="46" selection-end-column="42" />
</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/common/temple/recommand/RecommandPojo.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="358"> <state relative-caret-position="616">
<caret line="97" column="55" lean-forward="true" selection-start-line="97" selection-start-column="55" selection-end-line="97" selection-end-column="55" /> <caret line="48" column="40" selection-start-line="48" selection-start-column="40" selection-end-line="48" selection-end-column="40" />
</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/resources/static/json/recommand2.json">
<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="763">
<caret line="24" column="18" selection-start-line="24" selection-start-column="18" selection-end-line="24" selection-end-column="18" /> <caret line="90" column="11" lean-forward="true" selection-start-line="90" selection-start-column="11" selection-end-line="90" selection-end-column="11" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotService.java"> <entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/resources/static/json/recommand.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="443"> <state relative-caret-position="499">
<caret line="1440" column="60" lean-forward="true" selection-start-line="1440" selection-start-column="60" selection-end-line="1440" selection-end-column="60" /> <caret line="85" column="32" lean-forward="true" selection-start-line="85" selection-start-column="32" selection-end-line="85" selection-end-column="32" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/FrameTemple.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="235">
<caret line="23" column="24" selection-start-line="23" selection-start-column="24" selection-end-line="23" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleService.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="639">
<caret line="199" column="40" selection-start-line="199" selection-start-column="22" selection-end-line="199" selection-end-column="40" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#6657#6659#0" /> <element signature="e#7410#7411#0" expanded="true" />
<element signature="e#7445#7446#0" expanded="true" />
<element signature="e#7799#7800#0" expanded="true" />
<element signature="e#7836#7837#0" expanded="true" />
<element signature="e#7967#7968#0" expanded="true" />
<element signature="e#8005#8006#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/common/temple/TempleUtils.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="459"> <state relative-caret-position="528">
<caret line="120" column="68" lean-forward="true" selection-start-line="120" selection-start-column="68" selection-end-line="120" selection-end-column="68" /> <caret line="129" column="73" selection-start-line="129" selection-start-column="73" selection-end-line="129" selection-end-column="73" />
<folding>
<element signature="e#4364#4414#0" />
<element signature="e#5766#5767#0" expanded="true" />
<element signature="e#5807#5808#0" expanded="true" />
<element signature="e#12828#12829#0" expanded="true" />
<element signature="e#12864#12865#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
......
package ai.qiwu.com.xiaoduhome.common.temple; package ai.qiwu.com.xiaoduhome.common.temple;
import ai.qiwu.com.xiaoduhome.pojo.dpl.Item; import ai.qiwu.com.xiaoduhome.pojo.dpl.Item;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
...@@ -31,6 +32,8 @@ public class FrameTemple implements Agent{ ...@@ -31,6 +32,8 @@ public class FrameTemple implements Agent{
private String marginLeft; private String marginLeft;
@JsonProperty("margin-bottom") @JsonProperty("margin-bottom")
private String marginBottom; private String marginBottom;
@JsonProperty("margin-top")
private String marginTop;
private String width; private String width;
private String height; private String height;
@JsonProperty("border-width") @JsonProperty("border-width")
......
...@@ -9,6 +9,7 @@ import ai.qiwu.com.xiaoduhome.common.temple.funny.FunnyUtil; ...@@ -9,6 +9,7 @@ import ai.qiwu.com.xiaoduhome.common.temple.funny.FunnyUtil;
import ai.qiwu.com.xiaoduhome.common.temple.playUpdate.PlayUpdateDocument; import ai.qiwu.com.xiaoduhome.common.temple.playUpdate.PlayUpdateDocument;
import ai.qiwu.com.xiaoduhome.common.temple.playUpdate.PlayUpdatePojo; import ai.qiwu.com.xiaoduhome.common.temple.playUpdate.PlayUpdatePojo;
import ai.qiwu.com.xiaoduhome.common.temple.rank.RankBotInfo; import ai.qiwu.com.xiaoduhome.common.temple.rank.RankBotInfo;
import ai.qiwu.com.xiaoduhome.common.temple.rank.RankUtil;
import ai.qiwu.com.xiaoduhome.common.temple.rank.RankingDocument; import ai.qiwu.com.xiaoduhome.common.temple.rank.RankingDocument;
import ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandBotInfo; import ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandBotInfo;
import ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandDocument; import ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandDocument;
...@@ -50,15 +51,18 @@ public class TempleUtils { ...@@ -50,15 +51,18 @@ public class TempleUtils {
private static FrameTemple FRAME_RAKKING; private static FrameTemple FRAME_RAKKING;
private static FrameTemple FRAME_RECOMMAND; private static FrameTemple FRAME_RECOMMAND;
private static FrameTemple FRAME_CATEGORY; private static FrameTemple FRAME_CATEGORY;
private static RankingDocument RANKING_DOCUMENT; // private static RankingDocument RANKING_DOCUMENT;
static { static {
FRAME_RAKKING = JSON.parseObject(getDPLTemple("static/json/frame.json"), FrameTemple.class); FRAME_RAKKING = JSON.parseObject(getDPLTemple("static/json/frame.json"), FrameTemple.class);
FRAME_RAKKING.getItems().get(1).getItems().get(0).setText("小度小度,打开排行榜"); FRAME_RAKKING.getItems().get(1).getItems().get(0).setText("小度小度,打开排行榜");
FRAME_RAKKING.getItems().get(0).setText("排行榜");
FRAME_RECOMMAND = JSON.parseObject(getDPLTemple("static/json/frame.json"), FrameTemple.class); FRAME_RECOMMAND = JSON.parseObject(getDPLTemple("static/json/frame.json"), FrameTemple.class);
FRAME_RECOMMAND.getItems().get(1).getItems().get(0).setText("小度小度,打开推荐"); FRAME_RECOMMAND.getItems().get(1).getItems().get(0).setText("小度小度,打开推荐");
FRAME_RECOMMAND.getItems().get(0).setText("推荐作品");
FRAME_CATEGORY = JSON.parseObject(getDPLTemple("static/json/frame.json"), FrameTemple.class); FRAME_CATEGORY = JSON.parseObject(getDPLTemple("static/json/frame.json"), FrameTemple.class);
FRAME_CATEGORY.getItems().get(1).getItems().get(0).setText("小度小度,打开古风"); FRAME_CATEGORY.getItems().get(1).getItems().get(0).setText("小度小度,打开古风");
FRAME_CATEGORY.getItems().get(0).setText("作品分类");
} }
public static PlayUpdateDocument getPlayUpdate(String audio, String text) { public static PlayUpdateDocument getPlayUpdate(String audio, String text) {
...@@ -91,33 +95,62 @@ public class TempleUtils { ...@@ -91,33 +95,62 @@ public class TempleUtils {
return document; return document;
} }
// public static RankingDocument getRanking() {
// if (RANKING_DOCUMENT != null) {
// return RANKING_DOCUMENT;
// }
// RANKING_DOCUMENT = JSON.parseObject(getDPLTemple("static/json/ranking.json"), RankingDocument.class);
// List<RankBotInfo> datas = new ArrayList<>();
// StringBuilder botIds = new StringBuilder();
// for (GameProjectTb bot:ScheduleService.getRankingList()) {
// 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();
// RankBotInfo rankBotInfo = new RankBotInfo(imgSrc, imageId, correctName(bot.getName()));
// datas.add(rankBotInfo);
// }
// if (botIds.length() != 0) {
// botIds.deleteCharAt(botIds.length()-1);
// String idToken = Base64.getEncoder().encodeToString(botIds.toString().getBytes());
// RANKING_DOCUMENT.setRankBotIds(idToken);
// }
// RANKING_DOCUMENT.getMainTemplate().getItems().get(0).getItems().get(2).getItems().get(0).setData(datas);
// return RANKING_DOCUMENT;
// }
public static RankingDocument getRanking() { public static RankingDocument getRanking() {
if (RANKING_DOCUMENT != null) { return RankUtil.getRankDocument();
return RANKING_DOCUMENT; }
}
RANKING_DOCUMENT = JSON.parseObject(getDPLTemple("static/json/ranking.json"), RankingDocument.class); public static RecommandDocument getRecommand2(int num) {
List<RankBotInfo> datas = new ArrayList<>(); RecommandDocument document = JSON.parseObject(getDPLTemple("static/json/recommand2.json"), RecommandDocument.class);
List<RecommandBotInfo> firstRowData = new ArrayList<>();
List<RecommandBotInfo> secondRowData = new ArrayList<>();
StringBuilder botIds = new StringBuilder(); StringBuilder botIds = new StringBuilder();
for (GameProjectTb bot:ScheduleService.getRankingList()) { int upBound = num+8 <= ScheduleService.getAllProductCount()? num+8: ScheduleService.getAllProductCount();
botIds.append(bot.getBotAccount()).append(File.separator); for (int i = num; i < num+8; i++) {
String imgSrc = new StringBuilder(Constants.IMG_PREFIX).append(bot.getBannerImgUrl()).toString(); OnProductDetail detail = ScheduleService.getAllOnProduct().get(i);
String imageId = new StringBuilder(Constants.PRE_PRODUCT_IMG).append(bot.getName()).toString(); botIds.append(detail.getBotAccount()).append(File.separator);
RankBotInfo rankBotInfo = new RankBotInfo(imgSrc, imageId, correctName(bot.getName())); String imgSrc = new StringBuilder(Constants.IMG_PREFIX).append(detail.getBannerImgUrl()).toString();
datas.add(rankBotInfo); String imageId = new StringBuilder(Constants.PRE_PRODUCT_IMG).append(detail.getName()).toString();
if (i < num+4) {
RecommandBotInfo recommend = new RecommandBotInfo(imgSrc, imageId, correctName(detail.getName()));
firstRowData.add(recommend);
}else {
RecommandBotInfo recommend = new RecommandBotInfo(imgSrc, imageId, correctName(detail.getName()));
secondRowData.add(recommend);
}
} }
if (botIds.length() != 0) { if (botIds.length() != 0) {
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());
RANKING_DOCUMENT.setRankBotIds(idToken); document.setRecommendIdList(idToken);
document.setCount(String.valueOf(botIds.length()));
} }
RANKING_DOCUMENT.getMainTemplate().getItems().get(0).getItems().get(2).getItems().get(0).setData(datas); //document.getMainTemplate().getItems().get(0).getItems().get(2).getItems().get(0).setData(datas);
return RANKING_DOCUMENT; return document;
} }
// public static RankingDocument getNextRank() {
//
// }
public static RecommandDocument getRecommend() { public static RecommandDocument getRecommend() {
RecommandDocument document = JSON.parseObject(getDPLTemple("static/json/recommand.json"), RecommandDocument.class); RecommandDocument document = JSON.parseObject(getDPLTemple("static/json/recommand.json"), RecommandDocument.class);
List<RecommandBotInfo> datas = new ArrayList<>(); List<RecommandBotInfo> datas = new ArrayList<>();
......
...@@ -50,10 +50,7 @@ public class FunnyUtil { ...@@ -50,10 +50,7 @@ public class FunnyUtil {
pager.setHeight("100%"); pager.setHeight("100%");
Event onLoadEvent = new Event("AutoPage", "funnyPage"); Event onLoadEvent = new Event("AutoPage", "funnyPage");
onLoadEvent.setDurationInMillisecond(3000); onLoadEvent.setDurationInMillisecond(3000);
Event setPage = new Event("SetPage", "funnyPage"); pager.setOnLoaded(Collections.singletonList(onLoadEvent));
setPage.setPosition("relative");
setPage.setValue("-1");
pager.setOnLoaded(Arrays.asList(onLoadEvent, setPage));
pageContainer.setItems(Collections.singletonList(pager)); pageContainer.setItems(Collections.singletonList(pager));
......
package ai.qiwu.com.xiaoduhome.common.temple.rank;
import ai.qiwu.com.xiaoduhome.common.BaseHolder;
import ai.qiwu.com.xiaoduhome.common.Constants;
import ai.qiwu.com.xiaoduhome.entity.primary.GameProjectTb;
import ai.qiwu.com.xiaoduhome.pojo.dpl.Event;
import ai.qiwu.com.xiaoduhome.repository.primary.GameProjectTbRepository;
import ai.qiwu.com.xiaoduhome.service.ScheduleService;
import lombok.extern.slf4j.Slf4j;
import java.io.File;
import java.util.*;
/**
* @author 苗权威
* @dateTime 19-9-2 下午9:04
*/
@Slf4j
public class RankUtil {
private static final RankingPojo RANK_FOOTER = buildRankFooter();
private static final RankingPojo RANK_BACKGROUND_IMG = buildRankBackgroundImg();
private static final RankingPojo RANK_HEAD = buildRankHead();
private static final List<RankingPojo> RANK_CONTAINER_LIST = buildImgTextContainer();
private static RankingDocument RANKING_DOCUMENT;
public static RankingDocument getRankDocument() {
if (RANKING_DOCUMENT != null) return RANKING_DOCUMENT;
RANKING_DOCUMENT = new RankingDocument();
RankingMainTemplate mainTemplate = new RankingMainTemplate();
RANKING_DOCUMENT.setMainTemplate(mainTemplate);
List<RankBotInfo> datas = new ArrayList<>();
StringBuilder botIds = new StringBuilder();
for (GameProjectTb bot: ScheduleService.getRankingList()) {
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();
RankBotInfo rankBotInfo = new RankBotInfo(imgSrc, imageId, correctName(bot.getName()));
datas.add(rankBotInfo);
}
if (botIds.length() != 0) {
botIds.deleteCharAt(botIds.length()-1);
String idToken = Base64.getEncoder().encodeToString(botIds.toString().getBytes());
RANKING_DOCUMENT.setRankBotIds(idToken);
}
buildMainItem(datas, mainTemplate.getItems());
return RANKING_DOCUMENT;
}
public static RankingDocument updateRankDocument(int num) {
RankingDocument document = new RankingDocument();
RankingMainTemplate mainTemplate = new RankingMainTemplate();
document.setMainTemplate(mainTemplate);
GameProjectTbRepository repository = BaseHolder.getBean("gameProjectTbRepository");
List<GameProjectTb> bots;
try {
bots = repository.postRankBot(num*15);
} catch (Exception e) {
log.error("查询后续排行榜作品信息出错");
return null;
}
if (bots == null || bots.size() == 0) return null;
StringBuilder botIds = new StringBuilder();
List<RankBotInfo> datas = new ArrayList<>();
for (GameProjectTb bot: bots) {
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();
RankBotInfo rankBotInfo = new RankBotInfo(imgSrc, imageId, correctName(bot.getName()));
datas.add(rankBotInfo);
}
if (botIds.length() != 0) {
botIds.deleteCharAt(botIds.length()-1);
String idToken = Base64.getEncoder().encodeToString(botIds.toString().getBytes());
document.setRankBotIds(idToken);
document.setCount(String.valueOf(bots.size()));
}
buildMainItem(datas, mainTemplate.getItems());
return document;
}
private static void buildMainItem(List<RankBotInfo> datas, List<RankingPojo> items) {
RankingPojo main = new RankingPojo();
main.setType("Container");
main.setHeight("100%");
main.setWidth("100%");
main.setComponentId("whole");
main.setMarginTop("65dp");
RankingPojo list = new RankingPojo();
list.setType("List");
list.setHeight("100%");
list.setWidth("100%");
list.setDirection("horizontal");
list.setComponentId("scrollToIndex");
list.setData(datas);
list.setItems(RANK_CONTAINER_LIST);
main.setItems(Collections.singletonList(list));
items.add(RANK_BACKGROUND_IMG);
items.add(RANK_HEAD);
items.add(main);
items.add(RANK_FOOTER);
}
private static RankingPojo buildRankFooter() {
RankingPojo footerCon = new RankingPojo();
footerCon.setType("Container");
footerCon.setPosition("absolute");
footerCon.setWidth("100%");
footerCon.setLeft("0");
footerCon.setBottom("0");
RankingPojo footer = new RankingPojo();
footer.setType("Footer");
footer.setHints(Arrays.asList("向右滑","向左滑","打开第一个","返回"));
footerCon.setItems(Collections.singletonList(footer));
return footerCon;
}
private static RankingPojo buildRankBackgroundImg() {
RankingPojo backGroundImg = new RankingPojo();
backGroundImg.setType("Image");
backGroundImg.setPosition("absolute");
backGroundImg.setTop("0dp");
backGroundImg.setLeft("0dp");
backGroundImg.setSrc("https://aliyun-hz1.chewrobot.com/xiaoduhome/image/backend.jpg");
backGroundImg.setHeight("100%");
backGroundImg.setWidth("100%");
return backGroundImg;
}
private static RankingPojo buildRankHead() {
RankingPojo head = new RankingPojo();
head.setType("Header");
head.setHeaderTitle("排行榜");
head.setHasBackIcon(false);
return head;
}
private static List<RankingPojo> buildImgTextContainer() {
RankingPojo container = new RankingPojo();
container.setType("Container");
container.setAlignItems("center");
container.setMarginLeft("15dp");
RankingPojo image = new RankingPojo();
image.setType("Image");
image.setSrc("${data.imageSrc}");
image.setHeight("220dp");
image.setWidth("220dp");
image.setComponentId("${data.imageId}");
image.setScaleType("fitXY");
image.setBorderRadius("10dp");
Event onClickEvent = new Event("SendEvent", "${data.imageId}");
image.setOnClick(Collections.singletonList(onClickEvent));
RankingPojo text = new RankingPojo();
text.setType("Text");
text.setFontSize("30dp");
text.setMarginTop("10dp");
text.setText("${data.imageName}");
container.setItems(Arrays.asList(image, text));
return Collections.singletonList(container);
}
private static String correctName(String name) {
int brace = name.indexOf("{");
if (brace != -1) name = name.substring(0, brace);
return name;
}
}
...@@ -23,5 +23,5 @@ public class RankingDocument extends Document { ...@@ -23,5 +23,5 @@ public class RankingDocument extends Document {
private String rankBotIds; private String rankBotIds;
@JsonIgnore @JsonIgnore
private String count; private String count = "15";
} }
...@@ -26,7 +26,6 @@ public class RecommandPojo { ...@@ -26,7 +26,6 @@ public class RecommandPojo {
private String top; private String top;
private String left; private String left;
private String src; private String src;
private String headerImage;
private String headerTitle; private String headerTitle;
private Boolean hasBackIcon; private Boolean hasBackIcon;
private String componentId; private String componentId;
...@@ -48,4 +47,7 @@ public class RecommandPojo { ...@@ -48,4 +47,7 @@ public class RecommandPojo {
private String bottom; private String bottom;
private List<String> hints; private List<String> hints;
private List<RecommandBotInfo> data; private List<RecommandBotInfo> data;
@JsonProperty("background-color")
private String backgroundColor;
} }
...@@ -144,7 +144,15 @@ public class Oauth2Controller { ...@@ -144,7 +144,15 @@ public class Oauth2Controller {
@RequestMapping("/accessToken") @RequestMapping("/accessToken")
public @ResponseBody TokenDuerosResponse returnTokenToDueros(@RequestParam String grant_type, public @ResponseBody TokenDuerosResponse returnTokenToDueros(@RequestParam String grant_type,
@RequestParam(required = false) String code, @RequestParam String client_id, @RequestParam(required = false) String code, @RequestParam String client_id,
@RequestParam String client_secret, @RequestParam String redirect_uri) { @RequestParam String client_secret, @RequestParam String redirect_uri,
@RequestParam(required = false) String refresh_token,
@RequestParam(required = false) String refreshToken) {
log.info("小度请求Token,client_id:{};client_secret:{};redirect_uri:{};code:{}",
client_id, client_secret, redirect_uri, code);
if (code == null) {
log.info("refreshToken:{},{}",refresh_token,refreshToken);
return null;
}
log.info("小度请求Token,client_id:{};client_secret:{};redirect_uri:{};code:{}", log.info("小度请求Token,client_id:{};client_secret:{};redirect_uri:{};code:{}",
client_id, client_secret, redirect_uri, code); client_id, client_secret, redirect_uri, code);
// 请求会出现发来的消息每个值重复一遍的情况,待解决? // 请求会出现发来的消息每个值重复一遍的情况,待解决?
......
...@@ -15,6 +15,7 @@ public class Data { ...@@ -15,6 +15,7 @@ public class Data {
private String imageSrc; private String imageSrc;
private String imageName; private String imageName;
private String imageId; private String imageId;
private Integer num;
public Data() { public Data() {
} }
......
...@@ -98,4 +98,6 @@ public class Item implements Agent { ...@@ -98,4 +98,6 @@ public class Item implements Agent {
private String textOverflow; private String textOverflow;
private List<Agent> firstItem; private List<Agent> firstItem;
@JsonProperty("background-color")
private String backgroundColor;
} }
...@@ -15,7 +15,7 @@ import java.util.List; ...@@ -15,7 +15,7 @@ import java.util.List;
@Repository @Repository
public interface GameProjectTbRepository extends JpaRepository<GameProjectTb, Integer> { public interface GameProjectTbRepository extends JpaRepository<GameProjectTb, Integer> {
List<GameProjectTb> findFirst15ByApplyStatusOrderByWatchDesc(Integer applyStatus); List<GameProjectTb> findFirst10ByApplyStatusOrderByWatchDesc(Integer applyStatus);
@Query(value = "select id,intro,name,watch,banner_img_url,apply_status,bot_account,user_nickname from game_project_tb where apply_status = 1 and id >= (select floor(RAND()*(select MAX(id) from game_project_tb))) order by id limit 10", nativeQuery = true) @Query(value = "select id,intro,name,watch,banner_img_url,apply_status,bot_account,user_nickname from game_project_tb where apply_status = 1 and id >= (select floor(RAND()*(select MAX(id) from game_project_tb))) order by id limit 10", nativeQuery = true)
List<GameProjectTb> recommendList(); List<GameProjectTb> recommendList();
...@@ -23,5 +23,6 @@ public interface GameProjectTbRepository extends JpaRepository<GameProjectTb, In ...@@ -23,5 +23,6 @@ public interface GameProjectTbRepository extends JpaRepository<GameProjectTb, In
@Query(value = "select p.id,p.intro,p.name,p.watch,p.banner_img_url,p.apply_status,p.bot_account,p.user_nickname from game_project_tb as p,game_project_label_tb as l where l.name= :category and p.id = l.project_id and p.apply_status=1", nativeQuery = true) @Query(value = "select p.id,p.intro,p.name,p.watch,p.banner_img_url,p.apply_status,p.bot_account,p.user_nickname from game_project_tb as p,game_project_label_tb as l where l.name= :category and p.id = l.project_id and p.apply_status=1", nativeQuery = true)
List<GameProjectTb> categoryProject(@Param("category") String category); List<GameProjectTb> categoryProject(@Param("category") String category);
GameProjectTb getByBotAccount(String botAccount); @Query(value = "select id,intro,name,watch,banner_img_url,apply_status,bot_account,user_nickname from game_project_tb where apply_status = 1 order by watch desc limit ?1,15", nativeQuery = true)
List<GameProjectTb> postRankBot(Integer begin);
} }
...@@ -7,6 +7,7 @@ import ai.qiwu.com.xiaoduhome.common.temple.TempleUtils; ...@@ -7,6 +7,7 @@ import ai.qiwu.com.xiaoduhome.common.temple.TempleUtils;
import ai.qiwu.com.xiaoduhome.common.temple.funny.FunnyDocument; import ai.qiwu.com.xiaoduhome.common.temple.funny.FunnyDocument;
import ai.qiwu.com.xiaoduhome.common.temple.play.PlayDocument; import ai.qiwu.com.xiaoduhome.common.temple.play.PlayDocument;
import ai.qiwu.com.xiaoduhome.common.temple.play.PlayUtils; import ai.qiwu.com.xiaoduhome.common.temple.play.PlayUtils;
import ai.qiwu.com.xiaoduhome.common.temple.rank.RankUtil;
import ai.qiwu.com.xiaoduhome.common.temple.rank.RankingDocument; import ai.qiwu.com.xiaoduhome.common.temple.rank.RankingDocument;
import ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandDocument; import ai.qiwu.com.xiaoduhome.common.temple.recommand.RecommandDocument;
import ai.qiwu.com.xiaoduhome.entity.primary.*; import ai.qiwu.com.xiaoduhome.entity.primary.*;
...@@ -101,17 +102,18 @@ public class DplBotService extends BaseBot { ...@@ -101,17 +102,18 @@ public class DplBotService extends BaseBot {
List<Agent> l1 = new ArrayList<>(); List<Agent> l1 = new ArrayList<>();
l1.add(TempleUtils.getFrameRakking()); l1.add(TempleUtils.getFrameRakking());
thirdRow.get(0).setFirstItem(l1); thirdRow.get(0).setFirstItem(l1);
thirdRow.get(0).getItems().get(0).setData(buildDataList(ScheduleService.RANKING_LIST)); thirdRow.get(0).getItems().get(0).setData(buildDataList(ScheduleService.RANKING_LIST, 1));
List<Agent> l2 = new ArrayList<>(); List<Agent> l2 = new ArrayList<>();
l2.add(TempleUtils.getFrameRecommand()); l2.add(TempleUtils.getFrameRecommand());
thirdRow.get(1).setFirstItem(l2); thirdRow.get(1).setFirstItem(l2);
thirdRow.get(1).getItems().get(0).setData(buildDataList(ScheduleService.RECOMMEND_LIST)); thirdRow.get(1).getItems().get(0).setData(buildDataList(ScheduleService.RECOMMEND_LIST, 11));
List<Agent> l3 = new ArrayList<>(); List<Agent> l3 = new ArrayList<>();
l3.add(TempleUtils.getFrameCategory()); l3.add(TempleUtils.getFrameCategory());
thirdRow.get(2).setFirstItem(l3); thirdRow.get(2).setFirstItem(l3);
thirdRow.get(2).getItems().get(0).setData(buildCategoryDataList()); thirdRow.get(2).getItems().get(0).setData(buildCategoryDataList());
CATEGORY_PROD = JSON.parseObject(getDPLTemple("static/json/categoryPro.json"), MyDocument.class); CATEGORY_PROD = JSON.parseObject(getDPLTemple("static/json/categoryPro.json"), MyDocument.class);
List<Item> container = CATEGORY_PROD.getMainTemplate().getItems().get(0).getItems(); List<Item> container = CATEGORY_PROD.getMainTemplate().getItems().get(0).getItems();
CATEGORY_PROD_LIST = container.get(2).getItems().get(0); CATEGORY_PROD_LIST = container.get(2).getItems().get(0);
...@@ -484,7 +486,7 @@ public class DplBotService extends BaseBot { ...@@ -484,7 +486,7 @@ public class DplBotService extends BaseBot {
RenderDocument renderDocument = new RenderDocument(PROD_INFO); RenderDocument renderDocument = new RenderDocument(PROD_INFO);
this.addDirective(renderDocument); this.addDirective(renderDocument);
this.addDirective(new PushStack()); //this.addDirective(new PushStack());
String trace = getSessionAttribute(BACK_TRACE); String trace = getSessionAttribute(BACK_TRACE);
log.info("before trace------------:{}",trace); log.info("before trace------------:{}",trace);
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
...@@ -766,13 +768,14 @@ public class DplBotService extends BaseBot { ...@@ -766,13 +768,14 @@ public class DplBotService extends BaseBot {
return response; return response;
} }
private static List<Data> buildDataList(List<GameProjectTb> list) { private static List<Data> buildDataList(List<GameProjectTb> list, int begin) {
ArrayList<Data> dataList = new ArrayList<>(); ArrayList<Data> dataList = new ArrayList<>();
for (GameProjectTb projectInfo : list) { for (GameProjectTb 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(Constants.IMG_PREFIX).append(projectInfo.getBannerImgUrl()).toString(); String src = new StringBuilder(Constants.IMG_PREFIX).append(projectInfo.getBannerImgUrl()).toString();
Data data = new Data(src, productName, imageId); Data data = new Data(src, productName, imageId);
data.setNum(begin++);
dataList.add(data); dataList.add(data);
} }
return dataList; return dataList;
...@@ -780,9 +783,11 @@ public class DplBotService extends BaseBot { ...@@ -780,9 +783,11 @@ public class DplBotService extends BaseBot {
private static List<Data> buildCategoryDataList() { private static List<Data> buildCategoryDataList() {
ArrayList<Data> dataList = new ArrayList<>(); ArrayList<Data> dataList = new ArrayList<>();
int i = 21;
for (String cateName : CATEGORY) { for (String cateName : CATEGORY) {
String imageId = new StringBuilder(PRE_CATEGORY).append(cateName).toString(); String imageId = new StringBuilder(PRE_CATEGORY).append(cateName).toString();
Data data = new Data(GU_FENG, cateName, imageId); Data data = new Data(GU_FENG, cateName, imageId);
data.setNum(i++);
dataList.add(data); dataList.add(data);
} }
return dataList; return dataList;
...@@ -1246,18 +1251,27 @@ public class DplBotService extends BaseBot { ...@@ -1246,18 +1251,27 @@ public class DplBotService extends BaseBot {
CollectHistoryDocument document = TempleUtils.getCollectPage(Integer.parseInt(appUserId)); CollectHistoryDocument document = TempleUtils.getCollectPage(Integer.parseInt(appUserId));
RenderDocument render = new RenderDocument(document); RenderDocument render = new RenderDocument(document);
dplBotService.addDirective(render); dplBotService.addDirective(render);
dplBotService.addDirective(new PushStack()); //dplBotService.addDirective(new PushStack());
dplBotService.setSessionAttribute(PRE_COLLE,document.getIdToken()); dplBotService.setSessionAttribute(PRE_COLLE,document.getIdToken());
dplBotService.setSessionAttribute(BACK_TRACE, "01"); dplBotService.setSessionAttribute(BACK_TRACE, "01");
detail.getAttributes().put(PRE_COLLE, document.getIdToken()); detail.getAttributes().put(PRE_COLLE, document.getIdToken());
detail.getAttributes().put(BACK_TRACE,"01"); detail.getAttributes().put(BACK_TRACE,"01");
detail.getDirectives().add(render); detail.getDirectives().add(render);
detail.getDirectives().add(new PushStack()); //detail.getDirectives().add(new PushStack());
//LAST_OUTTIME_RESULT.put(userId, new Response()); //LAST_OUTTIME_RESULT.put(userId, new Response());
LAST_OUTTIME_RESULT.put(userId, detail); LAST_OUTTIME_RESULT.put(userId, detail);
return; return;
} }
} else if ("openNum".equals(intentName)) { } else if ("openNum".equals(intentName)) {
String trace = dplBotService.getSessionAttribute("trace");
if (trace == null || trace.charAt(1) == '0') {
String numStr = getSlot("sys.number");
int num = 1;
if (numStr != null) num = Integer.parseInt(numStr);
detail.setResponse(dealOpenNumInHome(num, detail));
LAST_OUTTIME_RESULT.put(userId, detail);
return;
}
String collectToken = getSessionAttribute(PRE_COLLE); String collectToken = getSessionAttribute(PRE_COLLE);
String rankToken = getSessionAttribute("ranking"); String rankToken = getSessionAttribute("ranking");
String recommengToken = getSessionAttribute("recommand"); String recommengToken = getSessionAttribute("recommand");
...@@ -1310,9 +1324,30 @@ public class DplBotService extends BaseBot { ...@@ -1310,9 +1324,30 @@ public class DplBotService extends BaseBot {
ExecuteCommands executeCommands = new ExecuteCommands(); ExecuteCommands executeCommands = new ExecuteCommands();
ScrollToIndexCommand scroll = new ScrollToIndexCommand(); ScrollToIndexCommand scroll = new ScrollToIndexCommand();
scroll.setComponentId("scrollToIndex"); scroll.setComponentId("scrollToIndex");
String updateCount = dplBotService.getSessionAttribute("updateCount");
if (intentRequest.getQuery().getOriginal().contains("页") && updateCount != null && !"0".equals(updateCount)) {
int update = Integer.valueOf(updateCount);
RankingDocument document = RankUtil.updateRankDocument(update-1);
if (document == null) {
detail.setResponse(buildErrorResponse("排行榜已经被您翻到底啦,没有了"));
break;
}
RenderDocument render = new RenderDocument(document);
dplBotService.addDirective(render);
detail.getDirectives().add(render);
dplBotService.setSessionAttribute("pageIndex",null);
detail.getAttributes().put("pageIndex",null);
dplBotService.setSessionAttribute("count", document.getCount());
detail.getAttributes().put("count", document.getCount());
dplBotService.setSessionAttribute("updateCount", String.valueOf(update-1));
detail.getAttributes().put("updateCount", String.valueOf(update-1));
detail.setResponse(buildErrorResponse(new StringBuilder("为您刷新排行榜,下面是排行")
.append(update*15).append("到").append(update*15+15).append("的作品").toString()));
break;
}
index -= 4; index -= 4;
if (index < 0) index = 0; if (index < 0) index = 0;
scroll.setIndex(index+4); scroll.setIndex(index);
scroll.setAlign(ScrollToIndexCommand.AlignType.FIRST); scroll.setAlign(ScrollToIndexCommand.AlignType.FIRST);
executeCommands.addCommand(scroll); executeCommands.addCommand(scroll);
dplBotService.addDirective(executeCommands); dplBotService.addDirective(executeCommands);
...@@ -1351,8 +1386,9 @@ public class DplBotService extends BaseBot { ...@@ -1351,8 +1386,9 @@ public class DplBotService extends BaseBot {
break; break;
} }
case 3: { case 3: {
index = 4; index = 0;
if (pageIndex != null) index = Integer.parseInt(pageIndex); if (pageIndex != null) index = Integer.parseInt(pageIndex);
index += 4;
ExecuteCommands executeCommands = new ExecuteCommands(); ExecuteCommands executeCommands = new ExecuteCommands();
ScrollToIndexCommand scroll = new ScrollToIndexCommand(); ScrollToIndexCommand scroll = new ScrollToIndexCommand();
scroll.setComponentId("scrollToIndex"); scroll.setComponentId("scrollToIndex");
...@@ -1367,15 +1403,45 @@ public class DplBotService extends BaseBot { ...@@ -1367,15 +1403,45 @@ public class DplBotService extends BaseBot {
break; break;
} }
case 4: { case 4: {
index = 3; int count = 15;
String countStr = dplBotService.getSessionAttribute("count");
if (countStr != null) count = Integer.parseInt(countStr);
if (intentRequest.getQuery().getOriginal().contains("页")) {
//update
String updateCount = dplBotService.getSessionAttribute("updateCount");
int update = 1;
if (updateCount != null) update = Integer.valueOf(updateCount);
RankingDocument document = RankUtil.updateRankDocument(update);
if (document == null) {
detail.setResponse(buildErrorResponse("排行榜已经被您翻到底啦,没有了"));
break;
}
count = Integer.parseInt(document.getCount());
RenderDocument render = new RenderDocument(document);
dplBotService.addDirective(render);
detail.getDirectives().add(render);
dplBotService.setSessionAttribute("pageIndex",null);
detail.getAttributes().put("pageIndex",null);
dplBotService.setSessionAttribute("count", document.getCount());
detail.getAttributes().put("count", document.getCount());
dplBotService.setSessionAttribute("updateCount", String.valueOf(update+1));
detail.getAttributes().put("updateCount", String.valueOf(update+1));
detail.setResponse(buildErrorResponse(new StringBuilder("为您刷新排行榜,下面是排行")
.append(update*15).append("到").append(update*15+count).append("的作品").toString()));
break;
}
index = 0;
if (pageIndex != null) index = Integer.parseInt(pageIndex); if (pageIndex != null) index = Integer.parseInt(pageIndex);
ExecuteCommands executeCommands = new ExecuteCommands(); ExecuteCommands executeCommands = new ExecuteCommands();
ScrollToIndexCommand scroll = new ScrollToIndexCommand(); ScrollToIndexCommand scroll = new ScrollToIndexCommand();
scroll.setComponentId("scrollToIndex"); scroll.setComponentId("scrollToIndex");
index += 4; index += 4;
if (index >= 15) index = 14; if (index >= count) {
detail.setResponse(buildErrorResponse("请说下一页刷新榜单"));
break;
}
scroll.setIndex(index); scroll.setIndex(index);
scroll.setAlign(ScrollToIndexCommand.AlignType.LAST); scroll.setAlign(ScrollToIndexCommand.AlignType.FIRST);
executeCommands.addCommand(scroll); executeCommands.addCommand(scroll);
dplBotService.addDirective(executeCommands); dplBotService.addDirective(executeCommands);
detail.getDirectives().add(executeCommands); detail.getDirectives().add(executeCommands);
...@@ -1394,14 +1460,14 @@ public class DplBotService extends BaseBot { ...@@ -1394,14 +1460,14 @@ public class DplBotService extends BaseBot {
CollectHistoryDocument document = TempleUtils.getHistory(getUserId()); CollectHistoryDocument document = TempleUtils.getHistory(getUserId());
RenderDocument render = new RenderDocument(document); RenderDocument render = new RenderDocument(document);
dplBotService.addDirective(render); dplBotService.addDirective(render);
dplBotService.addDirective(new PushStack()); //dplBotService.addDirective(new PushStack());
dplBotService.setSessionAttribute(PRE_COLLE,document.getIdToken()); dplBotService.setSessionAttribute(PRE_COLLE,document.getIdToken());
dplBotService.setSessionAttribute("ranking", null); dplBotService.setSessionAttribute("ranking", null);
dplBotService.setSessionAttribute("recommand", null); dplBotService.setSessionAttribute("recommand", null);
dplBotService.setSessionAttribute(BACK_TRACE, "02"); dplBotService.setSessionAttribute(BACK_TRACE, "02");
detail.getDirectives().add(render); detail.getDirectives().add(render);
detail.getDirectives().add(new PushStack()); //detail.getDirectives().add(new PushStack());
detail.getAttributes().put("ranking", null); detail.getAttributes().put("ranking", null);
detail.getAttributes().put("recommand", null); detail.getAttributes().put("recommand", null);
detail.getAttributes().put(PRE_COLLE,document.getIdToken()); detail.getAttributes().put(PRE_COLLE,document.getIdToken());
...@@ -1415,8 +1481,8 @@ public class DplBotService extends BaseBot { ...@@ -1415,8 +1481,8 @@ public class DplBotService extends BaseBot {
RenderDocument render = new RenderDocument(); RenderDocument render = new RenderDocument();
render.setDocument(recommandDocument); render.setDocument(recommandDocument);
dplBotService.addDirective(render); dplBotService.addDirective(render);
dplBotService.addDirective(new PushStack()); //dplBotService.addDirective(new PushStack());
detail.getDirectives().add(new PushStack()); //detail.getDirectives().add(new PushStack());
detail.getDirectives().add(render); detail.getDirectives().add(render);
String token = recommandDocument.getRecommendIdList(); String token = recommandDocument.getRecommendIdList();
if (token != null) { if (token != null) {
...@@ -1442,9 +1508,9 @@ public class DplBotService extends BaseBot { ...@@ -1442,9 +1508,9 @@ public class DplBotService extends BaseBot {
RenderDocument render = new RenderDocument(); RenderDocument render = new RenderDocument();
render.setDocument(document); render.setDocument(document);
dplBotService.addDirective(render); dplBotService.addDirective(render);
dplBotService.addDirective(new PushStack()); //dplBotService.addDirective(new PushStack());
detail.getDirectives().add(render); detail.getDirectives().add(render);
detail.getDirectives().add(new PushStack()); //detail.getDirectives().add(new PushStack());
String token = document.getRankBotIds(); String token = document.getRankBotIds();
if (token != null) { if (token != null) {
dplBotService.setSessionAttribute("ranking", token); dplBotService.setSessionAttribute("ranking", token);
...@@ -1455,6 +1521,12 @@ public class DplBotService extends BaseBot { ...@@ -1455,6 +1521,12 @@ public class DplBotService extends BaseBot {
detail.getAttributes().put("recommand", null); detail.getAttributes().put("recommand", null);
detail.getAttributes().put(PRE_COLLE, null); detail.getAttributes().put(PRE_COLLE, null);
} }
dplBotService.setSessionAttribute("pageIndex",null);
dplBotService.setSessionAttribute("count",null);
dplBotService.setSessionAttribute("updateCount",null);
detail.getAttributes().put("pageIndex",null);
detail.getAttributes().put("count",null);
detail.getAttributes().put("updateCount",null);
dplBotService.setSessionAttribute("pageSign", "4"); dplBotService.setSessionAttribute("pageSign", "4");
detail.getAttributes().put("pageSign", "4"); detail.getAttributes().put("pageSign", "4");
dplBotService.setSessionAttribute(BACK_TRACE, "04"); dplBotService.setSessionAttribute(BACK_TRACE, "04");
...@@ -1652,6 +1724,8 @@ public class DplBotService extends BaseBot { ...@@ -1652,6 +1724,8 @@ public class DplBotService extends BaseBot {
document.getMainTemplate().getItems().get(2).setSrc(data.getAudio()); document.getMainTemplate().getItems().get(2).setSrc(data.getAudio());
FUNNY_DEFAULT_DOCUMENT = document; FUNNY_DEFAULT_DOCUMENT = document;
RenderDocument render = new RenderDocument(document); RenderDocument render = new RenderDocument(document);
dplBotService.addDirective(new PushStack());
detail.getDirectives().add(new PushStack());
dplBotService.addDirective(render); dplBotService.addDirective(render);
//detail.getDirectives().add(render); //detail.getDirectives().add(render);
LAST_OUTTIME_RESULT.put(userId, detail); LAST_OUTTIME_RESULT.put(userId, detail);
...@@ -1745,6 +1819,135 @@ public class DplBotService extends BaseBot { ...@@ -1745,6 +1819,135 @@ public class DplBotService extends BaseBot {
} }
} }
private Response dealOpenNumInHome(int num, OverTimeDetail detail) {
if (num > 0 && num <= 10) {
GameProjectTb bot = ScheduleService.getRankingList().get(num-1);
return enterProductInfo(bot.getName(), detail);
} else if (num > 10 && num <= 20) {
GameProjectTb bot = ScheduleService.getRecommendList().get(num-11);
return enterProductInfo(bot.getName(), detail);
} else if (num > 20 && num <= 30) {
String categoryName = ScheduleService.CATEGORY[num-21];
displayCategoryProd(categoryName);
CATEGORY_PROD_HEAD.setHeaderTitle(categoryName);
RenderDocument render = new RenderDocument(CATEGORY_PROD);
this.addDirective(render);
detail.getDirectives().add(render);
return buildErrorResponse(new StringBuilder("为您打开").append(categoryName).append("类作品").toString());
// this.addDirective(new PushStack());
// detail.getDirectives().add(new PushStack());
}
else {
return buildErrorResponse("这数字超出我的范围了");
}
}
private Response enterProductInfo(String productName, OverTimeDetail detail) {
OnProductDetail productDetail = ScheduleService.PRODUCT_NAME_DETAIL.get(productName);
if (productDetail == null && !productName.equals("清新传")) {
return buildErrorResponse("目前不支持该作品");
}
String imgUrl = new StringBuilder(Constants.IMG_PREFIX).append(productDetail.getBannerImgUrl()).toString();
List<Item> content = PROD_INFO.getMainTemplate().getItems().get(2).getItems().get(0).getItems().get(0).getItems();
// product picture
content.get(0).setSrc(imgUrl);
// text content
List<Item> contentText = content.get(1).getItems();
// product name
productName = correctName(productName);
contentText.get(0).setText(productName);
// product create time
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
String dateString = formatter.format(productDetail.getCreateTime());
contentText.get(1).getItems().get(0).setText(new StringBuilder(Constants.PRODUCT_INTRO.CREATE_TIME).append(dateString).toString());
// product author
contentText.get(1).getItems().get(1).setText(new StringBuilder(Constants.PRODUCT_INTRO.AUTHOR).append(productDetail.getAuthorName()).toString());
// product labels
StringBuilder labels = new StringBuilder(Constants.PRODUCT_INTRO.LABEL);
for (String label: productDetail.getLabels()) {
labels.append(Constants.PRODUCT_INTRO.SPACE).append(label);
}
contentText.get(2).getItems().get(0).setText(labels.toString());
// product introduction
contentText.get(3).getItems().get(0).setText(productDetail.getIntro());
List<Item> icons = contentText.get(4).getItems();
// "start product" container button
String enterProName = new StringBuilder(Constants.PRE_ENTER_PRODUCT).append(productName).toString();
icons.get(0).setComponentId(enterProName);
icons.get(0).getOnClick().get(0).setComponentId(enterProName);
String accessToken = getAccessToken();
if (accessToken != null) {
// flower container button
Integer count = getUserSendFlowerNum(productDetail.getBotAccount());
Item flower = icons.get(1);
flower.getItems().get(1).setText(USER_SEND_FLOWER+count);
String flowerReward = new StringBuilder(FLOWE).append(productDetail.getBotAccount()).toString();
flower.setComponentId(flowerReward);
flower.getOnClick().get(0).setComponentId(flowerReward);
// collection container button
boolean collec = didUserCollecThisProduct(productDetail.getBotAccount());
Item collecButton = icons.get(2);
if (collec) {
collecButton.getItems().get(1).setText(COLLECED);
collecButton.getItems().get(0).setSrc(COLLECTED_IMG_URL);
String unCollecId = new StringBuilder(UN_COLLEC_ID).append(productDetail.getBotAccount()).toString();
collecButton.setComponentId(unCollecId);
collecButton.getOnClick().get(0).setComponentId(unCollecId);
} else {
collecButton.getItems().get(1).setText(UN_COLLEC);
collecButton.getItems().get(0).setSrc(UN_COLLECTED_IMG_URL);
String collecId = new StringBuilder(COLLEC_ID).append(productDetail.getBotAccount()).toString();
collecButton.setComponentId(collecId);
collecButton.getOnClick().get(0).setComponentId(collecId);
}
} else {
Item flower = icons.get(1);
flower.getItems().get(1).setText(FLOWER);
flower.setComponentId(FLOWER_LOAD);
flower.getOnClick().get(0).setComponentId(FLOWER_LOAD);
Item collecButton = icons.get(2);
collecButton.getItems().get(1).setText(UN_COLLEC);
collecButton.getItems().get(0).setSrc(UN_COLLECTED_IMG_URL);
collecButton.setComponentId(FLOWER_LOAD);
collecButton.getOnClick().get(0).setComponentId(FLOWER_LOAD);
}
RenderDocument renderDocument = new RenderDocument(PROD_INFO);
this.addDirective(renderDocument);
this.addDirective(new PushStack());
detail.getDirectives().add(renderDocument);
detail.getDirectives().add(new PushStack());
String trace = getSessionAttribute(BACK_TRACE);
log.info("before trace------------:{}",trace);
StringBuilder builder = new StringBuilder();
if (trace == null || trace.length() < 2) {
builder.append("00");
} else if (trace.length()>2) {
builder.append(trace, 0, 2);
} else {
builder.append(trace);
}
trace = builder.append(productDetail.getBotAccount()).toString();
log.info("after trace------------:{}",trace);
this.setSessionAttribute(BACK_TRACE, trace);
this.setSessionAttribute("pageSign",null);
detail.getAttributes().put(BACK_TRACE, trace);
detail.getAttributes().put("pageSign",null);
return new Response();
}
private FunnyDocument displayFunnyRecommandPage(String word) { private FunnyDocument displayFunnyRecommandPage(String word) {
try { try {
List<String> botNames = Utils.getRecommandBotNames(word); List<String> botNames = Utils.getRecommandBotNames(word);
......
...@@ -26,6 +26,7 @@ import java.util.concurrent.ConcurrentHashMap; ...@@ -26,6 +26,7 @@ import java.util.concurrent.ConcurrentHashMap;
@Slf4j @Slf4j
@Component @Component
public class ScheduleService implements InitializingBean { public class ScheduleService implements InitializingBean {
static int allProductCount;
static volatile List<GameProjectTb> RANKING_LIST = new ArrayList<>(); static volatile List<GameProjectTb> RANKING_LIST = new ArrayList<>();
static volatile List<GameProjectTb> RECOMMEND_LIST = new ArrayList<>(); static volatile List<GameProjectTb> RECOMMEND_LIST = new ArrayList<>();
static volatile List<OnProductDetail> ALL_ON_PRODUCT = new ArrayList<>(); static volatile List<OnProductDetail> ALL_ON_PRODUCT = new ArrayList<>();
...@@ -64,7 +65,7 @@ public class ScheduleService implements InitializingBean { ...@@ -64,7 +65,7 @@ public class ScheduleService implements InitializingBean {
@Scheduled(cron = "0 0 19 * * ?") @Scheduled(cron = "0 0 19 * * ?")
public void initRankingList() { public void initRankingList() {
new Thread(() -> { new Thread(() -> {
RANKING_LIST = gameProjectTbRepository.findFirst15ByApplyStatusOrderByWatchDesc(1); RANKING_LIST = gameProjectTbRepository.findFirst10ByApplyStatusOrderByWatchDesc(1);
//log.info("排行榜:{}", RANKING_LIST); //log.info("排行榜:{}", RANKING_LIST);
}).start(); }).start();
//log.error("更新排行榜出错:{}", e.getMessage()); //log.error("更新排行榜出错:{}", e.getMessage());
...@@ -83,6 +84,7 @@ public class ScheduleService implements InitializingBean { ...@@ -83,6 +84,7 @@ public class ScheduleService implements InitializingBean {
public void initAllOnTableProductInfo() { public void initAllOnTableProductInfo() {
new Thread(() -> { new Thread(() -> {
ALL_ON_PRODUCT = allOnProductInfoRepository.findAllByApplyStatus(1); ALL_ON_PRODUCT = allOnProductInfoRepository.findAllByApplyStatus(1);
allProductCount = ALL_ON_PRODUCT.size();
for (OnProductDetail item : ALL_ON_PRODUCT) { for (OnProductDetail item : ALL_ON_PRODUCT) {
String productName = item.getName(); String productName = item.getName();
String botAccount = item.getBotAccount(); String botAccount = item.getBotAccount();
...@@ -190,4 +192,12 @@ public class ScheduleService implements InitializingBean { ...@@ -190,4 +192,12 @@ public class ScheduleService implements InitializingBean {
public static List<String> getExceptBotAccount() { public static List<String> getExceptBotAccount() {
return EXCEPT_BOT_ACCOUNT; return EXCEPT_BOT_ACCOUNT;
} }
public static List<OnProductDetail> getAllOnProduct() {
return ALL_ON_PRODUCT;
}
public static int getAllProductCount() {
return allProductCount;
}
} }
...@@ -22,9 +22,8 @@ ...@@ -22,9 +22,8 @@
}, },
{ {
"type": "Header", "type": "Header",
"headerImage": "https://skillstore.cdn.bcebos.com/icon/23/fc7581b7-b505-1f44-ab52-3d9f5e567dfd.png",
"headerTitle": "横向列表", "headerTitle": "横向列表",
"hasBackIcon": true "hasBackIcon": false
}, },
{ {
"type": "Container", "type": "Container",
......
...@@ -2,27 +2,27 @@ ...@@ -2,27 +2,27 @@
"type": "Container", "type": "Container",
"flex-direction": "row", "flex-direction": "row",
"margin-bottom": "15dp", "margin-bottom": "15dp",
"margin-top": "15dp",
"items": [ "items": [
{ {
"type": "Text", "type": "Text",
"text": "作品排行榜", "text": "排行榜",
"font-size": "35dp", "font-size": "38dp",
"margin-left": "30dp" "margin-left": "30dp"
}, },
{ {
"type": "Frame", "type": "Frame",
"margin-left": "15dp", "margin-left": "15dp",
"border-width": "1dp",
"border-top-left-radius": "25dp", "border-top-left-radius": "25dp",
"border-top-right-radius": "15dp", "border-top-right-radius": "15dp",
"border-bottom-right-radius": "15dp", "border-bottom-right-radius": "15dp",
"padding-vertical": "8dp", "padding-vertical": "8dp",
"padding-horizontal": "15dp", "padding-horizontal": "15dp",
"border-color": "rgb(255,255,255)", "background-color": "rgb(105,105,105)",
"items": [ "items": [
{ {
"type": "Text", "type": "Text",
"font-size": "15dp", "font-size": "28dp",
"color": "rgb(255,255,255)" "color": "rgb(255,255,255)"
} }
] ]
......
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
{ {
"type": "Header", "type": "Header",
"headerImage": "https://aliyun-hz1.chewrobot.com/xiaodu/image/5b2d0a11/lvzhou/15640330891628686.jpg", "headerImage": "https://aliyun-hz1.chewrobot.com/xiaodu/image/5b2d0a11/lvzhou/15640330891628686.jpg",
"headerTitle": "交游天下" "headerTitle": "交游天下",
"hasBackIcon": false
}, },
{ {
"type": "ScrollView", "type": "ScrollView",
...@@ -33,43 +34,34 @@ ...@@ -33,43 +34,34 @@
"height": "100%", "height": "100%",
"width": "100%", "width": "100%",
"componentId": "scrollCom", "componentId": "scrollCom",
"onLoaded": [
{
"type": "ScrollToIndex",
"componentId": "rankScroll",
"index": 7,
"align": "center"
},
{
"type": "ScrollToIndex",
"componentId": "recomScroll",
"index": 6,
"align": "center"
}
],
"items": [ "items": [
{ {
"type": "Container", "type": "Container",
"height": "250dp", "height": "250dp",
"width": "100%", "width": "100%",
"margin-bottom": "20dp",
"items": [ "items": [
{ {
"type": "List", "type": "List",
"height": "250dp", "height": "250dp",
"margin-left": "15dp",
"width": "100%", "width": "100%",
"direction": "horizontal", "direction": "horizontal",
"componentId": "rankScroll",
"items": [ "items": [
{ {
"type": "Container", "type": "Container",
"align-items": "center", "height":"200dp",
"margin-left": "30dp", "width":"200dp",
"margin-left": "15dp",
"items": [ "items": [
{ {
"type": "Image", "type": "Image",
"componentId": "${data.imageId}", "componentId": "${data.imageId}",
"width": "160dp", "width": "180dp",
"height": "160dp", "height": "180dp",
"margin-left": "7dp",
"margin-top": "7dp",
"position": "absolute",
"border-radius": "15dp", "border-radius": "15dp",
"src": "${data.imageSrc}", "src": "${data.imageSrc}",
"scale-type": "fitXY", "scale-type": "fitXY",
...@@ -81,9 +73,32 @@ ...@@ -81,9 +73,32 @@
] ]
}, },
{ {
"type": "Frame",
"width": "35dp",
"height": "35dp",
"background-color": "rgb(0,0,0)",
"border-radius": "10dp",
"items": [
{
"type": "Container",
"width": "100%",
"height": "100%",
"align-items":"center",
"items": [
{
"type": "Text",
"text": "${data.num}",
"font-size": "22dp"
}
]
}
]
},
{
"type": "Text", "type": "Text",
"font-size": "24dp", "font-size": "28dp",
"margin-top": "10dp", "margin-top": "157dp",
"margin-left": "7dp",
"text": "${data.imageName}" "text": "${data.imageName}"
} }
] ]
...@@ -96,25 +111,30 @@ ...@@ -96,25 +111,30 @@
"type": "Container", "type": "Container",
"height": "250dp", "height": "250dp",
"width": "100%", "width": "100%",
"margin-top": "30dp", "margin-top": "50dp",
"margin-bottom": "20dp",
"items": [ "items": [
{ {
"type": "List", "type": "List",
"height": "100%", "height": "100%",
"width": "100%", "width": "100%",
"componentId": "recomScroll", "margin-left": "15dp",
"direction": "horizontal", "direction": "horizontal",
"items": [ "items": [
{ {
"type": "Container", "type": "Container",
"margin-left": "30dp", "margin-left": "15dp",
"align-items": "center", "height":"200dp",
"width":"200dp",
"items": [ "items": [
{ {
"type": "Image", "type": "Image",
"componentId": "${data.imageId}", "componentId": "${data.imageId}",
"width": "160dp", "width": "180dp",
"height": "160dp", "height": "180dp",
"margin-left": "7dp",
"margin-top": "7dp",
"position": "absolute",
"border-radius": "15dp", "border-radius": "15dp",
"src": "${data.imageSrc}", "src": "${data.imageSrc}",
"scale-type": "fitXY", "scale-type": "fitXY",
...@@ -126,9 +146,32 @@ ...@@ -126,9 +146,32 @@
] ]
}, },
{ {
"type": "Frame",
"width": "35dp",
"height": "35dp",
"background-color": "rgb(0,0,0)",
"border-radius": "10dp",
"items": [
{
"type": "Container",
"width": "100%",
"height": "100%",
"align-items":"center",
"items": [
{
"type": "Text",
"text": "${data.num}",
"font-size": "22dp"
}
]
}
]
},
{
"type": "Text", "type": "Text",
"font-size": "24dp", "font-size": "28dp",
"margin-top": "10dp", "margin-left": "7dp",
"margin-top": "157dp",
"text": "${data.imageName}" "text": "${data.imageName}"
} }
] ]
...@@ -141,25 +184,30 @@ ...@@ -141,25 +184,30 @@
"type": "Container", "type": "Container",
"height": "250dp", "height": "250dp",
"width": "100%", "width": "100%",
"margin-top": "30dp", "margin-top": "50dp",
"margin-bottom": "60dp", "margin-bottom": "70dp",
"items": [ "items": [
{ {
"type": "List", "type": "List",
"height": "100%", "height": "100%",
"width": "100%", "width": "100%",
"margin-left": "15dp",
"direction": "horizontal", "direction": "horizontal",
"items": [ "items": [
{ {
"type": "Container", "type": "Container",
"align-items": "center", "margin-left": "15dp",
"margin-left": "30dp", "height":"200dp",
"width":"200dp",
"items": [ "items": [
{ {
"type": "Image", "type": "Image",
"componentId": "${data.imageId}", "componentId": "${data.imageId}",
"width": "160dp", "width": "160dp",
"height": "160dp", "height": "160dp",
"margin-left": "7dp",
"margin-top": "7dp",
"position": "absolute",
"border-radius": "15dp", "border-radius": "15dp",
"src": "${data.imageSrc}", "src": "${data.imageSrc}",
"scale-type": "fitXY", "scale-type": "fitXY",
...@@ -171,9 +219,34 @@ ...@@ -171,9 +219,34 @@
] ]
}, },
{ {
"type": "Frame",
"width": "35dp",
"height": "35dp",
"background-color": "rgb(0,0,0)",
"border-radius": "10dp",
"items": [
{
"type": "Container",
"width": "100%",
"height": "100%",
"align-items":"center",
"items": [
{
"type": "Text",
"text-overflow": "ellipsis",
"max-lines": 1,
"text": "${data.num}",
"font-size": "22dp"
}
]
}
]
},
{
"type": "Text", "type": "Text",
"font-size": "24dp", "font-size": "28dp",
"margin-top": "10dp", "margin-left": "7dp",
"margin-top": "137dp",
"text": "${data.imageName}" "text": "${data.imageName}"
} }
] ]
...@@ -184,7 +257,7 @@ ...@@ -184,7 +257,7 @@
}, },
{ {
"type": "Container", "type": "Container",
"height": "50dp", "height": "80dp",
"width": "100%" "width": "100%"
} }
] ]
......
...@@ -17,9 +17,8 @@ ...@@ -17,9 +17,8 @@
}, },
{ {
"type": "Header", "type": "Header",
"headerImage": "https://skillstore.cdn.bcebos.com/icon/23/fc7581b7-b505-1f44-ab52-3d9f5e567dfd.png",
"headerTitle": "交游天下", "headerTitle": "交游天下",
"hasBackIcon": true "hasBackIcon": false
}, },
{ {
"type": "Container", "type": "Container",
...@@ -114,7 +113,7 @@ ...@@ -114,7 +113,7 @@
{ {
"type": "Text", "type": "Text",
"font-size": "25dp", "font-size": "25dp",
"line-height": "5dp", "line-height": "20dp",
"margin-top": "30dp", "margin-top": "30dp",
"max-lines": 3, "max-lines": 3,
"text-overflow": "ellipsis", "text-overflow": "ellipsis",
......
...@@ -7,65 +7,58 @@ ...@@ -7,65 +7,58 @@
], ],
"items": [ "items": [
{ {
"type": "Image",
"position": "absolute",
"top": "0dp",
"left": "0dp",
"src": "https://aliyun-hz1.chewrobot.com/xiaoduhome/image/backend.jpg",
"height": "100%",
"width": "100%"
},
{
"type": "Header",
"headerTitle": "排行榜",
"hasBackIcon": false
},
{
"type": "Container", "type": "Container",
"height": "100%", "height": "100%",
"width": "100%", "width": "100%",
"componentId": "whole",
"margin-top": "65dp",
"items": [ "items": [
{ {
"type": "Image", "type": "List",
"position": "absolute",
"top": "0dp",
"left": "0dp",
"src": "https://aliyun-hz1.chewrobot.com/xiaoduhome/image/backend.jpg",
"height": "100%",
"width": "100%"
},
{
"type": "Header",
"headerTitle": "排行榜",
"hasBackIcon": false
},
{
"type": "Container",
"height": "100%", "height": "100%",
"width": "100%", "width": "100%",
"componentId": "whole", "direction": "horizontal",
"margin-top": "65dp", "componentId": "scrollToIndex",
"items": [ "items": [
{ {
"type": "List", "type": "Container",
"height": "100%", "align-items": "center",
"width": "100%", "margin-left": "15dp",
"direction": "horizontal",
"componentId": "scrollToIndex",
"items": [ "items": [
{ {
"type": "Container", "type": "Image",
"align-items": "center", "width": "220dp",
"margin-left": "15dp", "height": "220dp",
"items": [ "componentId": "${data.imageId}",
"scale-type": "fitXY",
"border-radius": "10dp",
"src": "${data.imageSrc}",
"onClick": [
{ {
"type": "Image", "type": "SendEvent",
"width": "220dp", "componentId": "${data.imageId}"
"height": "220dp",
"componentId": "${data.imageId}",
"scale-type": "fitXY",
"border-radius": "10dp",
"src": "${data.imageSrc}",
"onClick": [
{
"type": "SendEvent",
"componentId": "${data.imageId}"
}
]
},
{
"type": "Text",
"font-size": "30dp",
"margin-top": "10dp",
"text": "${data.imageName}"
} }
] ]
},
{
"type": "Text",
"font-size": "30dp",
"margin-top": "10dp",
"text": "${data.imageName}"
} }
] ]
} }
...@@ -83,7 +76,7 @@ ...@@ -83,7 +76,7 @@
{ {
"type": "Footer", "type": "Footer",
"hints": [ "hints": [
"打开推荐作品","下一个分类","打开排行榜" "向右滑","向左滑","打开第一个","返回"
] ]
} }
] ]
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
{ {
"type": "Footer", "type": "Footer",
"hints": [ "hints": [
"打开推荐作品","下一个分类","打开排行榜" "打开第一个","下一页","返回"
] ]
} }
] ]
......
{
"type": "DPL",
"version": "1.0",
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "Image",
"position": "absolute",
"top": "0dp",
"left": "0dp",
"src": "https://aliyun-hz1.chewrobot.com/xiaoduhome/image/backend.jpg",
"height": "100%",
"width": "100%"
},
{
"type": "Header",
"headerTitle": "推荐页",
"hasBackIcon": false
},
{
"type": "Container",
"height": "100%",
"width": "100%",
"items": [
{
"type": "List",
"height": "50%",
"width": "100%",
"margin-left": "15dp",
"direction": "horizontal",
"items": [
{
"type": "Container",
"margin-left": "15dp",
"items": [
{
"type": "Image",
"width": "220dp",
"height": "220dp",
"margin-left": "7dp",
"margin-top": "7dp",
"position": "absolute",
"componentId": "${data.imageId}",
"scale-type": "fitXY",
"border-radius": "10dp",
"src": "${data.imageSrc}",
"onClick": [
{
"type": "SendEvent",
"componentId": "${data.imageId}"
}
]
},
{
"type": "Frame",
"width": "45dp",
"height": "45dp",
"background-color": "rgb(0,0,0)",
"border-radius": "10dp",
"items": [
{
"type": "Container",
"width": "100%",
"height": "100%",
"align-items":"center",
"items": [
{
"type": "Text",
"text": "${data.num}",
"font-size": "28dp",
"margin-top": "157dp",
"margin-left": "7dp"
}
]
}
]
},
{
"type": "Text",
"font-size": "30dp",
"margin-top": "10dp",
"text": "${data.imageName}"
}
]
}
]
},
{
"type": "List",
"height": "50%",
"width": "100%",
"margin-left": "15dp",
"direction": "horizontal",
"items": [
{
"type": "Container",
"margin-left": "15dp",
"items": [
{
"type": "Image",
"width": "220dp",
"height": "220dp",
"margin-left": "7dp",
"margin-top": "7dp",
"position": "absolute",
"componentId": "${data.imageId}",
"scale-type": "fitXY",
"border-radius": "10dp",
"src": "${data.imageSrc}",
"onClick": [
{
"type": "SendEvent",
"componentId": "${data.imageId}"
}
]
},
{
"type": "Frame",
"width": "45dp",
"height": "45dp",
"background-color": "rgb(0,0,0)",
"border-radius": "10dp",
"items": [
{
"type": "Container",
"width": "100%",
"height": "100%",
"align-items":"center",
"items": [
{
"type": "Text",
"text": "${data.num}",
"font-size": "28dp",
"margin-top": "157dp",
"margin-left": "7dp"
}
]
}
]
},
{
"type": "Text",
"font-size": "30dp",
"margin-top": "10dp",
"text": "${data.imageName}"
}
]
}
]
}
]
},
{
"type": "Container",
"position": "absolute",
"width": "100%",
"left": "0",
"bottom": "0",
"items": [
{
"type": "Footer",
"hints": [
"打开第一个","下一页","返回"
]
}
]
}
]
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment