添加“景区内容(成片、未成片模版、源素材)列表”接口

This commit is contained in:
longbinbin
2024-12-10 16:16:43 +08:00
parent 4c51e1be08
commit 3b94b34cf6
29 changed files with 246 additions and 76 deletions

View File

@ -28,7 +28,7 @@ public class JwtInfo implements Serializable {
/**
* 用户ID
*/
private String userId;
private Long userId;
/**
* 角色ID

View File

@ -13,7 +13,7 @@ import lombok.Data;
public class GoodsReqQuery {
@ApiModelProperty("是否已购买 0否 1是")
private Integer isBuy;
@ApiModelProperty("用户id")
@ApiModelProperty(value = "用户id", hidden = true)
private Long memberId;
@ApiModelProperty("景区id")
private Long scenicId;

View File

@ -0,0 +1,34 @@
package com.ycwl.basic.model.mobile.scenic.content;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
/**
* @Authorlongbinbin
* @Date2024/12/5 15:10
*/
@Data
@ApiModel("景区内容(成片、待成片模版、源素材)列表响应信息")
public class ContentPageVO {
@ApiModelProperty("内容名称")
private String name;
// @ApiModelProperty("景区id")
// private Long scenicId;
// @ApiModelProperty("景区名称")
// private String scenicName;
// @ApiModelProperty("经度")
// private BigDecimal longitude;
// @ApiModelProperty("纬度")
// private BigDecimal latitude;
@ApiModelProperty("内容类型 0模版 1:成片视频 2:源素材 ")
private Integer contentType;
@ApiModelProperty("源素材类型 1:视频 2:图片")
private Integer sourceType;
@ApiModelProperty("内容id contentType为0或1时才有值")
private Long contentId;
@ApiModelProperty("模版封面图片 contentType为0或1时才有值")
private String templateCoverUrl;
}

View File

@ -4,7 +4,7 @@ import lombok.Data;
@Data
public class LoginEntity {
private String staffId;
private Long staffId;
private String staffName;
private String account;
private String password;

View File

@ -88,6 +88,8 @@ public class OrderAppRespVO {
*/
@ApiModelProperty("商品类型1成片2源素材")
private Integer goodsType;
@ApiModelProperty("封面图片(来自模版封面图片)")
private String coverUrl;
@ApiModelProperty("订单明细")
private List<OrderItemVO> orderItemList;
}

View File

@ -19,6 +19,8 @@ import java.util.Date;
@Data
@ApiModel("模版查询请求类")
public class TemplateReqQuery extends BaseQueryParameterReq {
@ApiModelProperty("景区id")
private Long scenicId;
/**
* 模版名称
*/