备案接口优化添加是否下委托书字段推送经销商平台
This commit is contained in:
@@ -65,11 +65,17 @@ public class NewTongYongService {
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
} else {
|
||||
// Map data = (Map) returnMsg.get("errMsg");
|
||||
map.put("code", "300");
|
||||
map.put("msg", "新建流程失败!");
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
if("-1".equals(code.toString())){
|
||||
map.put("code", "300");
|
||||
map.put("msg", returnMsg.get("msg"));
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
}else{
|
||||
map.put("code", "300");
|
||||
map.put("msg", "异常编号:"+code.toString()+",异常数据"+returnMsg.get("errMsg"));
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
}
|
||||
}
|
||||
return map;
|
||||
|
||||
|
||||
@@ -55,22 +55,22 @@ public class TongYongService {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
if ("SUCCESS".equals(code.toString())) {
|
||||
//调用提交接口
|
||||
// Map data = (Map) returnMsg.get("data");
|
||||
// Object requestid = data.get("requestid");
|
||||
// String msg = FanWeiUtil.PostRestfulbyForm(requestid.toString(), userid);
|
||||
// JSONObject tiJiaoReturnMsg = JSON.parseObject(msg);
|
||||
// Object code2 = tiJiaoReturnMsg.get("code");
|
||||
// System.out.println("提交code:" + code2);
|
||||
map.put("code", "200");
|
||||
map.put("msg", "推送成功");
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
} else {
|
||||
// Map data = (Map) returnMsg.get("errMsg");
|
||||
map.put("code", "300");
|
||||
map.put("msg", "新建流程失败!");
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
if("-1".equals(code.toString())){
|
||||
map.put("code", "300");
|
||||
map.put("msg", returnMsg.get("msg"));
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
}else{
|
||||
map.put("code", "300");
|
||||
map.put("msg", "异常编号:"+code.toString()+",异常数据"+returnMsg.get("errMsg"));
|
||||
map.put("request", parm.toString());
|
||||
map.put("response", s);
|
||||
}
|
||||
}
|
||||
return map;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user