|
@@ -535,8 +535,10 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
String isEmploy = requestMap.get("isEmploy"); //是否录用(0:拒绝 1:录用)
|
|
String isEmploy = requestMap.get("isEmploy"); //是否录用(0:拒绝 1:录用)
|
|
|
sendMsgUrl = path + "/f/api/sendmessage/changeApplyStatus?positionId=" + positionId + "&userId=" + userId + "&positionCategory=" + positionCategory + "&type=" + type + "&isEmploy=" + isEmploy;
|
|
sendMsgUrl = path + "/f/api/sendmessage/changeApplyStatus?positionId=" + positionId + "&userId=" + userId + "&positionCategory=" + positionCategory + "&type=" + type + "&isEmploy=" + isEmploy;
|
|
|
}
|
|
}
|
|
|
- JSONObject paramJson = JSONObject.fromObject(CommUtil.get(sendMsgUrl, null));
|
|
|
|
|
- String returnStatus = paramJson.getString("success");
|
|
|
|
|
|
|
+ String data = CommUtil.get(sendMsgUrl, null);
|
|
|
|
|
+ com.alibaba.fastjson.JSONObject jsonObject = new com.alibaba.fastjson.JSONObject();
|
|
|
|
|
+ jsonObject = com.alibaba.fastjson.JSONObject.parseObject(data);
|
|
|
|
|
+ String returnStatus = jsonObject.getString("success");
|
|
|
if ("1".equals(returnStatus)) {
|
|
if ("1".equals(returnStatus)) {
|
|
|
returnMap.put("success", true);
|
|
returnMap.put("success", true);
|
|
|
} else {
|
|
} else {
|
|
@@ -572,8 +574,10 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
String isEmploy = requestMap.get("isEmploy"); //是否录用(0:拒绝 1:录用)
|
|
String isEmploy = requestMap.get("isEmploy"); //是否录用(0:拒绝 1:录用)
|
|
|
sendMsgUrl = path + "/f/api/sendmessage/changeApplysStatus?positionId=" + positionId + "&userId=" + userId + "&positionCategory=" + positionCategory + "&type=" + type + "&isEmploy=" + isEmploy;
|
|
sendMsgUrl = path + "/f/api/sendmessage/changeApplysStatus?positionId=" + positionId + "&userId=" + userId + "&positionCategory=" + positionCategory + "&type=" + type + "&isEmploy=" + isEmploy;
|
|
|
}
|
|
}
|
|
|
- JSONObject paramJson = JSONObject.fromObject(CommUtil.get(sendMsgUrl, null));
|
|
|
|
|
- String returnStatus = paramJson.getString("success");
|
|
|
|
|
|
|
+ String data = CommUtil.get(sendMsgUrl, null);
|
|
|
|
|
+ com.alibaba.fastjson.JSONObject jsonObject = new com.alibaba.fastjson.JSONObject();
|
|
|
|
|
+ jsonObject = com.alibaba.fastjson.JSONObject.parseObject(data);
|
|
|
|
|
+ String returnStatus = jsonObject.getString("success");
|
|
|
if ("1".equals(returnStatus)) {
|
|
if ("1".equals(returnStatus)) {
|
|
|
returnMap.put("success", true);
|
|
returnMap.put("success", true);
|
|
|
} else {
|
|
} else {
|
|
@@ -613,8 +617,10 @@ public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> i
|
|
|
+ "&contactPerson=" + URLEncoder.encode(contactPerson) + "&contactPhone=" + contactPhone + "&positionName=" + URLEncoder.encode(positionName)
|
|
+ "&contactPerson=" + URLEncoder.encode(contactPerson) + "&contactPhone=" + contactPhone + "&positionName=" + URLEncoder.encode(positionName)
|
|
|
+ "&companyName=" + URLEncoder.encode(companyName);
|
|
+ "&companyName=" + URLEncoder.encode(companyName);
|
|
|
|
|
|
|
|
- JSONObject paramJson = JSONObject.fromObject(CommUtil.get(sendMsgUrl, null));
|
|
|
|
|
- String returnStatus = paramJson.getString("success");
|
|
|
|
|
|
|
+ String data = CommUtil.get(sendMsgUrl, null);
|
|
|
|
|
+ com.alibaba.fastjson.JSONObject jsonObject = new com.alibaba.fastjson.JSONObject();
|
|
|
|
|
+ jsonObject = com.alibaba.fastjson.JSONObject.parseObject(data);
|
|
|
|
|
+ String returnStatus = jsonObject.getString("success");
|
|
|
if ("1".equals(returnStatus)) {
|
|
if ("1".equals(returnStatus)) {
|
|
|
returnMap.put("success", true);
|
|
returnMap.put("success", true);
|
|
|
} else {
|
|
} else {
|