diff --git a/common/api.js b/common/api.js index 3fd14ca..4513a25 100644 --- a/common/api.js +++ b/common/api.js @@ -1280,6 +1280,23 @@ var default_api = 'https://api.global-interaction.com/'; body: payload || {}, }); }, + getWithdrawAddress: function () { + return request('/api/v1/salary-wallet/withdraw-address', { + method: 'GET', + }); + }, + saveWithdrawAddress: function (payload) { + return request('/api/v1/salary-wallet/withdraw-address', { + method: 'POST', + body: payload || {}, + }); + }, + withdraw: function (payload) { + return request('/api/v1/salary-wallet/withdraw', { + method: 'POST', + body: payload || {}, + }); + }, }; var hostAPI = { diff --git a/common/locales/ar.json b/common/locales/ar.json index 3094215..3e12ad4 100644 --- a/common/locales/ar.json +++ b/common/locales/ar.json @@ -273,6 +273,7 @@ "withdraw_exchange.trc20_address": "عنوان TRC20", "withdraw_exchange.save_address": "حفظ العنوان", "withdraw_exchange.saving": "جار الحفظ...", + "withdraw_exchange.edit_address": "تعديل العنوان", "withdraw_exchange.usdt_only": "USDT فقط", "withdraw_exchange.withdraw_now": "اسحب الآن", "withdraw_exchange.exchange_now": "بدّل الآن", diff --git a/common/locales/en.json b/common/locales/en.json index b620d50..0475765 100644 --- a/common/locales/en.json +++ b/common/locales/en.json @@ -274,6 +274,7 @@ "withdraw_exchange.trc20_address": "TRC20 address", "withdraw_exchange.save_address": "Save address", "withdraw_exchange.saving": "Saving...", + "withdraw_exchange.edit_address": "Edit address", "withdraw_exchange.usdt_only": "USDT only", "withdraw_exchange.withdraw_now": "Withdraw now", "withdraw_exchange.exchange_now": "Exchange now", diff --git a/common/locales/es.json b/common/locales/es.json index 185a16e..80c67c1 100644 --- a/common/locales/es.json +++ b/common/locales/es.json @@ -273,6 +273,7 @@ "withdraw_exchange.trc20_address": "Dirección TRC20", "withdraw_exchange.save_address": "Guardar dirección", "withdraw_exchange.saving": "Guardando...", + "withdraw_exchange.edit_address": "Editar dirección", "withdraw_exchange.usdt_only": "Solo USDT", "withdraw_exchange.withdraw_now": "Retirar ahora", "withdraw_exchange.exchange_now": "Intercambiar ahora", diff --git a/common/locales/id.json b/common/locales/id.json index ee9b62b..54e061a 100644 --- a/common/locales/id.json +++ b/common/locales/id.json @@ -240,6 +240,7 @@ "withdraw_exchange.trc20_address": "Alamat TRC20", "withdraw_exchange.save_address": "Simpan alamat", "withdraw_exchange.saving": "Menyimpan...", + "withdraw_exchange.edit_address": "Edit alamat", "withdraw_exchange.usdt_only": "Hanya USDT", "withdraw_exchange.withdraw_now": "Tarik sekarang", "withdraw_exchange.exchange_now": "Tukar sekarang", diff --git a/common/locales/tr.json b/common/locales/tr.json index 2c1a8d4..431e7bc 100644 --- a/common/locales/tr.json +++ b/common/locales/tr.json @@ -240,6 +240,7 @@ "withdraw_exchange.trc20_address": "TRC20 adresi", "withdraw_exchange.save_address": "Adresi kaydet", "withdraw_exchange.saving": "Kaydediliyor...", + "withdraw_exchange.edit_address": "Adresi düzenle", "withdraw_exchange.usdt_only": "Sadece USDT", "withdraw_exchange.withdraw_now": "Şimdi çek", "withdraw_exchange.exchange_now": "Şimdi değiştir", diff --git a/common/locales/zh.json b/common/locales/zh.json index 19cb1d7..f17e7ed 100644 --- a/common/locales/zh.json +++ b/common/locales/zh.json @@ -241,6 +241,7 @@ "withdraw_exchange.trc20_address": "TRC20 地址", "withdraw_exchange.save_address": "保存地址", "withdraw_exchange.saving": "保存中...", + "withdraw_exchange.edit_address": "编辑地址", "withdraw_exchange.usdt_only": "仅支持 USDT", "withdraw_exchange.withdraw_now": "立即提现", "withdraw_exchange.exchange_now": "立即兑换", diff --git a/gonghui/withdraw-exchange/index.html b/gonghui/withdraw-exchange/index.html index 5c01538..9c93eba 100644 --- a/gonghui/withdraw-exchange/index.html +++ b/gonghui/withdraw-exchange/index.html @@ -304,14 +304,22 @@