18 lines
606 B
Java
18 lines
606 B
Java
package com.example.springaidemo;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
@SpringBootApplication
|
|
public class SpringAiDemoApplication {
|
|
|
|
public static void main(String[] args) {
|
|
String proxy = "127.0.0.1";
|
|
int port = 7897;
|
|
System.setProperty("proxyType", "4");
|
|
System.setProperty("proxyPort", String.valueOf(port));
|
|
System.setProperty("proxyHost", proxy);
|
|
System.setProperty("proxySet", "true");
|
|
SpringApplication.run(SpringAiDemoApplication.class, args);
|
|
}
|
|
} |