mirror of
https://gitee.com/novel_dev_team/novel-plus
synced 2026-07-20 17:54:59 +08:00
fix: 删除废弃接口
可能导致 XSS 漏洞
This commit is contained in:
@@ -110,20 +110,6 @@ public class AuthorController extends BaseController {
|
|||||||
return RestResult.ok();
|
return RestResult.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 更新章节名
|
|
||||||
*/
|
|
||||||
@PostMapping("updateIndexName")
|
|
||||||
public RestResult<Void> updateIndexName(Long indexId, String indexName, HttpServletRequest request) {
|
|
||||||
|
|
||||||
Author author = checkAuthor(request);
|
|
||||||
|
|
||||||
//更新章节名
|
|
||||||
bookService.updateIndexName(indexId, indexName, author.getId());
|
|
||||||
|
|
||||||
return RestResult.ok();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发布章节内容
|
* 发布章节内容
|
||||||
|
|||||||
Reference in New Issue
Block a user