Authored by zhengyouwei

add red color to error log

... ... @@ -83,7 +83,14 @@ public class CenterSwitchCtrl {
StringBuilder result = new StringBuilder();
for (String str : resultList) {
result.append(str).append("</br>");
if ("fail".indexOf(str) != -1){
result.append("<font color=\"red\">");
result.append(str);
result.append("</font>");
}else {
result.append(str);
}
result.append("</br>");
}
BaseResponse baseResponse = new BaseResponse();
... ...