diff --git a/app/src/main/java/com/dskj/rbchat/model/LoginBean.java b/app/src/main/java/com/dskj/rbchat/model/LoginBean.java
index 4fb42b6..027ac22 100644
--- a/app/src/main/java/com/dskj/rbchat/model/LoginBean.java
+++ b/app/src/main/java/com/dskj/rbchat/model/LoginBean.java
@@ -31,22 +31,22 @@ public class LoginBean extends RosterElementEntity {
private Integer isFollow;
private Integer allowGiftCoin;
private Integer isBiz = 0;
- private float cashFeeRate; //cash费率
- private float silverFeeRate;//积分费率
+ private double cashFeeRate; //cash费率
+ private double silverFeeRate;//积分费率
- public float getCashFeeRate() {
+ public double getCashFeeRate() {
return cashFeeRate;
}
- public void setCashFeeRate(float cashFeeRate) {
+ public void setCashFeeRate(double cashFeeRate) {
this.cashFeeRate = cashFeeRate;
}
- public float getSilverFeeRate() {
+ public double getSilverFeeRate() {
return silverFeeRate;
}
- public void setSilverFeeRate(float silverFeeRate) {
+ public void setSilverFeeRate(double silverFeeRate) {
this.silverFeeRate = silverFeeRate;
}
diff --git a/app/src/main/java/com/dskj/rbchat/redpack/TransferAccountsActivity.java b/app/src/main/java/com/dskj/rbchat/redpack/TransferAccountsActivity.java
index 408482e..62aa8fd 100644
--- a/app/src/main/java/com/dskj/rbchat/redpack/TransferAccountsActivity.java
+++ b/app/src/main/java/com/dskj/rbchat/redpack/TransferAccountsActivity.java
@@ -69,7 +69,7 @@ public class TransferAccountsActivity extends BaseActivity {
PayCashFingerDialog payCashFingerDialog;
PayCashDialog payDialog;
private boolean isJinBi = false;
- private float feeRate;//费率
+ private double feeRate;//费率
private ActivityTransferAccountsBinding viewBinding;
@@ -81,7 +81,7 @@ public class TransferAccountsActivity extends BaseActivity {
viewBinding = ActivityTransferAccountsBinding.inflate(getLayoutInflater());
setContentView(viewBinding.getRoot());
isJinBi = getIntent().getBooleanExtra("type", isJinBi);
- feeRate = isJinBi ? DataUtils.getLocUserInfo().getCashFeeRate() / 100 : DataUtils.getLocUserInfo().getSilverFeeRate() / 100;
+ feeRate = isJinBi ? DataUtils.getLocUserInfo().getCashFeeRate() : DataUtils.getLocUserInfo().getSilverFeeRate();
initView();
initListeners();
}
@@ -527,7 +527,7 @@ public class TransferAccountsActivity extends BaseActivity {
return;
}
int inputAmount = Integer.parseInt(inputStr);
- int shouxufei = (int) (Math.ceil(inputAmount * feeRate));
+ int shouxufei = (int) (Math.ceil(inputAmount * feeRate / 100));
int rateAmount = inputAmount + shouxufei;
viewBinding.shouxufeiTv.setText(String.valueOf(shouxufei));
viewBinding.totaljineTv.setText(String.valueOf(rateAmount));
diff --git a/app/src/main/res/values-en/strings.xml b/app/src/main/res/values-en/strings.xml
index e2db677..74223a3 100644
--- a/app/src/main/res/values-en/strings.xml
+++ b/app/src/main/res/values-en/strings.xml
@@ -373,8 +373,8 @@
Current gift points balance is insufficient
(optional) Enter give away instructions
Initiate give away
- If the payment is not received within 24 hours, the give away amount will be automatically collected
- If payment is not received within 24 hours, the give away amount will be automatically collected
+ If not claimed within 24 hours, the gifted amount will be automatically collected
+ If not claimed within 24 hours, the gifted amount will be automatically collected
Give away instructions
Give away time
Receipt time
@@ -426,7 +426,7 @@
Return
Your gold coins are frozen, please contact customer service if you need to unfreeze
Contact customer service
- If the other party does not receive payment within 1 day, the give away amount will be automatically give away to the balance of the pay
+ If the recipient does not claim within 1 day, the gifted amount will automatically be credited to their balance
Waiting for %s to receive payment
%s has been paid
%s has automatically received payment
@@ -434,7 +434,7 @@
%s has been automatically refunded
Refunded to balance
The other party has not bound a mobile phone number, and the balance has been refunded
- If the payment is not received within 1 day, the give away amount will be automatically give away to the balance
+ If not claimed within 1 day, the gifted amount will automatically be credited to the balance
Waiting for your payment
You have received payment
You have automatically received payment
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index 934c2cf..0f2af84 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -370,8 +370,8 @@
現在のギフトポイント残高が不足しています
(オプション) 転送指示を入力します
転送を開始する
- 支払いが 24 時間以内に受け取られなかった場合、送金額は自動的に徴収されます
- 24 時間以内に支払いが受け取られなかった場合、送金金額は自動的に徴収されます
+ 24時間以内に受け取らなかった場合、贈与金額は自動的に受け取られます
+ 24時間以内に受け取らなかった場合、贈与金額は自動的に受け取られます
転送指示
転送時間
受信時刻
@@ -422,9 +422,9 @@
送金を返金してもよろしいですか?
%s の送金を返金してもよろしいですか?
戻る
- ゴールド コインは凍結されています。凍結を解除する必要がある場合は、カスタマー サービスにお問い合わせください。
+ ゴールド コインは凍結されています。凍結を解除する必要がある場合は、カスタマー サービスにお問い合わせください
カスタマーサービスにお問い合わせください
- 相手方が 1 日以内に支払いを受け取らなかった場合、送金金額は自動的に受取人の残高に送金されます。
+ 受取人が1日以内に受け取らなかった場合、贈与金額は自動的に受取人の残高に加算されます
%s が支払いを受け取るのを待っています
%s は支払われました
%s が自動的に支払いを受け取りました
@@ -432,7 +432,7 @@
%s は自動的に返金されました
残高を返金しました
相手は携帯電話番号を拘束しておらず、残高は返金されました
- 支払いが 1 日以内に受け取られなかった場合、送金金額は自動的に残高に送金されます
+ 1日以内に受け取らなかった場合、贈与金額は自動的に残高に加算されます
お支払いを待っています
支払いを受け取りました
支払いを自動的に受け取りました
diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml
index 480655b..cfb0d5a 100644
--- a/app/src/main/res/values-zh/strings.xml
+++ b/app/src/main/res/values-zh/strings.xml
@@ -368,8 +368,8 @@
当前礼品积分余额不足
(选填)输入赠送说明
发起赠送
- 24小时内未收款,赠送金额将被自动领取
- 24小时内未收款,赠送金额将被自动领取
+ 24小时内未领取,赠送金额将被自动领取
+ 24小时内未领取,赠送金额将被自动领取
赠送说明
赠送时间
领取时间
@@ -421,7 +421,7 @@
退还
您的Cash被冻结,如需解冻请联系客服
联系客服
- 1天内对方未收款,赠送金额将自动打到收款方的余额
+ 1天内对方未领取,赠送金额将自动打到对方的余额
待%s收款
%s已收款
%s已自动领取
@@ -429,7 +429,7 @@
%s已自动退还
已退还到余额
对方未绑定手机号,已退还到余额
- 1天内未收款,赠送金额将自动打到余额
+ 1天内未领取,赠送金额将自动打到余额
待你收款
您已领取
您已自动领取
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index dea6a6f..c0c6ec6 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -367,8 +367,8 @@
當前禮品積分餘額不足
(選填)輸入贈送說明
發起贈送
- 24小時內未收款,贈送金額將會自動領取
- 24小時內未收款,贈送金額將會自動領取
+ 24小時內未領取,贈送金額將會自動領取
+ 24小時內未領取,贈送金額將會自動領取
贈送說明
贈送時間
領取時間
@@ -420,7 +420,7 @@
退還
您的Cash被凍結,如需解凍請聯絡客服
聯絡客服
- 1天內對方未收款,贈送金額將自動打到收款方的餘額
+ 1天內對方未領取,贈送金額將自動打到對方的餘額
待%s收款
%s已收款
%s已自動領取
@@ -428,7 +428,7 @@
%s已自動退還
已退還至餘額
對方未綁定手機號,已退還到餘額
- 1天內未收款,贈送金額將自動打到餘額
+ 1天內未領取,贈送金額將自動打到餘額
待你收款
您已領取
您已自動領取