Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
c3288373
Unverified
提交
c3288373
authored
1月 26, 2022
作者:
王嘉豪
提交者:
GitHub
1月 26, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1699 from dataease/pr@v1.7@refactor_wizad
refactor: 首页优化
上级
584b8a1f
17c9b3ea
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
3 行删除
+7
-3
ReptileService.java
.../main/java/io/dataease/service/wizard/ReptileService.java
+5
-1
CardDetail.vue
frontend/src/views/wizard/details/CardDetail.vue
+1
-1
index.vue
frontend/src/views/wizard/index.vue
+1
-1
没有找到文件。
backend/src/main/java/io/dataease/service/wizard/ReptileService.java
浏览文件 @
c3288373
package
io
.
dataease
.
service
.
wizard
;
import
io.dataease.commons.utils.HttpClientConfig
;
import
io.dataease.commons.utils.HttpClientUtil
;
import
org.jsoup.Jsoup
;
import
org.jsoup.nodes.Document
;
...
...
@@ -23,8 +24,10 @@ public class ReptileService {
public
List
lastActive
()
{
List
result
=
new
ArrayList
();
try
{
HttpClientConfig
config
=
new
HttpClientConfig
();
config
.
setCocketTimeout
(
5000
);
//爬取最新数据
Document
doc
=
Jsoup
.
parse
(
HttpClientUtil
.
get
(
blogUrl
,
null
));
Document
doc
=
Jsoup
.
parse
(
HttpClientUtil
.
get
(
blogUrl
,
config
));
Elements
elementsContent
=
doc
.
getElementsByAttributeValue
(
"rel"
,
"bookmark"
);
Elements
elementsTime
=
doc
.
getElementsByTag
(
"time"
);
for
(
int
i
=
0
;
i
<
infoCount
;
i
++){
...
...
@@ -36,6 +39,7 @@ public class ReptileService {
result
.
add
(
infoMap
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
//ignore
Map
<
String
,
String
>
infoMap
=
new
HashMap
();
infoMap
.
put
(
"title"
,
"支持移动端展示,数据源新增对DB2的支持,DataEase开源数据可视化分析平台v1.6.0发布"
);
...
...
frontend/src/views/wizard/details/CardDetail.vue
浏览文件 @
c3288373
...
...
@@ -82,7 +82,7 @@ export default {
color
:
var
(
--
TextPrimary
,
#6D6D6D
);
font-size
:
12px
;
position
:
absolute
;
bottom
:
8
px
;
bottom
:
16
px
;
}
}
}
...
...
frontend/src/views/wizard/index.vue
浏览文件 @
c3288373
...
...
@@ -42,7 +42,7 @@ export default {
head
:
this
.
$t
(
'wizard.online_document'
),
content
:
this
.
$t
(
'wizard.online_document_hint'
),
bottom
:
''
,
href
:
'https://dataease.io/docs/
dev_manual/dev_manual/
'
,
href
:
'https://dataease.io/docs/
index.html
'
,
component
:
'CardDetail'
},
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论