From e0576e891287f2b5e111f1f6c316a620ada4af42 Mon Sep 17 00:00:00 2001 From: changpengfei Date: Tue, 7 Sep 2021 16:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AD=97=E5=85=B8=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/lyms/talkonlineweb/controller/RegionsController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/RegionsController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/RegionsController.java index 4a0e3ba..dd15b8c 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/RegionsController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/RegionsController.java @@ -10,6 +10,7 @@ import com.lyms.talkonlineweb.service.LymsDictService; import com.lyms.talkonlineweb.service.RegionsService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; @@ -52,7 +53,7 @@ public class RegionsController { * @param dict * @return */ - @GetMapping("saveDict") + @PostMapping("saveDict") public BaseResponse saveDict(LymsDict dict){ BaseResponse baseResponse=new BaseResponse(); boolean f=lymsDictService.save(dict); -- 1.8.3.1