Ver código fonte

云南项目--初始化web

larry 5 anos atrás
pai
commit
bb3b5d29e0

+ 32 - 0
.classpath

@@ -0,0 +1,32 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry including="**/*.java" kind="src" output="target/classes" path="src/main/java">
4
+		<attributes>
5
+			<attribute name="optional" value="true"/>
6
+			<attribute name="maven.pomderived" value="true"/>
7
+		</attributes>
8
+	</classpathentry>
9
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10
+		<attributes>
11
+			<attribute name="maven.pomderived" value="true"/>
12
+		</attributes>
13
+	</classpathentry>
14
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15
+		<attributes>
16
+			<attribute name="optional" value="true"/>
17
+			<attribute name="maven.pomderived" value="true"/>
18
+			<attribute name="test" value="true"/>
19
+		</attributes>
20
+	</classpathentry>
21
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
22
+		<attributes>
23
+			<attribute name="maven.pomderived" value="true"/>
24
+		</attributes>
25
+	</classpathentry>
26
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
27
+		<attributes>
28
+			<attribute name="maven.pomderived" value="true"/>
29
+		</attributes>
30
+	</classpathentry>
31
+	<classpathentry kind="output" path="target/classes"/>
32
+</classpath>

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
1
+/target/

+ 23 - 0
.project

@@ -0,0 +1,23 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>depot-web</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.jdt.core.javabuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+		<buildCommand>
14
+			<name>org.eclipse.m2e.core.maven2Builder</name>
15
+			<arguments>
16
+			</arguments>
17
+		</buildCommand>
18
+	</buildSpec>
19
+	<natures>
20
+		<nature>org.eclipse.jdt.core.javanature</nature>
21
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
22
+	</natures>
23
+</projectDescription>

+ 4 - 0
.settings/org.eclipse.core.resources.prefs

@@ -0,0 +1,4 @@
1
+eclipse.preferences.version=1
2
+encoding//src/main/java=UTF-8
3
+encoding//src/main/resources=UTF-8
4
+encoding/<project>=UTF-8

+ 9 - 0
.settings/org.eclipse.jdt.core.prefs

@@ -0,0 +1,9 @@
1
+eclipse.preferences.version=1
2
+org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
3
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4
+org.eclipse.jdt.core.compiler.compliance=1.8
5
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
6
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
7
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
8
+org.eclipse.jdt.core.compiler.release=disabled
9
+org.eclipse.jdt.core.compiler.source=1.8

+ 4 - 0
.settings/org.eclipse.m2e.core.prefs

@@ -0,0 +1,4 @@
1
+activeProfiles=
2
+eclipse.preferences.version=1
3
+resolveWorkspaceProjects=true
4
+version=1

+ 4 - 4
src/main/resources/application.properties

@@ -7,11 +7,11 @@ eureka.instance.lease-expiration-duration-in-seconds=30
7 7
 
8 8
 #数据库驱动
9 9
 spring.datasource.driverClassName = com.mysql.jdbc.Driver
10
-spring.datasource.url = jdbc:mysql://localhost:3306/depot_yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false
10
+spring.datasource.url = jdbc:mysql://172.16.0.46:3306/depot-yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false
11 11
 spring.datasource.username = root
12 12
 spring.datasource.password = 123456
13 13
 
14
-eureka.client.serviceUrl.defaultZone=http://localhost:9001/eureka/
14
+eureka.client.serviceUrl.defaultZone=http://172.16.0.46:9511/eureka/
15 15
 
16 16
 spring.application.name=depot-web
17 17
 
@@ -22,11 +22,11 @@ spring.application.name=depot-web
22 22
 # Redis数据库索引(默认为0)
23 23
 spring.redis.database=0
24 24
 # Redis服务器地址
25
-spring.redis.host=localhost
25
+spring.redis.host=172.16.0.46
26 26
 # Redis服务器连接端口
27 27
 spring.redis.port=6379
28 28
 # Redis服务器连接密码(默认为空)
29
-spring.redis.password=
29
+spring.redis.password=123456
30 30
 # 连接池最大连接数(使用负值表示没有限制)
31 31
 spring.redis.jedis.pool.max-active=8
32 32
 # 连接池最大阻塞等待时间(使用负值表示没有限制)