Commit 5a5b567c authored by 5359's avatar 5359

中登网开发

parent cc9a602c
......@@ -40,7 +40,7 @@ public class ZdwWsRequestsController extends BaseController {
/**
* 初始登记
* 中登网融资租赁-登记入口
**/
@RequestMapping(value = "/zdw/service/register/init")
@ResponseBody
......
......@@ -28,7 +28,7 @@ import com.rfp.sm.utils.SM2Utils;
public class ClientInitReg {
static String xmlPath="C://test//new//aaa.xml";
static String xmlPath="F://L21LH00032-1-4.xml";
static String attachmentZipPath="C://test//new//aaa2.zip";
/**
......@@ -107,7 +107,7 @@ public class ClientInitReg {
Document document = null;
File file = new File(xmlPath);
in = new FileInputStream(file);
reader = new InputStreamReader(in,"GBK");
reader = new InputStreamReader(in,"UTF-8");
//reader = new InputStreamReader(in);
SAXReader saxReader = new SAXReader();
try {
......
......@@ -90,7 +90,7 @@ public class ClientUtils {
javax.xml.transform.Transformer transformer = TransformerFactory.newInstance().newTransformer();
//transformer.setOutputProperty(OutputKeys.ENCODING, "GBK") ;
// transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8") ;
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
ByteArrayOutputStream bos = new ByteArrayOutputStream();
StreamResult streamResult = new StreamResult(bos);
......
......@@ -88,6 +88,9 @@
<logger name="com.hand.app.esignHclc.service.impl.SignInfoHclcFaceServiceImpl" level="INFO" additivity="false">
<appender-ref ref="REQ"/>
</logger>
<logger name="com.hand.app.zhongDengWang.service.impl.ZdwWsRequestsServiceImpl" level="INFO" additivity="false">
<appender-ref ref="REQ"/>
</logger>
<logger name="com.timevale" level="INFO" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
......
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