Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
kings1990 committed Sep 26, 2024
1 parent 207b2e1 commit 83a6d68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/en/guide/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,9 @@ public class UrlTestController {
value = {"/v1/save"},
method = {RequestMethod.POST}
)
public Integer testUrl(){
return 1;
}
```

:::
Expand Down
7 changes: 5 additions & 2 deletions docs/guide/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ raw 中不再截断 html 返回类型的响应,同时可以对 html 进行预

```java
@Data
public class CommonDTO<TR> implements Serializable {
public class CommonDTO<T,R> implements Serializable {
private String accessToken;
private String appKey;
private String clientId;
Expand All @@ -1242,7 +1242,7 @@ public class CommonDTO<T,R> implements Serializable {
}

@PostMapping(value = "/apply")
public Integer loanApply(@RequestBody CommonDTO<Book TestDTO> req){
public Integer loanApply(@RequestBody CommonDTO<Book, TestDTO> req){
return 1;
}
```
Expand Down Expand Up @@ -1579,6 +1579,9 @@ public class UrlTestController {
value = {"/v1/save"},
method = {RequestMethod.POST}
)
public Integer testUrl(){
return 1;
}
```

:::
Expand Down

0 comments on commit 83a6d68

Please sign in to comment.