--新增书评接口,端口修改

This commit is contained in:
yc13649764453
2023-09-12 18:10:26 +08:00
parent 408782f7aa
commit 4deeb605f8
28 changed files with 703 additions and 563 deletions

View File

@@ -39,7 +39,7 @@ public class PublisherController {
* 列表
*/
@RequestMapping("/list")
@RequiresPermissions("book:publisher:list")
// @RequiresPermissions("book:publisher:list")
public R list(@RequestParam Map<String, Object> params){
PageUtils page = publisherService.queryPage(params);
@@ -68,7 +68,7 @@ public class PublisherController {
* 信息
*/
@RequestMapping("/info/{id}")
@RequiresPermissions("book:publisher:info")
// @RequiresPermissions("book:publisher:info")
public R info(@PathVariable("id") Integer id){
PublisherEntity publisher = publisherService.getById(id);
@@ -99,7 +99,7 @@ public class PublisherController {
* 保存
*/
@RequestMapping("/save")
@RequiresPermissions("book:publisher:save")
// @RequiresPermissions("book:publisher:save")
public R save(@RequestBody PublisherEntity publisher){
publisher.setDelFlag(0);
publisherService.save(publisher);
@@ -111,7 +111,7 @@ public class PublisherController {
* 修改
*/
@RequestMapping("/update")
@RequiresPermissions("book:publisher:update")
// @RequiresPermissions("book:publisher:update")
public R update(@RequestBody PublisherEntity publisher){
publisherService.updateById(publisher);
@@ -122,7 +122,7 @@ public class PublisherController {
* 删除
*/
@RequestMapping("/delete")
@RequiresPermissions("book:publisher:delete")
// @RequiresPermissions("book:publisher:delete")
public R delete(@RequestBody Integer[] ids){
publisherService.removeByIds(Arrays.asList(ids));