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
242370a0
Commit
242370a0
authored
Nov 17, 2023
by
LSL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还款限制修改
parent
0c4775e5
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
275 deletions
+38
-275
pom.xml
pom.xml
+5
-1
BackedCommandnew.java
src/main/java/com/jqtx/windows/command/BackedCommandnew.java
+0
-265
BackedBurdenJob.java
src/main/java/com/jqtx/windows/job/BackedBurdenJob.java
+24
-0
BaseController.java
src/main/java/com/jqtx/windows/web/BaseController.java
+9
-9
No files found.
pom.xml
View file @
242370a0
...
...
@@ -113,7 +113,11 @@
<artifactId>
javaparser-core
</artifactId>
<version>
3.6.23
</version>
</dependency>
<dependency>
<groupId>
com.jcraft
</groupId>
<artifactId>
jsch
</artifactId>
<version>
0.1.54
</version>
</dependency>
<!--dozer entity->bean-->
<dependency>
<groupId>
net.sf.dozer
</groupId>
...
...
src/main/java/com/jqtx/windows/command/BackedCommandnew.java
deleted
100644 → 0
View file @
0c4775e5
This diff is collapsed.
Click to expand it.
src/main/java/com/jqtx/windows/job/BackedBurdenJob.java
0 → 100644
View file @
242370a0
package
com
.
jqtx
.
windows
.
job
;
import
com.jqtx.infrastructure.oss.starter.config.OssUtils
;
import
com.xxl.job.core.handler.annotation.XxlJob
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
@Component
@Slf4j
public
class
BackedBurdenJob
{
@Autowired
private
OssUtils
ossUtils
;
@XxlJob
(
"creditThirdDataJob"
)
public
void
run
()
{
}
public
static
void
main
(
String
[]
args
)
{
}
}
src/main/java/com/jqtx/windows/web/BaseController.java
View file @
242370a0
package
com
.
jqtx
.
windows
.
web
;
import
cn.hutool.core.util.CharsetUtil
;
import
cn.hutool.extra.ssh.Sftp
;
import
com.jqtx.infrastructure.util.AKAESUtil
;
import
com.jqtx.windows.command.BackedCommandnew
;
import
com.jqtx.windows.common.factory.CommandProxy
;
import
com.jqtx.windows.web.request.BackedRequest
;
import
com.jqtx.windows.web.response.JsonResult
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -21,9 +21,6 @@ public class BaseController {
@Autowired
private
CommandProxy
commandProxy
;
@Autowired
private
BackedCommandnew
backedCommandnew
;
@ApiOperation
(
value
=
"网关接口"
)
@PostMapping
(
"/{url}"
)
public
JsonResult
creditSubmit
(
@RequestBody
String
requestBody
,
@PathVariable
String
url
)
{
...
...
@@ -38,11 +35,14 @@ public class BaseController {
return
commandProxy
.
test
(
requestBody
,
url
);
}
@ApiOperation
(
value
=
"测试网关接口"
)
@PostMapping
(
"/aaa"
)
public
JsonResult
aaa
(
@RequestBody
BackedRequest
backedRequest
)
{
log
.
info
(
"浙农请求:{}"
,
backedRequest
);
return
backedCommandnew
.
execute
(
backedRequest
);
@GetMapping
(
"/ccc"
)
public
JsonResult
ccc
()
{
Sftp
sftp
=
new
Sftp
(
"115.238.89.106"
,
9901
,
"xiaohua_fr"
,
"R7MADMx1lwMN5k4v"
,
CharsetUtil
.
CHARSET_UTF_8
);
sftp
.
cd
(
"/download/compensatory/"
+
"20231113"
);
sftp
.
get
(
"compensatory_check_20231113.ok"
,
"root/windows/aaa.txt"
);
return
null
;
}
public
static
void
main
(
String
[]
args
)
{
...
...
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