77 红包闪退,红包可以1=1,

This commit is contained in:
2025-12-19 18:41:16 +08:00
parent 5c607c58ae
commit 6c8065711d
5 changed files with 16 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ public class RedBagSendDialog extends BaseDialog<DialogRedBagSendBinding> {
int num = Integer.parseInt(numStr);
int text = Integer.parseInt(textStr);
if (text <= num) {
if (text < num) {
diaj=false;
ToastUtils.show("金额必须大于数量");
return;
@@ -281,7 +281,7 @@ public class RedBagSendDialog extends BaseDialog<DialogRedBagSendBinding> {
int num = Integer.parseInt(numStr);
int text = Integer.parseInt(textStr);
if (text <= num) {
if (text < num) {
diaj=false;
ToastUtils.show("金额必须大于数量");
return;