ChatClient返回响应:返回实体类
This commit is contained in:
parent
c96f375592
commit
3bbf091e93
@ -20,11 +20,11 @@ import java.util.List;
|
|||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/res")
|
@RequestMapping("/res")
|
||||||
@Tag(name = "ChatClient返回响应")
|
@Tag(name = "ChatClient返回响应")
|
||||||
public class ResControlle {
|
public class ResController {
|
||||||
|
|
||||||
private final ChatClient chatClient;
|
private final ChatClient chatClient;
|
||||||
|
|
||||||
public ResControlle(ChatClient.Builder builder) {
|
public ResController(ChatClient.Builder builder) {
|
||||||
this.chatClient = builder.build();
|
this.chatClient = builder.build();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user