百盛返回1,因错误信息太长,还是默认显示我们的提示
This commit is contained in:
+10
-1
@@ -574,7 +574,16 @@ public class WeiXinEvaluationController {
|
|||||||
audit.setDateCreated(new Date());
|
audit.setDateCreated(new Date());
|
||||||
bohaiEvaluationAuditService.saveBohaiEvaluationAudit(audit);
|
bohaiEvaluationAuditService.saveBohaiEvaluationAudit(audit);
|
||||||
}else{
|
}else{
|
||||||
data.put("msg", "评估失败!");
|
if(bhApiResult!=null && (Integer)bhApiResult.get("errCode")==1){
|
||||||
|
JSONObject dataObj = (JSONObject) bhApiResult.get("data");
|
||||||
|
if(StringUtils.isNotBlank((String)dataObj.get("remark"))){
|
||||||
|
data.put("msg", (String)dataObj.get("remark"));
|
||||||
|
}else{
|
||||||
|
data.put("msg", "估价失败,请重新评估!");
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
data.put("msg", "估价失败,请重新评估!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
fjtEvaluationService.saveEvaluation(evaluation);
|
fjtEvaluationService.saveEvaluation(evaluation);
|
||||||
|
|||||||
Reference in New Issue
Block a user