Commit 697192ee authored by suhuiguang's avatar suhuiguang

1.删除无用代码

parent 87f17677
......@@ -251,9 +251,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
return;
}
noQrCodeList.parallelStream().forEach(enterpriseInfo -> {
enterpriseInfo.setQrCode(createQRCode(enterpriseInfo.getUseCode()));
});
noQrCodeList.parallelStream().forEach(enterpriseInfo -> enterpriseInfo.setQrCode(createQRCode(enterpriseInfo.getUseCode())));
tzBaseEnterpriseInfoService.saveOrUpdateBatch(noQrCodeList);
......@@ -369,21 +367,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
// }
// 2.组织返回数据
RegUnitInfoDto regUnitInfoDto = new RegUnitInfoDto();
// MultiValueMap<String, String> headers = new HttpHeaders();
// headers.add("product","AMOS_STUDIO_WEB");
// headers.add("appKey","AMOS_STUDIO");
// headers.add("token",token);
// RequestContext.setToken();
// RequestContext.setAppKey();
// RequestContext.setProduct();
// RequestEntity requestEntity = new RequestEntity(
// null, //body部分数据
// headers, //头
// HttpMethod.GET,//请求方法
// URI.create("/accessapi/business/getData"));
// ResponseEntity<JSONObject> responseEntity = restTemplate.exchange(requestEntity,JSONObject.class);
// JSONObject result = responseEntity.getBody();
// 2.1 使用单位调用行政许可系统接口进行查询工商信息
//2.1 工商信息查询
Map<String, Object> resultMap = accessFeignService.getData(unitCode).getResult();
if(!ValidationUtil.isEmpty(resultMap)){
// 2.2 工商信息组装
......
......@@ -2,6 +2,16 @@ spring.application.name=TZS-COMMON
server.servlet.context-path=/tcm
server.port=11001
spring.profiles.active=dev3
#最大等待队列长度,默认100
server.tomcat.accept-count=1000
#最大链接数,默认8192
server.tomcat.max-connections=10000
#最大线程数,默认200
server.tomcat.threads.max=800
#最小线程数,默认10
server.tomcat.threads.min-spare=100
spring.jackson.time-zone=GMT+8
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
......@@ -146,8 +156,8 @@ spring.security.user.password=a1234560
spring.security.user.roles=SBA_ADMIN
## \u540E\u53F0\u6267\u884C\u673A\u5668\u4EBA\u8D26\u53F7\u914D\u7F6E
amos.system.user.user-name=robot_admin
amos.system.user.password=a1234567
amos.system.user.user-name=admin_tzs
amos.system.user.password=a1234560
amos.system.user.app-key=AMOS_STUDIO
amos.system.user.product=AMOS_STUDIO_WEB
......
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