mirror of
https://github.com/201206030/novel-plus.git
synced 2025-08-16 22:18:44 +00:00
fix: 删除废弃接口
可能导致 XSS 漏洞
This commit is contained in:
parent
1ef64edcda
commit
d6faab8ca1
@ -110,20 +110,6 @@ public class AuthorController extends BaseController {
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 发布章节内容
|
||||
|
Loading…
Reference in New Issue
Block a user