Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
wangming
/
kzy-wx
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 614915e9
authored
Mar 16, 2020
by
魏文甫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wei_master' into '105'
update See merge request
!16
2 parents
9a8919b7
da5015a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
src/main/java/com/server/web/common/service/Impl/UserServiceImpl.java
src/main/resources/servers/local/application.properties
src/main/java/com/server/web/common/service/Impl/UserServiceImpl.java
View file @
614915e
...
...
@@ -42,6 +42,7 @@ public class UserServiceImpl implements UserService {
if
(
loginUser
==
null
||
loginUser
.
getId
()
==
null
)
{
return
ResultMapUtil
.
returnMap
(
"0"
,
"请先登录!"
,
null
);
}
loginUser
=
tKzyUserMapper
.
selectByPrimaryKey
(
loginUser
.
getId
());
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
if
(
loginUser
.
getLastSignDt
()
!=
null
&&
simpleDateFormat
.
format
(
loginUser
.
getLastSignDt
()).
equals
(
simpleDateFormat
.
format
(
new
Date
())))
{
return
ResultMapUtil
.
returnMap
(
"0"
,
"您已签到!"
,
null
);
...
...
src/main/resources/servers/local/application.properties
View file @
614915e
...
...
@@ -41,9 +41,12 @@ rest.api.charset=utf-8
rest.api.secretkey
=
FoK28EsYrxuiM3ohnAurFGm2uGAHyijL
#wx.account=yiyangkeji666666
#wx.app.id=wx310b45cf0f4ed5b0
#wx.app.secret=594eccaaf75fc623ec9aa4ed6afaec6e
wx.account
=
yiyangkeji666666
wx.app.id
=
wx
310b45cf0f4ed5b0
wx.app.secret
=
5
94eccaaf75fc623ec9aa4ed6afaec6e
wx.app.id
=
wx
e37f12b1fa076c1a
wx.app.secret
=
5
7e45975dff8f558163e5e9f2ac78e87
wx.http.url
=
http://kzy-wx.jimijiayuan.cn
...
...
@@ -53,6 +56,6 @@ upyun.bucket=yxvzb
upyun.username
=
liuruichao
upyun.password
=
liuruichao123
upyun.baseDir
=
/images/
wx.tocken
=
12324432342
wx.tocken
=
64be1d2d249a460bb5c39d565f013d90
wx.http.danmu.url
=
http://192.168.0.105:8383
Write
Preview
Markdown
is supported
Attach a file
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 post a comment