TASK: 对话 扣除积分

This commit is contained in:
2025-06-30 12:03:23 +08:00
parent dcd63668bd
commit de5da5b299
6 changed files with 91 additions and 11 deletions

View File

@@ -39,6 +39,22 @@ public class ChatMessage implements Serializable {
@ApiModelProperty("0对话内容1颜色2图片")
private Integer isImage;
/**
* 输入
*/
private Long inputTokens;
/**
* 输出
*/
private Long outputTokens;
/**
* 思考
*/
private Long reasoningTokens;
/**
* 本次输出消耗的总金额
*/
private String totalCost;
@ApiModelProperty("创建时间")
private LocalDateTime createTime;

View File

@@ -9,10 +9,10 @@ import java.io.Serializable;
@Data
@TableName("workspace_rel_style")
public class WorkspaceRelStyle implements Serializable {
public class WorkspaceRelStyle extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
// @TableId(value = "id", type = IdType.AUTO)
// private Long id;
private Long workspaceId;
private Long styleId;
}