Skip to content

Commit c393dce

Browse files
committed
添加linux测试环境配置
1 parent e6aafd8 commit c393dce

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

springboot-dubbo-web/src/main/java/com/lzq/web/utils/ExampleUtils.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,14 @@
3030
@Component
3131
public class ExampleUtils {
3232

33-
public static String INIT_HTML;
33+
3434

3535
public static String FILE_LOCATION;
3636

3737
public static String CHORME_DRIVER;
3838

3939
public static String BUCKET;
4040

41-
@Value("${resources.InitHtml}")
42-
public void setInitHtml(String initHtml) {
43-
INIT_HTML = initHtml;
44-
}
45-
4641
@Value("${resources.route}")
4742
public void setFilelocation(String filelocation) {
4843
ExampleUtils.FILE_LOCATION = filelocation;

springboot-dubbo-web/src/main/resources/application-dev.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
resources:
22
route: F:/项目/MyDemo/data/
3-
InitHtml: F:/项目/MyDemo/data/HelloWord.html
43

54
qiniuyun:
65
accessKey: fIf9nYz-wQo3HD1AlhQ5wrUrdjtygUPGe2dpuLlY

springboot-dubbo-web/src/main/resources/application-prod.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
resources:
2929
route: C:/Java/data/
30-
InitHtml: C:/Java/data/HelloWord.html
3130

3231
qiniuyun:
3332
accessKey: Z_7eMJdtj_n4lrAdSs3zVuZ8rn4wZXu75b1gYJbC
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
resources:
2+
route: /home/demo/data/
3+
4+
qiniuyun:
5+
accessKey: Z_7eMJdtj_n4lrAdSs3zVuZ8rn4wZXu75b1gYJbC
6+
secretKey: QIriVPlgNKoKdjU02q166-7IBPy3z9sQTMn5Ae7R
7+
bucket: js-encoder
8+
9+
chorme:
10+
value: /usr/bin/chromedriver
11+
12+
13+
spring:
14+
#静态资源访问
15+
resources:
16+
static-locations: file:${resources.route}
17+
#mybatis配置
18+
datasource:
19+
username: root
20+
password: ENC(WXWaBiEdhad+aqD/luB+Kw==)
21+
url: jdbc:mysql:///onlineidea?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
22+
driver-class-name: com.mysql.cj.jdbc.Driver

0 commit comments

Comments
 (0)