|
|
|
@ -141,12 +141,12 @@ public class JournalController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "2.2 获取用户收藏最新一期的期刊封面")
|
|
|
|
|
@GetMapping("/collectLatestImage/{userId}")
|
|
|
|
|
@GetMapping("/collectLatestImage")
|
|
|
|
|
@GlobalInterceptor(checkAppUserLogin = true)
|
|
|
|
|
public Result<String> collectLatestImage(
|
|
|
|
|
@RequestHeader(value = "Authorization", required = true) String authorization,
|
|
|
|
|
@PathVariable @VerifyParam(required = true) String userId) {
|
|
|
|
|
String objectId=getCollectLatest(userId);
|
|
|
|
|
@RequestHeader(value = "Authorization", required = true) String authorization) {
|
|
|
|
|
UserLoginDto user = jwtUtil.getUserLoginDto(authorization);
|
|
|
|
|
String objectId=getCollectLatest(user.getUserId());
|
|
|
|
|
if (StringTools.isEmpty(objectId)) {
|
|
|
|
|
return Result.success(null);
|
|
|
|
|
}
|
|
|
|
|