2025-07-18 17:58:07 +08:00
|
|
|
package com.yundage.chat;
|
|
|
|
|
|
2025-07-21 16:16:52 +08:00
|
|
|
import com.yundage.chat.config.LlmApiProperties;
|
2025-07-18 17:58:07 +08:00
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2025-07-21 16:16:52 +08:00
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
2025-07-20 14:03:12 +08:00
|
|
|
|
2025-07-21 16:16:52 +08:00
|
|
|
@SpringBootApplication
|
2025-07-18 17:58:07 +08:00
|
|
|
@MapperScan("com.yundage.chat.mapper")
|
2025-07-21 16:16:52 +08:00
|
|
|
@EnableConfigurationProperties(LlmApiProperties.class)
|
2025-07-18 17:58:07 +08:00
|
|
|
public class ChatApplication {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(ChatApplication.class, args);
|
|
|
|
|
}
|
|
|
|
|
}
|