zhijiezhao 8 月之前
父節點
當前提交
b1fce57267

+ 3 - 0
src/main/java/com/caimei365/user/model/dto/ChatCompletionResponse.java

@@ -76,6 +76,7 @@ public class ChatCompletionResponse {
     }
 
     @Data
+    @JsonIgnoreProperties(ignoreUnknown = true)
     public static class Usage {
 
         @JsonProperty("prompt_tokens_details")
@@ -90,6 +91,8 @@ public class ChatCompletionResponse {
         @JsonProperty("total_tokens")
         private int totalTokens;
 
+        @JsonProperty("search_count")
+        private int searchCount;
         // Getters and setters or Lombok annotations
     }
 }

+ 2 - 2
src/main/resources/mapper/LoginMapper.xml

@@ -558,8 +558,8 @@
     </select>
 
     <insert id="insertTicket">
-        insert into cm_zyl_ticket (userId, shopIds)
-        values (#{userId}, #{shopSign})
+        insert into cm_zyl_ticket (userId, shopIds, bindTime)
+        values (#{userId}, #{shopSign},now())
     </insert>
 
     <delete id="deleteTicketUser">