|
|
@ -426,7 +426,7 @@ public class OpenServiceImpl implements OpenService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
String postData = postDataBuilder.toString();
|
|
|
|
String postData = postDataBuilder.toString();
|
|
|
|
String result = HttpUtils.sendPostOA(oa_url, postData);
|
|
|
|
String result = HttpUtils.sendPostOA(oa_url, postData);
|
|
|
|
System.out.println(result);
|
|
|
|
logger.info(result);
|
|
|
|
//返回示例{"result":"0","info":"成功","requestid":"2193799"}
|
|
|
|
//返回示例{"result":"0","info":"成功","requestid":"2193799"}
|
|
|
|
Map resultMap=JSONObject.parseObject(result);
|
|
|
|
Map resultMap=JSONObject.parseObject(result);
|
|
|
|
if (resultMap.get("result").equals(Constants.LOGIN_SUCCESS_STATUS)){
|
|
|
|
if (resultMap.get("result").equals(Constants.LOGIN_SUCCESS_STATUS)){
|
|
|
|