Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
d140f353
Commit
d140f353
authored
Dec 26, 2018
by
郑杰
Browse files
修复站点统计为空指针的问题
parent
27b92496
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/me/zhengjie/monitor/service/impl/VisitsServiceImpl.java
View file @
d140f353
...
@@ -42,6 +42,7 @@ public class VisitsServiceImpl implements VisitsService {
...
@@ -42,6 +42,7 @@ public class VisitsServiceImpl implements VisitsService {
visits
.
setPvCounts
(
1L
);
visits
.
setPvCounts
(
1L
);
visits
.
setIpCounts
(
1L
);
visits
.
setIpCounts
(
1L
);
visits
.
setDate
(
localDate
.
toString
());
visits
.
setDate
(
localDate
.
toString
());
visitsRepository
.
save
(
visits
);
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment