Browse Source

[FAQ][New] FAQ New API

hyodong.min 7 years ago
parent
commit
8e618abab2

+ 4 - 4
app/src/main/java/kr/co/zumo/app/lifeplus/bean/api/FAQBean.java

@@ -37,14 +37,14 @@ public class FAQBean extends JsonBeanBase {
   private int id;
   @SerializedName("cate")
   private String category;
-  @SerializedName("faq_title")
+  @SerializedName("faqTitle")
   private String title;
-  @SerializedName("faq_contents")
+  @SerializedName("faqContents")
   private String contents;
-  @SerializedName("reg_dt")
+  @SerializedName("regDt")
   private String date;  // "yyyy-mm-dd"
 
-  private boolean isExpanded;
+  private transient boolean isExpanded;
 
   public FAQBean() {
   }

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/network/api/LifeplusAPI.java

@@ -181,7 +181,7 @@ public interface LifeplusAPI {
   /***********************************
    * 문의 / FAQ
    ***********************************/
-  @POST("/api/v1/textRes/getFaqList.plus")
+  @POST("mapi/faqs/list.plus")
   Single<FAQResultBean> getFaqList(@Body RequestBean bean);
 
   /***********************************

File diff suppressed because it is too large
+ 18 - 18
app/src/sandbox/java/kr/co/zumo/app/lifeplus/network/api/LifeplusAPIService.java