|
@@ -53,8 +53,8 @@ public class DocFavoriteController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("根据标签ID查询列表")
|
|
|
//@PreAuthorize("@ss.hasPermi('biz:favorite:list')")
|
|
|
- @GetMapping("/listByLabelId")
|
|
|
- public List<DocFavorite> listByLabelId(@ApiParam(value = "标签ID", required = true) @RequestParam Long labelId) {
|
|
|
+ @GetMapping("/list/{labelId}")
|
|
|
+ public List<DocFavorite> listByLabelId(@ApiParam(value = "标签ID", required = true) @PathVariable Long labelId) {
|
|
|
DocFavorite docFavorite = new DocFavorite();
|
|
|
docFavorite.setLabelId(labelId);
|
|
|
List<DocFavorite> list = docFavoriteService.selectDocFavoriteList(docFavorite);
|