File tree Expand file tree Collapse file tree 4 files changed +23
-8
lines changed
springboot-dubbo-web/src/main Expand file tree Collapse file tree 4 files changed +23
-8
lines changed Original file line number Diff line number Diff line change 30
30
@ Component
31
31
public class ExampleUtils {
32
32
33
- public static String INIT_HTML ;
33
+
34
34
35
35
public static String FILE_LOCATION ;
36
36
37
37
public static String CHORME_DRIVER ;
38
38
39
39
public static String BUCKET ;
40
40
41
- @ Value ("${resources.InitHtml}" )
42
- public void setInitHtml (String initHtml ) {
43
- INIT_HTML = initHtml ;
44
- }
45
-
46
41
@ Value ("${resources.route}" )
47
42
public void setFilelocation (String filelocation ) {
48
43
ExampleUtils .FILE_LOCATION = filelocation ;
Original file line number Diff line number Diff line change 1
1
resources :
2
2
route : F:/项目/MyDemo/data/
3
- InitHtml : F:/项目/MyDemo/data/HelloWord.html
4
3
5
4
qiniuyun :
6
5
accessKey : fIf9nYz-wQo3HD1AlhQ5wrUrdjtygUPGe2dpuLlY
Original file line number Diff line number Diff line change 27
27
28
28
resources :
29
29
route : C:/Java/data/
30
- InitHtml : C:/Java/data/HelloWord.html
31
30
32
31
qiniuyun :
33
32
accessKey : Z_7eMJdtj_n4lrAdSs3zVuZ8rn4wZXu75b1gYJbC
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments