From f318c9c7c127b00f353bf45f273096d1dc4b424f Mon Sep 17 00:00:00 2001
From: admin <1101184511@qq.com>
Date: 星期三, 20 八月 2025 01:10:48 +0800
Subject: [PATCH] 功能完善

---
 src/test/java/com/taoke/autopay/AutopayApplicationTests.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/test/java/com/taoke/autopay/AutopayApplicationTests.java b/src/test/java/com/taoke/autopay/AutopayApplicationTests.java
index 8aecd15..326e584 100644
--- a/src/test/java/com/taoke/autopay/AutopayApplicationTests.java
+++ b/src/test/java/com/taoke/autopay/AutopayApplicationTests.java
@@ -9,6 +9,7 @@
 import com.taoke.autopay.exception.KeyOrderException;
 import com.taoke.autopay.service.ClientInfoService;
 import com.taoke.autopay.service.KeyOrderService;
+import com.taoke.autopay.utils.Constant;
 import com.taoke.autopay.utils.StringUtil;
 import org.junit.jupiter.api.Test;
 import org.springframework.boot.test.context.SpringBootTest;
@@ -54,7 +55,7 @@
     @Test
     void test3() throws Exception {
         for (int i = 0; i < 100; i++) {
-            Long uid = keyOrderService.getCanDistributeUid();
+            Long uid = keyOrderService.getCanDistributeUid(Constant.MAX_PAY_ACCOUNT_QUEUE_SIZE);
             System.out.println(uid);
         }
     }

--
Gitblit v1.8.0