Skip to content

Commit 68b329a

Browse files
committed
feat: Add inspection file
1 parent 3438b96 commit 68b329a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/src/main/java/com/tinyengine/it/controller/PlatformHistoryController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import org.springframework.web.bind.annotation.GetMapping;
2929
import org.springframework.web.bind.annotation.PathVariable;
3030
import org.springframework.web.bind.annotation.PostMapping;
31+
import org.springframework.web.bind.annotation.PutMapping;
3132
import org.springframework.web.bind.annotation.RequestBody;
3233
import org.springframework.web.bind.annotation.RequestMapping;
3334
import 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);

0 commit comments

Comments
 (0)