Browse Source

Ready to release 3.1.1(1)

pull/1/head
Jeongbae Kong 5 years ago
parent
commit
fea3b999a2
  1. 4
      GME Remit.xcodeproj/project.pbxproj
  2. 163
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeService.swift

4
GME Remit.xcodeproj/project.pbxproj

@ -16993,7 +16993,7 @@
"$(inherited)",
"$(PROJECT_DIR)/GME\\ Remit/ThirdParty/virtualKeyboard/mtk_module",
);
MARKETING_VERSION = 3.1.0;
MARKETING_VERSION = "3.1.1(1)";
PRODUCT_BUNDLE_IDENTIFIER = com.gme.gmeremit;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@ -17029,7 +17029,7 @@
"$(inherited)",
"$(PROJECT_DIR)/GME\\ Remit/ThirdParty/virtualKeyboard/mtk_module",
);
MARKETING_VERSION = 3.1.0;
MARKETING_VERSION = "3.1.1(1)";
PRODUCT_BUNDLE_IDENTIFIER = com.gme.gmeremit;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";

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

@ -15,39 +15,6 @@ class PhoneCardRechargeService: PhoneCardRechargeServiceType {
success: @escaping (BalanceModel) -> Void,
failure: @escaping (Error) -> Void
) {
// let testString =
// """
// {
// "ErrorCode": "0",
// "Msg": "SUCCESS",
// "Id": "",
// "Extra": "",
// "Extra2": "",
// "Data":
// {
// "product_name" : "",
// "fintech_use_num" : "199159136057870196816404",
// "available_amt" : "40000",
// "account_type" : "1",
// "rsp_message" : "",
// "rsp_code" : "A0000",
// "bank_tran_date" : "20161001",
// "api_tran_id" : "3dab9712-2c9e-455b-9277-22b943bd3087",
// "bank_code_tran" : "097",
// "balance_amt" : "40000",
// "api_tran_dtm" : "20200305163430079",
// "bank_rsp_code" : "000",
// "bank_tran_id" : "T991591360U163429234",
// "bank_rsp_message" : ""
// }
// }
// """
//
// let json = ResponseContainerObject<BalanceModel>(JSONString: testString)
// guard let test = json?.data else { return }
// success(test)
//
APIRouter.fetchBalace(
type: type,
@ -60,97 +27,6 @@ class PhoneCardRechargeService: PhoneCardRechargeServiceType {
failure: @escaping (Error) -> Void
) {
// let testString =
// """
// {
// "ErrorCode": "0",
// "Msg": "SUCCESS",
// "Id": "",
// "Extra": "",
// "Extra2": "",
// "Data": [
// {
// "BankCode" : null,
// "UserCi" : null,
// "AccountNum" : null,
// "BankName" : "GME Wallet",
// "WalletName" : "GME Wallet",
// "AutoDebit" : null,
// "Type" : "wallet",
// "FintechUseNo" : "",
// "AccountNumMasked" : null,
// "FullAccountName" : null,
// "IsApproved" : null,
// "AccHolderInfoType" : null,
// "Scope" : null,
// "UserSeqNo" : null,
// "KftcAccountId" : "MxE2I+Cv0cnjlwN4gZsGvw==",
// "CustomerId" : null,
// "BankCodeStd" : null,
// "IsShowRefresh" : null,
// "AccessToken" : null,
// "AccHolderInfo" : null,
// "AccountName" : null,
// "IsInboundPennyTestRequested" : false,
// "TokenType" : null
// },
// {
// "BankCode" : null,
// "UserCi" : null,
// "AccountNum" : null,
// "BankName" : "",
// "WalletName" : "",
// "AutoDebit" : null,
// "Type" : "autodebit",
// "FintechUseNo" : "101055699969776524821097",
// "AccountNumMasked" : "123123123***",
// "FullAccountName" : null,
// "IsApproved" : null,
// "AccHolderInfoType" : null,
// "Scope" : null,
// "UserSeqNo" : null,
// "KftcAccountId" : null,
// "CustomerId" : null,
// "BankCodeStd" : null,
// "IsShowRefresh" : null,
// "AccessToken" : null,
// "AccHolderInfo" : null,
// "AccountName" : null,
// "IsInboundPennyTestRequested" : false,
// "TokenType" : null
// },
// {
// "BankCode" : null,
// "UserCi" : null,
// "AccountNum" : null,
// "BankName" : "KDB",
// "WalletName" : "KDB",
// "AutoDebit" : null,
// "Type" : "autodebit",
// "FintechUseNo" : "199159136057870196816404",
// "AccountNumMasked" : "123123456***",
// "FullAccountName" : null,
// "IsApproved" : null,
// "AccHolderInfoType" : null,
// "Scope" : null,
// "UserSeqNo" : null,
// "KftcAccountId" : "jP87rJdoN8ACNMVlSXmBzg==",
// "CustomerId" : null,
// "BankCodeStd" : null,
// "IsShowRefresh" : null,
// "AccessToken" : null,
// "AccHolderInfo" : null,
// "AccountName" : null,
// "IsInboundPennyTestRequested" : false,
// "TokenType" : null
// }
// ]
// }
// """
//
// let json = ResponseContainerArray<Account>(JSONString: testString)
// success(json?.data ?? [])
APIRouter.fetchBankListForPowerCall.json(success: success, failure: failure)
}
@ -160,45 +36,6 @@ class PhoneCardRechargeService: PhoneCardRechargeServiceType {
success: @escaping (CardList) -> Void,
failure: @escaping (Error) -> Void
) {
// let testString =
// """
// {
// "Id" : "",
// "Extra" : "",
// "Extra2" : "",
// "Data" : {
// "CardListType" : "1",
// "CountryPriceCode" : null,
// "CardInfo" : null,
// "ButtonsGrid" : [
// {
// "Price" : "10000"
// },
// {
// "Price" : "20000"
// },
// {
// "Price" : "30000"
// },
// {
// "Price" : "40000"
// },
// {
// "Price" : "50000"
// },
// {
// "Price" : "100000"
// }
// ]
// },
// "ErrorCode" : "0",
// "Msg" : "Success"
// }
//"""
// 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