Commit c80e477b authored by hezhen's avatar hezhen

Merge branch 'master_activity' into base-modify

parents 0c2394d0 eaac87a3
...@@ -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
...@@ -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>
......
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