Commit e0576e891287f2b5e111f1f6c316a620ada4af42
1 parent
31c081c536
Exists in
master
增加字典管理
Showing 1 changed file with 2 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/RegionsController.java
View file @
e0576e8
... | ... | @@ -10,6 +10,7 @@ |
10 | 10 | import com.lyms.talkonlineweb.service.RegionsService; |
11 | 11 | import org.springframework.beans.factory.annotation.Autowired; |
12 | 12 | import org.springframework.web.bind.annotation.GetMapping; |
13 | +import org.springframework.web.bind.annotation.PostMapping; | |
13 | 14 | import org.springframework.web.bind.annotation.RestController; |
14 | 15 | |
15 | 16 | import java.util.List; |
... | ... | @@ -52,7 +53,7 @@ |
52 | 53 | * @param dict |
53 | 54 | * @return |
54 | 55 | */ |
55 | - @GetMapping("saveDict") | |
56 | + @PostMapping("saveDict") | |
56 | 57 | public BaseResponse saveDict(LymsDict dict){ |
57 | 58 | BaseResponse baseResponse=new BaseResponse(); |
58 | 59 | boolean f=lymsDictService.save(dict); |