Ver código fonte

Merge branch 'master' of http://git.ycjcjy.com/civilized_city/service

Your Name 2 anos atrás
pai
commit
f864c4d3d6

+ 1
- 0
src/main/java/com/example/civilizedcity/controller/TdLocTypeController.java Ver arquivo

@@ -83,6 +83,7 @@ public class TdLocTypeController extends BaseController {
83 83
     @PutMapping("/tdLocType/{id}")
84 84
     public ResponseBean edit(@ApiParam("对象实体") @RequestBody TdLocType tdLocType,
85 85
                             @ApiParam("对象ID") @PathVariable String id ) throws Exception {
86
+        tdLocType.setTypeId(id);
86 87
         tdLocTypeService.updateById(tdLocType);
87 88
         return ResponseBean.success(tdLocType);
88 89
     }