Browse Source

[샌드박스][Common] 샘플데이터

hyodong.min 6 years ago
parent
commit
c8bf16ec94

+ 17 - 1
app/src/sandbox/java/kr/co/zumo/app/lifeplus/network/api/LifeplusAPIService.java

@@ -509,7 +509,16 @@ public class LifeplusAPIService implements LifeplusAPI {
   public Single<LoginResultBean> selectMember(RequestBean bean) {
     return Single.fromCallable(() -> {
       // 휴면 -200 잠금 -100
-      String result = "{\"data\":[{\"coin\":30000}],\"sp_rtn\":0}";
+      String result = "{\n" +
+        "  \"data\": [\n" +
+        "    {\n" +
+        "      \"coin\": 30000,\n" +
+        "      \"acctLockStrtDttm\": \"2019.01.24\",\n" +
+        "      \"acctLockEndDttm\": \"2019.01.31\"\n" +
+        "    }\n" +
+        "  ],\n" +
+        "  \"sp_rtn\": 0\n" +
+        "}";
 
       return new Gson().fromJson(result, LoginResultBean.class);
     });
@@ -524,6 +533,13 @@ public class LifeplusAPIService implements LifeplusAPI {
     });
   }
 
+  @Override
+  public Single<LifeplusAPIBean> updateUnlockMember(RequestBean bean) {
+    return Single.fromCallable(() -> {
+      return new LifeplusAPIBean(LifeplusAPIBean.RETURN_SUCCESS, "");
+    });
+  }
+
   @Override
   public Single<LifeplusAPIBean> deleteMember(UserNameRequestBean bean) {
     return Single.fromCallable(() -> {