zoujiajian 2 vuotta sitten
vanhempi
sitoutus
2b7eb827c0

+ 5 - 0
netflix-dao/src/main/java/com/cyksj/model/views/ChatGptUserView.java

@@ -54,4 +54,9 @@ public class ChatGptUserView {
      * 规格
      */
     private Long skuId;
+
+    /**
+     * 月份
+     */
+    private Integer months;
 }

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

@@ -845,6 +845,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
                     .orderId(orderId)
                     .goodsId(goodsDonSku.getGoodsId())
                     .skuId(goodsDonSku.getId())
+                    .months(goodsDonSku.getMonths())
                     .use(Math.min(chatgptUser.getLimitNum(), getConversationCount(chatgptUser.getUserToken(), chatgptUser.getLimitTime())))
                     .build();
         } else {