Commit f2ece133 by 雷紫添

调整为jar运行。

parent 784ed5e5
......@@ -10,10 +10,8 @@
</parent>
<groupId>com.founder</groupId>
<artifactId>xzxt-api-report</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>xzxt-api-report</name>
<description>Demo project for Spring Boot</description>
<packaging>jar</packaging>
<properties>
<java.version>1.8</java.version>
......
......@@ -77,4 +77,5 @@ public class JccjController {
}
}
......@@ -97,7 +97,7 @@ public class JccjServiceImpl implements JccjService {
}
}
} catch (IOException e) {
System.out.println(e.getMessage());
} finally {
httpPost.releaseConnection();
}
......
......@@ -37,7 +37,7 @@ public class ScheduleTask {
@Scheduled(cron = "*/5 * * * * ?")
public void taskForDictUpdate(){
logger.info("This is a say method!"+format.format(new Date()));
xxbsSerevice();
// xxbsSerevice();
}
/*
* 定时执行-查询一个表中的数据,存到字典表或者字典js文件
......@@ -45,7 +45,7 @@ public class ScheduleTask {
@Scheduled(cron = "*/5 * * * * ?")
public void taskForDictUpdateManager(){
logger.info("This is a say method!"+format.format(new Date()));
dictSerevice();
// dictSerevice();
}
private void xxbsSerevice(){
......
......@@ -45,7 +45,7 @@ public class test {
jccj.setUser_dept("1400000000");
jccj.setVersion("1.00");
//发送,httpclient 包含zip包
JSONObject jsonResult= JccjServiceImpl.requestByPost("http://localhost/jccj/xxbs",jccj);
JSONObject jsonResult= JccjServiceImpl.requestByPost("http://localhost:9061/jccj/xxbs",jccj);
System.out.println("返回的参数为::"+jsonResult.toJSONString());
} catch (Exception e) {
......
......@@ -6,7 +6,6 @@ spring:
time-zone: GMT+8
mybatis:
#type-aliases-package: com.founder.interservice.model
config-location: classpath:mybatis/mybatis-config.xml
......@@ -23,4 +22,5 @@ logging:
jslocation: E:/sysDictJs/common/dict/
ssdw: 140000000000
server:
port: 9061
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