Skip to content
This repository was archived by the owner on Feb 23, 2025. It is now read-only.

Commit 7a4282a

Browse files
authored
Merge pull request #165 from linhaojun857/dev
dev
2 parents 0ea7aa0 + ce27399 commit 7a4282a

File tree

5 files changed

+115
-106
lines changed

5 files changed

+115
-106
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ yarn-error.log*
1919
*.sw?
2020

2121
target
22-
aurora-springboot/src/test
22+
test
23+
application-dev.yml

aurora-springboot/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ RUN rm -f /etc/localtime \
33
&& ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
44
&& echo "Asia/Shanghai" > /etc/timezone
55
COPY target/aurora-springboot-0.0.1.jar /app/aurora-springboot-0.0.1.jar
6-
COPY src/main/resources/application.yml /config/application.yml
76
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app/aurora-springboot-0.0.1.jar","--spring.config.location=/config/application.yml"]
87
EXPOSE 8080
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
server:
2+
port: 8080
3+
4+
spring:
5+
datasource:
6+
type: com.zaxxer.hikari.HikariDataSource
7+
driver-class-name: com.mysql.cj.jdbc.Driver
8+
url: jdbc:mysql://mysql的ip:3306/aurora?serverTimezone=Asia/Shanghai&allowMultiQueries=true
9+
username: 账号
10+
password: 密码
11+
hikari:
12+
minimum-idle: 10
13+
idle-timeout: 180000
14+
maximum-pool-size: 100
15+
auto-commit: true
16+
pool-name: MyHikariCP
17+
max-lifetime: 60000
18+
connection-timeout: 30000
19+
connection-test-query: SELECT 1
20+
21+
redis:
22+
host: redis的ip
23+
port: 6379
24+
password: 密码
25+
database: 0
26+
lettuce:
27+
pool:
28+
min-idle: 10
29+
max-idle: 100
30+
max-active: 100
31+
max-wait: 10000
32+
33+
rabbitmq:
34+
host: rabbitmq的ip
35+
port: 5672
36+
username: 账号
37+
password: 密码
38+
listener:
39+
simple:
40+
retry:
41+
enabled: true
42+
max-attempts: 3
43+
initial-interval: 3000
44+
45+
elasticsearch:
46+
rest:
47+
uris: es的ip:9200
48+
49+
mail:
50+
host: smtp.163.com
51+
username: 邮箱
52+
password: 密码
53+
default-encoding: UTF-8
54+
protocol: smtp
55+
port: 465
56+
properties:
57+
mail:
58+
smtp:
59+
auth: true
60+
socketFactory:
61+
class: javax.net.ssl.SSLSocketFactory
62+
port: 465
63+
ssl:
64+
enable: true
65+
starttls:
66+
enable: true
67+
required: true
68+
69+
servlet:
70+
multipart:
71+
max-file-size: 100MB
72+
max-request-size: 100MB
73+
74+
mybatis-plus:
75+
mapper-locations: classpath:mapper/*.xml
76+
configuration:
77+
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
78+
map-underscore-to-camel-case: true
79+
80+
search:
81+
mode: elasticsearch
82+
83+
upload:
84+
mode: oss
85+
oss:
86+
url: http://Bucket域名/
87+
endpoint: OSS配置endpoint
88+
accessKeyId: OSS配置accessKeyId
89+
accessKeySecret: OSS配置accessKeySecret
90+
bucketName: OSS配置bucketName
91+
minio:
92+
url: http://minio的ip:9000/
93+
endpoint: http://minio的ip:9000
94+
accesskey: 用户名
95+
secretKey: 密码
96+
bucketName: 桶的名称
97+
98+
website:
99+
url: https://前台域名
100+
101+
qq:
102+
app-id: QQ APPID
103+
check-token-url: https://graph.qq.com/oauth2.0/me?access_token={access_token}
104+
user-info-url: https://graph.qq.com/user/get_user_info?openid={openid}&access_token={access_token}&oauth_consumer_key={oauth_consumer_key}
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,5 @@
1-
server:
2-
port: 8080
3-
41
spring:
5-
datasource:
6-
type: com.zaxxer.hikari.HikariDataSource
7-
driver-class-name: com.mysql.cj.jdbc.Driver
8-
url: jdbc:mysql://mysql的ip:3306/aurora?serverTimezone=Asia/Shanghai&allowMultiQueries=true
9-
username: 账号
10-
password: 密码
11-
hikari:
12-
minimum-idle: 10
13-
idle-timeout: 180000
14-
maximum-pool-size: 100
15-
auto-commit: true
16-
pool-name: MyHikariCP
17-
max-lifetime: 60000
18-
connection-timeout: 30000
19-
connection-test-query: SELECT 1
20-
21-
redis:
22-
host: redis的ip
23-
port: 6379
24-
password: 密码
25-
database: 0
26-
lettuce:
27-
pool:
28-
min-idle: 10
29-
max-idle: 100
30-
max-active: 100
31-
max-wait: 10000
32-
33-
rabbitmq:
34-
host: rabbitmq的ip
35-
port: 5672
36-
username: 账号
37-
password: 密码
38-
listener:
39-
simple:
40-
retry:
41-
enabled: true
42-
max-attempts: 3
43-
initial-interval: 3000
44-
45-
elasticsearch:
46-
rest:
47-
uris: es的ip:9200
48-
49-
mail:
50-
host: smtp.163.com
51-
username: 邮箱
52-
password: 密码
53-
default-encoding: UTF-8
54-
protocol: smtp
55-
port: 465
56-
properties:
57-
mail:
58-
smtp:
59-
auth: true
60-
socketFactory:
61-
class: javax.net.ssl.SSLSocketFactory
62-
port: 465
63-
ssl:
64-
enable: true
65-
starttls:
66-
enable: true
67-
required: true
68-
69-
servlet:
70-
multipart:
71-
max-file-size: 100MB
72-
max-request-size: 100MB
73-
74-
mybatis-plus:
75-
mapper-locations: classpath:mapper/*.xml
76-
configuration:
77-
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
78-
map-underscore-to-camel-case: true
79-
80-
search:
81-
mode: elasticsearch
82-
83-
upload:
84-
mode: oss
85-
oss:
86-
url: http://Bucket域名/
87-
endpoint: OSS配置endpoint
88-
accessKeyId: OSS配置accessKeyId
89-
accessKeySecret: OSS配置accessKeySecret
90-
bucketName: OSS配置bucketName
91-
minio:
92-
url: http://minio的ip:9000/
93-
endpoint: http://minio的ip:9000
94-
accesskey: 用户名
95-
secretKey: 密码
96-
bucketName: 桶的名称
97-
98-
website:
99-
url: https://前台域名
100-
101-
qq:
102-
app-id: QQ APPID
103-
check-token-url: https://graph.qq.com/oauth2.0/me?access_token={access_token}
104-
user-info-url: https://graph.qq.com/user/get_user_info?openid={openid}&access_token={access_token}&oauth_consumer_key={oauth_consumer_key}
2+
application:
3+
name: aurora-springboot
4+
profiles:
5+
active: dev

aurora-vue/aurora-blog/src/views/Archives.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
<div class="timeline-marker"></div>
2929
<div class="timeline-content">
30-
<h3 class="timeline-title" @click="toArticle(article)">
30+
<h3 class="timeline-title article-title" @click="toArticle(article)">
3131
<span>{{ article.articleTitle }}</span>
3232
<svg-icon v-if="article.status == 2" icon-class="lock" class="lock-svg" />
3333
</h3>
@@ -388,4 +388,8 @@ export default defineComponent({
388388
}
389389
}
390390
}
391+
392+
.article-title {
393+
cursor: default;
394+
}
391395
</style>

0 commit comments

Comments
 (0)