|
|
@@ -3,6 +3,7 @@
|
|
|
*/
|
|
|
package kr.co.zumo.app.lifeplus.model.module;
|
|
|
|
|
|
+import kr.co.zumo.app.lifeplus.bean.api.LifeplusAPIBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.LoginResultBean;
|
|
|
import kr.co.zumo.app.lifeplus.model.SuperModel;
|
|
|
|
|
|
@@ -66,12 +67,12 @@ public class LoginModuleParser {
|
|
|
|
|
|
}
|
|
|
else {
|
|
|
- if (loginResultBean.getCode() == -100) {
|
|
|
+ if (loginResultBean.getCode() == LifeplusAPIBean.RETURN_LOG_IN_ERROR_MEMBER_BLOCK) {
|
|
|
// 블럭 계정
|
|
|
SuperModel.getInstance().addMemberStatus(SuperModel.MEMBER_STATUS_BIT_BLOCK);
|
|
|
return verify();
|
|
|
}
|
|
|
- else if (loginResultBean.getCode() == -200) {
|
|
|
+ else if (loginResultBean.getCode() == LifeplusAPIBean.RETURN_LOG_IN_ERROR_MEMBER_REST) {
|
|
|
// 휴면 계정
|
|
|
SuperModel.getInstance().addMemberStatus(SuperModel.MEMBER_STATUS_BIT_REST);
|
|
|
return verify();
|