Commit 242370a0 authored by LSL's avatar LSL

还款限制修改

parent 0c4775e5
......@@ -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>
......
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) {
}
}
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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment