Post修改Get请求

master
wuxiaolong 2023-11-25 12:41:57 +08:00
parent 1ca8cc4281
commit f4c5acc1e3
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class FenceTagController {
* *
* @return * @return
*/ */
@PostMapping("/list") @GetMapping("/list")
public Result<List<FenceTag>> list() { public Result<List<FenceTag>> list() {
return Result.success(tagService.list()); return Result.success(tagService.list());
} }