|
@@ -279,7 +279,7 @@ func SaveToPushsubscribe(isVipUser, isProjectInfo bool, userId string, matchInfo
|
|
|
}
|
|
|
//全部列表缓存
|
|
|
allCache, err := jy.SubscribePush.GetAllCache(userId)
|
|
|
- if err != nil && allCache != nil {
|
|
|
+ if err == nil && allCache != nil {
|
|
|
subPush_datas = append(subPush_datas, allCache...)
|
|
|
if len(subPush_datas) > jy.AllSubPushCacheSize {
|
|
|
subPush_datas = subPush_datas[:jy.AllSubPushCacheSize]
|