Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
windows
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanhai
windows
Commits
755f56e3
Commit
755f56e3
authored
Dec 08, 2023
by
LSL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
浙农对账文件
parent
1c49d7a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
SftpServiceImpl.java
...n/java/com/jqtx/windows/service/impl/SftpServiceImpl.java
+5
-1
No files found.
src/main/java/com/jqtx/windows/service/impl/SftpServiceImpl.java
View file @
755f56e3
...
...
@@ -10,6 +10,7 @@ import com.jqtx.windows.service.SftpService;
import
com.jqtx.windows.web.response.JsonResult
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
@Service
...
...
@@ -18,6 +19,9 @@ public class SftpServiceImpl implements SftpService {
@Autowired
private
OssUtils
ossUtils
;
@Value
(
"inf.oss.privateDomain"
)
private
String
privateDomain
;
@Autowired
private
SftpConfig
sftpConfig
;
...
...
@@ -45,7 +49,7 @@ public class SftpServiceImpl implements SftpService {
sftp
.
close
();
}
}
return
JsonResult
.
success
(
ossUtils
.
generateTempURL
(
ossUrl
)
);
return
JsonResult
.
success
(
privateDomain
+
ossUrl
);
}
...
...
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