chenbiao 1 år sedan
förälder
incheckning
a3fb89cb51

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/chatgpt/impl/ChatGptAccountServiceImpl.java

@@ -573,8 +573,8 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
                     .renewOrderId(chatgptUser.getRenewOrderId())
                     .build();
             if (chatgptUser.getLimitNum() > 20) {
-                view.setO1PUse(Math.min(chatgptUser.getLimitNum() < 60 ? 5L : 15L, Optional.ofNullable(conversationCount.getLong("o1_p")).orElse(0L)));
-                view.setO1MiniUse(Math.min(chatgptUser.getLimitNum() < 60 ? 10L : 25L, Optional.ofNullable(conversationCount.getLong("o1_mini")).orElse(0L)));
+                view.setO1PUse(Optional.ofNullable(conversationCount.getLong("o1_p")).orElse(0L));
+                view.setO1MiniUse(Optional.ofNullable(conversationCount.getLong("o1_mini")).orElse(0L));
             }
             return view;
         } else {