Browse Source

3.3.0 release

pull/1/head
Jeongbae Kong 5 years ago
parent
commit
fa4b4fa111
  1. 173
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeService.swift

173
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeService.swift

@ -37,179 +37,6 @@ class PhoneCardRechargeService: PhoneCardRechargeServiceType {
failure: @escaping (Error) -> Void
) {
// let testString =
// """
// {
// "ErrorCode": "0",
// "Msg": "Success",
// "Id": "",
// "Extra": "",
// "Extra2": "",
// "Data": {
// "CardListType": "1",
// "ButtonsGrid": [
// {
// "Price": "10000"
// },
// {
// "Price": "20000"
// },
// {
// "Price": "30000"
// },
// {
// "Price": "40000"
// },
// {
// "Price": "50000"
// },
// {
// "Price": "100000"
// }
// ],
// "CountryPriceCode": null,
// "CardInfo": [
// {
// "CardCode": "PPS_04",
// "CardName": "7 Mobile ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "Nomal",
// "CardName": "Nomal - (10,000)",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_01",
// "CardName": "SK ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_02",
// "CardName": "LG ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_03",
// "CardName": "KT ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_05",
// "CardName": "Mobing ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_06",
// "CardName": "EYES ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_07",
// "CardName": "EG FreeData ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_08",
// "CardName": "M Mobile ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_09",
// "CardName": " ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_10",
// "CardName": "MyWorld ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_11",
// "CardName": "WHOM ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_13",
// "CardName": "K mobile ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_14",
// "CardName": "FREE T ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_15",
// "CardName": "FREE C ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_18",
// "CardName": "EYAGI ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_19",
// "CardName": "Blue Mobile ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_21",
// "CardName": "DREAM ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// },
// {
// "CardCode": "PPS_22",
// "CardName": "Smatel ",
// "FacePrice": "10000",
// "SubInfo": null,
// "Promotion_price": null
// }
// ]
// }
// }
// """
// let json = ResponseContainerObject<CardList>(JSONString: testString)
// guard let test = json?.data else { return }
// success(test)
APIRouter.fetchCardList(type: type, mobile: mobile)
.json(success: success, failure: failure)
}

Loading…
Cancel
Save