|
@@ -318,7 +318,7 @@ public class GoodsDonController {
|
|
|
String key = RedisService.key.YH_HOME_PAGHE_CACHE.getName() + "recommend:" + id;
|
|
String key = RedisService.key.YH_HOME_PAGHE_CACHE.getName() + "recommend:" + id;
|
|
|
Object value = redisService.get(key);
|
|
Object value = redisService.get(key);
|
|
|
Long userId = null;
|
|
Long userId = null;
|
|
|
- if (isLogin) {
|
|
|
|
|
|
|
+ if (isLogin != null && isLogin) {
|
|
|
userId = StpUserUtil.getLoginIdAsLong();
|
|
userId = StpUserUtil.getLoginIdAsLong();
|
|
|
}
|
|
}
|
|
|
final Long fUid = userId;
|
|
final Long fUid = userId;
|