diff --git a/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointDto.java b/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointDto.java index 3f1788a..c599c1f 100644 --- a/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointDto.java +++ b/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointDto.java @@ -29,4 +29,10 @@ public class TaskPointDto implements Serializable { @ApiModelProperty("是否生效,1-生效 2-不生效") private Integer valid; + + @ApiModelProperty("APP动作") + private String action; + + @ApiModelProperty("提示语") + private String tooltip; } \ No newline at end of file diff --git a/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointForAppDto.java b/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointForAppDto.java index 1cb16c0..1633182 100644 --- a/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointForAppDto.java +++ b/luoo_user/src/main/java/com/luoo/user/dto/point/TaskPointForAppDto.java @@ -28,6 +28,9 @@ public class TaskPointForAppDto implements Serializable { @ApiModelProperty("APP动作") String action; + @ApiModelProperty("提示语") + String tooltip; + @Transient @ApiModelProperty(value = "用户任务状态 1-已参加 2-未参加") Integer userStatus; diff --git a/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java b/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java index 207e60b..c4401ee 100644 --- a/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java +++ b/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java @@ -79,9 +79,15 @@ public class TaskPoint implements Serializable { private String updateUser; @ApiModelProperty("是否生效,1-生效 2-不生效") + @Column(name = "valid") private Integer valid; @ApiModelProperty("APP动作") + @Column(name = "action") private String action; + @ApiModelProperty("提示语") + @Column(name = "tooltip") + private String tooltip; + } \ No newline at end of file diff --git a/luoo_user/src/main/resources/sql/20240904.sql b/luoo_user/src/main/resources/sql/20240904.sql index 2d5efa7..e7fe354 100644 --- a/luoo_user/src/main/resources/sql/20240904.sql +++ b/luoo_user/src/main/resources/sql/20240904.sql @@ -35,5 +35,8 @@ alter table tb_lottery_region alter table tb_lottery_user add show_time varchar(50) null comment '演出时间'; +alter table tb_task_point + add tooltip varchar(50) null comment '提示信息'; +