Skip to content

Commit 11a9c98

Browse files
committed
引入sql文件和md文件
1 parent ca4d0e0 commit 11a9c98

File tree

107 files changed

+486
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+486
-124
lines changed

README.md

Lines changed: 120 additions & 0 deletions
File renamed without changes.
File renamed without changes.

springboot-dubbo-service/src/main/java/com/lzq/dubboservice/service/oauth/GiteeOauth.java renamed to js-encoder-service/src/main/java/com/lzq/dubboservice/service/oauth/GiteeOauth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
@Component
88
public class GiteeOauth implements BaseOauth {
9-
9+
//gitee授权配置
1010
private static final String GITEE_CLIENT_ID = "";
1111
private static final String GITEE_CLIENT_SECRET = "";
1212
private static final String REDIRECT_URI = "";

springboot-dubbo-service/src/main/java/com/lzq/dubboservice/service/oauth/GithubOauth.java renamed to js-encoder-service/src/main/java/com/lzq/dubboservice/service/oauth/GithubOauth.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
@Component
77
public class GithubOauth implements BaseOauth {
8+
//github授权配置
89
private static final String GITHUB_CLIENT_ID = "";
910
private static final String GITHUB_CLIENT_SECRET = "";
1011

springboot-dubbo-web/pom.xml renamed to js-encoder-web/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<artifactId>selenium-java</artifactId>
8282
<version>3.141.59</version>
8383
</dependency>
84-
<!--版本冲突时必须和seleniumhq同时导入-->
84+
<!--版本冲突时必须和seleniumhq版本一致-->
8585
<dependency>
8686
<groupId>com.google.guava</groupId>
8787
<artifactId>guava</artifactId>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
resources:
2+
route: F:/项目/MyDemo/data/
3+
4+
qiniuyun:
5+
accessKey:
6+
secretKey:
7+
bucket:
8+
9+
#chromedriver 文件地址
10+
chorme:
11+
value: F:/ChormeDriver/chromedriver.exe
12+
13+
14+
spring:
15+
#静态资源访问
16+
resources:
17+
static-locations: file:${resources.route}
18+
#mybatis配置
19+
datasource:
20+
username: root
21+
password: ENC(WXWaBiEdhad+aqD/luB+Kw==)
22+
url: jdbc:mysql:///onlineidea?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
23+
driver-class-name: com.mysql.cj.jdbc.Driver
24+
#rdis配置
25+
redis:
26+
host: 127.0.0.1
27+
port: 6379
28+
jedis:
29+
pool:
30+
max-active: 8
31+
max-wait: -1
32+
max-idle: 500
33+
min-idle: 0
34+
password:
35+
#rabbitmq配置
36+
rabbitmq:
37+
host: 127.0.0.1
38+
port: 5672
39+
username: user
40+
password: wxr19980304
41+
42+
dubbo:
43+
application:
44+
name: dubbo_web
45+
registry:
46+
protocol: zookeeper
47+
address: zookeeper://127.0.0.1:2181
48+
timeout: 10000
49+
consumer:
50+
retries: 0
51+
timeout: 10000
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
2+
resources:
3+
route: C:/Java/data/
4+
5+
qiniuyun:
6+
accessKey:
7+
secretKey:
8+
bucket:
9+
10+
chorme:
11+
value: C:/Java/Google/chromedriver.exe
12+
13+
14+
spring:
15+
#静态资源访问
16+
resources:
17+
static-locations: file:${resources.route}
18+
#mybatis配置
19+
datasource:
20+
username: root
21+
password: ENC(zRASffFgNlRby/HcIEUo7OPo6PROvVBX)
22+
url: jdbc:mysql:///onlineide?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
23+
driver-class-name: com.mysql.cj.jdbc.Driver
24+
25+
#rdis配置
26+
redis:
27+
host: 127.0.0.1
28+
port: 6379
29+
jedis:
30+
pool:
31+
max-active: 8
32+
max-wait: -1
33+
max-idle: 500
34+
min-idle: 0
35+
password:
36+
#rabbitmq配置
37+
rabbitmq:
38+
host: 127.0.0.1
39+
port: 5672
40+
username: user
41+
password: wxr19980304
42+
43+
dubbo:
44+
application:
45+
name: dubbo_web
46+
registry:
47+
protocol: zookeeper
48+
address: zookeeper://127.0.0.1:2181
49+
timeout: 10000
50+
consumer:
51+
retries: 0
52+
timeout: 10000
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
resources:
2+
route: /home/demo/data/
3+
4+
qiniuyun:
5+
accessKey:
6+
secretKey:
7+
bucket:
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
23+
24+
#rdis配置
25+
redis:
26+
host: 127.0.0.1
27+
port: 6379
28+
jedis:
29+
pool:
30+
max-active: 8
31+
max-wait: -1
32+
max-idle: 500
33+
min-idle: 0
34+
password:
35+
#rabbitmq配置
36+
rabbitmq:
37+
host: 127.0.0.1
38+
port: 5672
39+
username: user
40+
password: wxr19980304
41+
42+
dubbo:
43+
application:
44+
name: dubbo_web
45+
registry:
46+
protocol: zookeeper
47+
address: zookeeper://127.0.0.1:2181
48+
timeout: 10000
49+
consumer:
50+
retries: 0
51+
timeout: 10000
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
spring:
2+
profiles:
3+
active: dev
4+
application:
5+
#项目名称
6+
name: web
7+
8+
9+
#数据加密
10+
jasypt:
11+
encryptor:
12+
# 密钥
13+
password: WXRANDLZQ1998
14+
# 指定加密方式
15+
algorithm: PBEWithMD5AndDES
16+
iv-generator-classname: org.jasypt.iv.NoIvGenerator
17+
18+
server:
19+
#服务器接口
20+
port: 8090
21+
tomcat:
22+
max-http-form-post-size: -1
23+
servlet:
24+
session:
25+
setMaxInactiveInterval: 60*60
26+
27+
logging:
28+
config: classpath:logback.xml

0 commit comments

Comments
 (0)