File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
base/src/main/java/com/tinyengine/it/controller Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2828import org .springframework .web .bind .annotation .GetMapping ;
2929import org .springframework .web .bind .annotation .PathVariable ;
3030import org .springframework .web .bind .annotation .PostMapping ;
31+ import org .springframework .web .bind .annotation .PutMapping ;
3132import org .springframework .web .bind .annotation .RequestBody ;
3233import org .springframework .web .bind .annotation .RequestMapping ;
3334import org .springframework .web .bind .annotation .RestController ;
@@ -132,7 +133,7 @@ public Result<PlatformHistory> createPlatformHistory(@Valid @RequestBody Platfor
132133 schema = @ Schema (implementation = PlatformHistory .class ))),
133134 @ ApiResponse (responseCode = "400" , description = "请求失败" )})
134135 @ SystemControllerLog (description = "修改单个PlatformHistory信息" )
135- @ PostMapping ("/platform-history/update/{id}" )
136+ @ PutMapping ("/platform-history/update/{id}" )
136137 public Result <PlatformHistory > updatePlatformHistory (@ PathVariable Integer id , @ RequestBody PlatformHistory platformHistory ) {
137138 platformHistory .setId (id );
138139 return platformHistoryService .updatePlatformHistoryById (platformHistory );
You can’t perform that action at this time.
0 commit comments