Commit 4af0a560 authored by Sora's avatar Sora

[fix]中登网开发 优化代码

parent 61fee2ba
/**
/*
* Copyright (C), 2018-2021
* FileName: ZdwWsRequestsController
* Author: lsy
......@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
/*
/**
* 〈〉
*
* @author 27214
......
......@@ -170,6 +170,7 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
resultJson.put("info", resData);
hlsWsRequests.setReturnStatus("S");
hlsWsRequests.setResponseClob(resData);
hlsWsRequests.setResponsedDate(new Date());
}
public JSONObject registerInit(String registerTypeBz, String platformAuthCode, String loginToken, String xmlFileName, String xmlFileContent, Long lineId) {
......@@ -368,7 +369,7 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
} else {
returns = "<feedback>\n<registertype>LR</registertype>\n<registerresult>001</registerresult>\n<registernumber>I0000001</registernumber>\n<authorizationcode>A0000001</authorizationcode>\n<errors>\n<error>\n" + resultJson.getString("info") + "</error>\n</errors>\n</feedback>\n";
}
System.out.println("dddd" + new String(returns));
System.out.println("dddd" + returns);
/*解析接口返回结果*/
org.json.JSONObject returnJson;
......
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