mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
3.2.1
This commit is contained in:
@@ -2,9 +2,7 @@ package com.gitee.sop.adminserver;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
|
||||
@EnableDiscoveryClient
|
||||
@SpringBootApplication
|
||||
public class SopAdminServerApplication {
|
||||
|
||||
|
@@ -12,6 +12,8 @@ sop.sign-type=rsa
|
||||
# nacos配置
|
||||
nacos.config.server-addr=${nacos.url}
|
||||
nacos.discovery.server-addr=${nacos.url}
|
||||
# nacos cloud配置
|
||||
spring.cloud.nacos.discovery.server-addr=${nacos.url}
|
||||
|
||||
# 数据库配置
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
|
Reference in New Issue
Block a user