1.修改获取开场白接口的返回结构

2.添加获取评论接口
This commit is contained in:
2025-07-23 16:02:43 +08:00
parent cc82f85e00
commit e74a8bfd98
8 changed files with 109 additions and 12 deletions

View File

@@ -0,0 +1,33 @@
package com.yupi.springbootinit.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/*
* @author: ziin
* @date: 2025/7/23 16:00
*/
@ApiModel(description="ai_comment")
@Data
@TableName(value = "ai_comment")
public class AiComment {
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value="主键")
private Integer id;
/**
* 具体评论
*/
@TableField(value = "content")
@ApiModelProperty(value="具体评论")
private String content;
}

View File

@@ -24,13 +24,6 @@ public class AiTemplate {
@ApiModelProperty(value="主键")
private Integer id;
/**
* 语言
*/
@TableField(value = "`language`")
@ApiModelProperty(value="语言")
private String language;
/**
* 具体话术
*/