备案接口优化添加是否下委托书字段推送经销商平台

This commit is contained in:
2024-08-12 13:48:52 +08:00
parent da2b2be1e6
commit 52dc436556
16 changed files with 569 additions and 320 deletions

View File

@@ -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;

View File

@@ -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;