Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
4490d7d0
Commit
4490d7d0
authored
Dec 07, 2021
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禅道id--
395、在合同证照当中添加一个导出合同证照的功能
parent
4d7dbfd6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
src/main/java/cn/timer/api/utils/aliyun/OSSUtil.java
+4
-0
src/main/resources/application-dev.yml
+9
-7
No files found.
src/main/java/cn/timer/api/utils/aliyun/OSSUtil.java
View file @
4490d7d0
...
...
@@ -593,6 +593,10 @@ public class OSSUtil {
OSSObject
ossObject
;
String
Suffix
;
try
{
File
folder
=
new
File
(
zipPath
);
if
(!
folder
.
exists
()&&
!
folder
.
isDirectory
()){
folder
.
mkdirs
();
}
fos
=
new
FileOutputStream
(
zipPath
+
fileName
);
zos
=
new
ZipOutputStream
(
fos
);
OSS
ossClient
=
new
OSSClientBuilder
().
build
(
endpoint
,
accessKeyId
,
accessKeySecret
);
...
...
src/main/resources/application-dev.yml
View file @
4490d7d0
...
...
@@ -26,12 +26,12 @@ spring:
datasource
:
# username: root
# password: youlingHR73!
username
:
youling8timer
password
:
(!0YouLing8Timer0!)
username
:
root
password
:
H0YouLing8T-imer0LKjhG193*
# username: tang
# password: Tang123456!
# url: jdbc:mysql://120.24.172.51:3306/youlingrc_tang?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=CONVERT_TO_NULL
url
:
jdbc:mysql://
test-8timer-api.youlingrc.com/8timer_test
?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=CONVERT_TO_NULL
url
:
jdbc:mysql://
120.78.162.177:3306/8timer_20210904
?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=CONVERT_TO_NULL
# url: jdbc:mysql://192.168.172.200:3306/youlingrc_8timer201?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=CONVERT_TO_NULL
# url: jdbc:mysql://db.hhlsz.com:3306/youlingrc_8timer201?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=CONVERT_TO_NULL
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
...
@@ -108,9 +108,9 @@ spring:
mail
:
port
:
465
host
:
smtp.
youlingrc
.com
username
:
postmaster@youlingrc
.com
password
:
YoulingRC2020
host
:
smtp.
qq
.com
username
:
862422848@qq
.com
password
:
fonzpklhmnnebbeb
default-encoding
:
utf-8
properties
:
mail
:
...
...
@@ -234,5 +234,7 @@ config-8timer:
crm-excel
:
realPath
:
'
D:/excel/'
#导出zip临时地址
zip
:
path
:
'
D:/zip/'
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