|
|
@@ -556,19 +556,23 @@ public class LifeplusAPIService implements LifeplusAPI {
|
|
|
@Override
|
|
|
public Single<CoinExtinctionResultBean> getCoinExtinction(RequestBean bean) {
|
|
|
return Single.fromCallable(() -> {
|
|
|
- String result = "{ \n" +
|
|
|
- " \"sp_rtn\":0 ,\n" +
|
|
|
- " \"rtn_message\" :\"성공\", \n" +
|
|
|
- " \"data\":[ \n" +
|
|
|
- " {\"paymItem\" : \"thermos\",\"extnPrrmCoin\" : \"3000\",\"vlidEndDttm\" : \"20190110\"}, \n" +
|
|
|
- " {\"paymItem\" : \"thermos\",\"extnPrrmCoin\" : \"4000\",\"vlidEndDttm\" : \"20190110\"}, \n" +
|
|
|
- " {\"paymItem\" : \"thermos\",\"extnPrrmCoin\" : \"5000\",\"vlidEndDttm\" : \"20190110\"}, \n" +
|
|
|
- " {\"paymItem\" : \"thermos\",\"extnPrrmCoin\" : \"6000\",\"vlidEndDttm\" : \"20190110\"}, \n" +
|
|
|
- " {\"paymItem\" : \"thermos\",\"extnPrrmCoin\" : \"7000\",\"vlidEndDttm\" : \"20190110\"}, \n" +
|
|
|
- " {\"paymItem\" : \"thermos\",\"extnPrrmCoin\" : \"8000\",\"vlidEndDttm\" : \"20190110\"}, \n" +
|
|
|
- " {\"paymItem\" : \"thermos\",\"extnPrrmCoin\" : \"9000\",\"vlidEndDttm\" : \"20190110\"}, \n" +
|
|
|
- " {\"paymItem\" : \"notebook\",\"extnPrrmCoin\" : \"100000\" , \"vlidEndDttm\" : \"20190220\"} \n" +
|
|
|
- " ] \n" +
|
|
|
+ String result = "{\n" +
|
|
|
+ " \"data\": [\n" +
|
|
|
+ " {\n" +
|
|
|
+ " \"crmmExtnPrrmCoin\": \"10\",\n" +
|
|
|
+ " \"vlidEndDttm\": \"20190131\"\n" +
|
|
|
+ " },\n" +
|
|
|
+ " {\n" +
|
|
|
+ " \"crmmExtnPrrmCoin\": \"300\",\n" +
|
|
|
+ " \"vlidEndDttm\": \"20190228\"\n" +
|
|
|
+ " },\n" +
|
|
|
+ " {\n" +
|
|
|
+ " \"crmmExtnPrrmCoin\": \"6990\",\n" +
|
|
|
+ " \"vlidEndDttm\": \"20190331\"\n" +
|
|
|
+ " }\n" +
|
|
|
+ " ],\n" +
|
|
|
+ " \"sp_rtn\": 0,\n" +
|
|
|
+ " \"rtn_message\": \"성공\"\n" +
|
|
|
"}";
|
|
|
|
|
|
return new Gson().fromJson(result, CoinExtinctionResultBean.class);
|