Commit bcdce504 authored by 杨锐's avatar 杨锐

业务限制API。

parent a6b0d894
...@@ -259,7 +259,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService { ...@@ -259,7 +259,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
if (jsonResult == null) { if (jsonResult == null) {
throw new DataException("系统内部错误。"); throw new DataException("系统内部错误。");
} }
if (!jsonResult.isSuccess() || !"true".equals(jsonResult.getData())) { if (!jsonResult.isSuccess() || !Boolean.parseBoolean(jsonResult.getData().toString())) {
throw new DataException(jsonResult.getMsg()); throw new DataException(jsonResult.getMsg());
} }
} catch (JSONException e) { } catch (JSONException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment