main
daixiaoyi 2 days ago
parent a62e810856
commit f3ac479fe7

@ -50,6 +50,11 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.5.5</version>
</dependency>
</dependencies>
<build>

@ -1,8 +1,10 @@
package com.supervision.ai.service.hub;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@MapperScan(basePackages = {"com.supervision.ai.service.hub.mapper"})
@SpringBootApplication
public class AiServiceHubApplication {

@ -1 +0,0 @@
spring.application.name=ai-service-hub

@ -0,0 +1,16 @@
spring:
application:
name: ai-service-hub
datasource:
url: jdbc:postgresql://192.168.10.137:15432/ai-service-hub
username: postgres
password: 123456
driver-class-name: org.postgresql.Driver
server:
port: 9901
servlet:
context-path: /ai-service-hub
mybatis-plus:
mapper-locations: classpath*:mapper/*.xml
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
Loading…
Cancel
Save