Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
c80e477b
Commit
c80e477b
authored
Oct 09, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_activity' into base-modify
parents
0c2394d0
eaac87a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AccessTokenService.java
.../com/xxfc/platform/summit/service/AccessTokenService.java
+2
-3
ActivityMapper.xml
...ummit-server/src/main/resources/mapper/ActivityMapper.xml
+1
-0
No files found.
xx-summit/xx-summit-server/src/main/java/com/xxfc/platform/summit/service/AccessTokenService.java
View file @
c80e477b
...
@@ -79,8 +79,7 @@ public class AccessTokenService {
...
@@ -79,8 +79,7 @@ public class AccessTokenService {
* @return String accessToken
* @return String accessToken
*/
*/
public
String
getAccessTokenStr
()
{
public
String
getAccessTokenStr
()
{
// return getAccessToken().getAccessToken();
return
getAccessToken
().
getAccessToken
();
return
null
;
}
}
...
@@ -102,7 +101,7 @@ public class AccessTokenService {
...
@@ -102,7 +101,7 @@ public class AccessTokenService {
obj
.
put
(
wy_appid
,
result
);
obj
.
put
(
wy_appid
,
result
);
Boolean
suc
=
summbitRedisTemplate
.
opsForValue
().
setIfAbsent
(
wy_appid
,
obj
.
toJSONString
());
Boolean
suc
=
summbitRedisTemplate
.
opsForValue
().
setIfAbsent
(
wy_appid
,
obj
.
toJSONString
());
if
(
suc
)
{
if
(
suc
)
{
//
summbitRedisTemplate.expire(wy_appid, result.getExpiresIn(), TimeUnit.MINUTES);
summbitRedisTemplate
.
expire
(
wy_appid
,
result
.
getExpiresIn
(),
TimeUnit
.
MINUTES
);
}
}
}
}
}
}
\ No newline at end of file
xx-summit/xx-summit-server/src/main/resources/mapper/ActivityMapper.xml
View file @
c80e477b
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
</if>
</if>
<if
test=
"type ==2"
>
<if
test=
"type ==2"
>
and is_publish=1
and is_publish=1
and is_show=1
</if>
</if>
order by rank asc , start_time desc
order by rank asc , start_time desc
</select>
</select>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment