Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
markliu2013 committed Mar 20, 2024
1 parent 1d5730c commit 063add5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/biq/mn/TestController.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class TestController {

@RequestMapping(method = RequestMethod.GET, value = "/version")
public BaseResponse handleVersion() {
return new DataResponse<>("93.54");
return new DataResponse<>("93.55");
}

@GetMapping("/test3")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public BaseResponse handleConfirm(@PathVariable("id") Integer id) {

@RequestMapping(method = RequestMethod.POST, value = "/{id}/addFile")
public BaseResponse handleAddFile(@PathVariable("id") Integer id, @Validated @ValidFile @RequestParam("file") MultipartFile file) {
try {
Thread.sleep(4000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
return new DataResponse<>(balanceFlowService.addFile(id, file));
}

Expand Down

0 comments on commit 063add5

Please sign in to comment.