整理代码结构

main
gitee 4 days ago
parent d917e14c87
commit b3a560a6ca

@ -37,7 +37,7 @@ public class SecurityConfig {
.csrf(AbstractHttpConfigurer::disable) // 禁用CSRF .csrf(AbstractHttpConfigurer::disable) // 禁用CSRF
.cors(Customizer.withDefaults()) .cors(Customizer.withDefaults())
.authorizeHttpRequests(auth -> auth .authorizeHttpRequests(auth -> auth
.requestMatchers("/auth/login","/agent/streamChat","/livetalking/chatCallBack","/**").permitAll() .requestMatchers("/auth/login","/agent/streamChat","/livetalking/chatCallBack").permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()
) )
.sessionManagement(session -> session .sessionManagement(session -> session

@ -9,7 +9,6 @@ public class ThinkTagState {
private ChatResponse chatResponse; private ChatResponse chatResponse;
public ThinkTagState() { public ThinkTagState() {
System.out.println("ThinkTagState initialized");
} }
public ThinkTagState process(String chunk) { public ThinkTagState process(String chunk) {

Loading…
Cancel
Save