From a3eb6a06e07eab1d3ab805087f01a4ef90ee7b2e Mon Sep 17 00:00:00 2001 From: XiaXiang Date: Thu, 25 May 2017 15:49:18 +0800 Subject: [PATCH] rt --- designer_base/src/com/fr/design/extra/LoginWebBridge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer_base/src/com/fr/design/extra/LoginWebBridge.java b/designer_base/src/com/fr/design/extra/LoginWebBridge.java index 6592e1601..7db9fc5ac 100644 --- a/designer_base/src/com/fr/design/extra/LoginWebBridge.java +++ b/designer_base/src/com/fr/design/extra/LoginWebBridge.java @@ -146,7 +146,7 @@ public class LoginWebBridge { if (res.equals(FAILED_MESSAGE_STATUS)) { } else { JSONObject jo = new JSONObject(res); - if (jo.getString("status").equals(SUCCESS_MESSAGE_STATUS)) { + if (jo.optString("status").equals(SUCCESS_MESSAGE_STATUS)) { setMessageCount(Integer.parseInt(jo.getString("message"))); } }