|
|
@@ -125,7 +125,8 @@ public class CollectionController extends BaseController {
|
|
|
@GetMapping("/myLikes")
|
|
|
@ApiOperation("我收藏的")
|
|
|
public List<CollectionDTO> myLikes(@RequestParam(defaultValue = "1") Long companyId) {
|
|
|
- return collectionService.toDTO(collectionRepo.userLikes(SecurityUtils.getAuthenticatedUser().getId(), companyId));
|
|
|
+ return collectionService
|
|
|
+ .toDTO(collectionRepo.userLikes(SecurityUtils.getAuthenticatedUser().getId(), companyId));
|
|
|
}
|
|
|
|
|
|
@PreAuthorize("hasAnyRole('ADMIN','SAAS')")
|
|
|
@@ -242,6 +243,8 @@ public class CollectionController extends BaseController {
|
|
|
map.put("onlyShowNum", String.valueOf(onlyShowNum));
|
|
|
map.put("consignmentNum", String.valueOf(consignmentNum));
|
|
|
map.put("transactingNum", String.valueOf(transactingNum));
|
|
|
+ map.put("totalNum", String.valueOf(total));
|
|
|
+ map.put("tranferingNum", String.valueOf(tranferCount));
|
|
|
return map;
|
|
|
}
|
|
|
}
|