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 3030@ Component
3131public 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 ;
Original file line number Diff line number Diff line change 11resources :
22 route : F:/项目/MyDemo/data/
3- InitHtml : F:/项目/MyDemo/data/HelloWord.html
43
54qiniuyun :
65 accessKey : fIf9nYz-wQo3HD1AlhQ5wrUrdjtygUPGe2dpuLlY
Original file line number Diff line number Diff line change 2727
2828resources :
2929 route : C:/Java/data/
30- InitHtml : C:/Java/data/HelloWord.html
3130
3231qiniuyun :
3332 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