You've already forked FrameTour-BE
实现商品信息查询和商品价格查询逻辑
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
package com.ycwl.basic.model.mobile.goods;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/5 16:35
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("查询商品价格请求参数")
|
||||
public class GoodsPriceQueryReq {
|
||||
@ApiModelProperty("景区id")
|
||||
private Long scenicId;
|
||||
@ApiModelProperty("商品类型 1:成片vlog 2:源素材")
|
||||
private Integer goodsType;
|
||||
@ApiModelProperty("商品id goodsType=1时才有值")
|
||||
private Long goodsId;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.ycwl.basic.model.mobile.goods;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/5 15:40
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "商品查询对象")
|
||||
public class GoodsReqQuery {
|
||||
@ApiModelProperty("是否已购买 0否 1是")
|
||||
private Integer isBuy;
|
||||
@ApiModelProperty("用户id")
|
||||
private Long memberId;
|
||||
@ApiModelProperty("景区id")
|
||||
private Long scenicId;
|
||||
@ApiModelProperty("源素材商品类型 1视频 2图像")
|
||||
private Integer sourceType;
|
||||
}
|
37
src/main/java/com/ycwl/basic/model/mobile/goods/GoodsVO.java
Normal file
37
src/main/java/com/ycwl/basic/model/mobile/goods/GoodsVO.java
Normal file
@ -0,0 +1,37 @@
|
||||
package com.ycwl.basic.model.mobile.goods;
|
||||
|
||||
import com.ycwl.basic.model.pc.source.resp.SourceRespVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/5 15:10
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("商品")
|
||||
public class GoodsVO {
|
||||
@ApiModelProperty("商品名称")
|
||||
private String goodsName;
|
||||
@ApiModelProperty("景区id")
|
||||
private Long scenicId;
|
||||
@ApiModelProperty("景区名称")
|
||||
private String scenicName;
|
||||
@ApiModelProperty("经度")
|
||||
private BigDecimal longitude;
|
||||
@ApiModelProperty("纬度")
|
||||
private BigDecimal latitude;
|
||||
@ApiModelProperty("商品类型 1:成片视频 2:源素材")
|
||||
private Integer goodsType;
|
||||
@ApiModelProperty("源素材类型 1:视频 2:图片")
|
||||
private Integer sourceType;
|
||||
@ApiModelProperty("商品id goodsType为1时才有值")
|
||||
private Long goodsId;
|
||||
@ApiModelProperty("视频链接 goodsType为1时才有值")
|
||||
private String videoUrl;
|
||||
}
|
Reference in New Issue
Block a user