Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
email
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈天仲
email
Commits
7ec28f3e
Commit
7ec28f3e
authored
Aug 31, 2023
by
chentianzhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外网头像处理
parent
52a87d26
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
src/main/java/com/zq/email/service/impl/EmailPersonServiceImpl.java
+6
-1
src/main/resources/application-wanpro.yml
+4
-11
src/main/resources/logback-spring.xml
+1
-1
No files found.
src/main/java/com/zq/email/service/impl/EmailPersonServiceImpl.java
View file @
7ec28f3e
...
@@ -133,7 +133,12 @@ public class EmailPersonServiceImpl extends ServiceImpl<EmailPersonMapper, Email
...
@@ -133,7 +133,12 @@ public class EmailPersonServiceImpl extends ServiceImpl<EmailPersonMapper, Email
UserDto
data
=
senderVo
.
getData
();
UserDto
data
=
senderVo
.
getData
();
UserDto
userDto
=
new
UserDto
();
UserDto
userDto
=
new
UserDto
();
if
(
profile
.
contains
(
"wan"
))
{
if
(
profile
.
contains
(
"wan"
))
{
content
.
setSendUserPhoto
(
StrUtil
.
isNotBlank
(
data
.
getPhoto
())?
data
.
getPhoto
().
replace
(
"http://147.1.3.87"
,
"http://172.28.1.159:82"
):
data
.
getPhoto
());
if
(
StrUtil
.
isNotBlank
(
data
.
getPhoto
())){
String
replace
=
data
.
getPhoto
()
.
replace
(
"http://147.1.3.87"
,
"http://172.28.1.159:82"
)
.
replace
(
"http://147.2.3.3"
,
"http://172.28.1.71"
);
content
.
setSendUserPhoto
(
replace
);
}
}
else
{
}
else
{
content
.
setSendUserPhoto
(
data
.
getPhoto
());
content
.
setSendUserPhoto
(
data
.
getPhoto
());
}
}
...
...
src/main/resources/application-wanpro.yml
View file @
7ec28f3e
#配置数据源
#配置数据源
spring
:
spring
:
redis
:
#数据库索引
database
:
0
host
:
172.28.1.71
port
:
6379
password
:
'
{cipher}c11d1213bc6bc1f524d4426ff563380d01b9d6d7153c5ba566fbc489f07b5142'
timeout
:
5000
datasource
:
datasource
:
druid
:
druid
:
db-type
:
com.alibaba.druid.pool.DruidDataSource
db-type
:
com.alibaba.druid.pool.DruidDataSource
url
:
jdbc:kingbase8://172.28.1.68:54321/EMAIL_NEW
driverClassName
:
${jdbc.driver-class-name}
username
:
oa_system
username
:
${jdbc.db1.username}
password
:
'
{cipher}c11d1213bc6bc1f524d4426ff563380d01b9d6d7153c5ba566fbc489f07b5142'
password
:
${jdbc.db1.password}
driver-class-name
:
com.kingbase8.Driver
url
:
${jdbc.db1.base-url}/EMAIL_NEW
# 初始连接数
# 初始连接数
initial-size
:
20
initial-size
:
20
# 最小连接数
# 最小连接数
...
...
src/main/resources/logback-spring.xml
View file @
7ec28f3e
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<contextName>
logback
</contextName>
<contextName>
logback
</contextName>
<!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
<!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
<!-- <property name="log.path" value="/opt/oa-cloud/email/logs/"/>-->
<!-- <property name="log.path" value="/opt/oa-cloud/email/logs/"/>-->
<property
name=
"log.path"
value=
"/opt/services/email/logs/"
/>
<property
name=
"log.path"
value=
"/opt/services/
oa/
email/logs/"
/>
<!-- <property name="log.path" value="D:/seallog/"/>-->
<!-- <property name="log.path" value="D:/seallog/"/>-->
<!--主要日志文件名-->
<!--主要日志文件名-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment