|
|
|
@ -11,6 +11,8 @@ import com.luoo.music.dto.response.JournalFilterDTO;
|
|
|
|
|
import com.luoo.music.dto.response.JournalRespDTO;
|
|
|
|
|
import com.luoo.music.dto.response.SongRespDTO;
|
|
|
|
|
import io.swagger.annotations.*;
|
|
|
|
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.data.domain.PageRequest;
|
|
|
|
|
import org.springframework.data.redis.core.RedisTemplate;
|
|
|
|
@ -87,7 +89,7 @@ public class JournalController {
|
|
|
|
|
if(DeviceTypeUtil.isWeb(deviceType)) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (null == user) {
|
|
|
|
|
if (StringTools.isEmpty(queryReq.getCategoryId()) && null == user) {
|
|
|
|
|
queryReq.setCategoryId(null);
|
|
|
|
|
queryReq.setPageNum(1);
|
|
|
|
|
queryReq.setPageSize(10);
|
|
|
|
|