|
|
@@ -642,10 +642,8 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
|
|
|
if (view.getRenewSkuId() != null) {
|
|
|
Optional.ofNullable(skuMapper.selectById(view.getRenewSkuId())).ifPresent(renewSuu -> view.setRenewSpecVal(renewSuu.getSpecVal()));
|
|
|
}
|
|
|
- if (chatgptUser.getLimitNum() > 20) {
|
|
|
- view.setO1PUse(Optional.ofNullable(conversationCount.getLong("o1_p")).orElse(0L));
|
|
|
- view.setO1MiniUse(Optional.ofNullable(conversationCount.getLong("o1_mini")).orElse(0L));
|
|
|
- }
|
|
|
+ view.setOtherUse(Optional.ofNullable(conversationCount.getLong("other")).orElse(0L));
|
|
|
+ view.setDpsUse(Optional.ofNullable(conversationCount.getLong("dps")).orElse(0L));
|
|
|
return view;
|
|
|
} else {
|
|
|
throw BusinessRuntimeException.getInstance("您还未购买该车票");
|