You've already forked FrameTour-BE
添加景区账号的登陆功能
添加“上传人脸、现场支付、事后支付、退款、点击购买”操作的数据记录
This commit is contained in:
@ -42,6 +42,11 @@ public class JwtInfo implements Serializable {
|
||||
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 景区id
|
||||
*/
|
||||
private Long scenicId;
|
||||
|
||||
|
||||
/**
|
||||
* 生成 token 的时间
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.ycwl.basic.model.mobile.scenic.account;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/13 9:44
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("景区账号登录请求类")
|
||||
public class ScenicLoginReq {
|
||||
@ApiModelProperty("账号")
|
||||
private String account;
|
||||
@ApiModelProperty("密码")
|
||||
private String password;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.ycwl.basic.model.mobile.scenic.account;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/13 9:44
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("景区账号登录响应类")
|
||||
public class ScenicLoginRespVO {
|
||||
private Long id;
|
||||
@ApiModelProperty("景区id")
|
||||
private Long scenicId;
|
||||
@ApiModelProperty("是否是超级管理员")
|
||||
private Integer isSuper;
|
||||
@ApiModelProperty("账号名称")
|
||||
private String name;
|
||||
@ApiModelProperty("账号")
|
||||
private String account;
|
||||
@ApiModelProperty("1启用 0禁用")
|
||||
private Integer status;
|
||||
private String token;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.ycwl.basic.model.mobile.statistic;
|
||||
package com.ycwl.basic.model.mobile.statistic.req;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
@ -0,0 +1,22 @@
|
||||
package com.ycwl.basic.model.mobile.statistic.req;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/12 18:31
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("移动端用户操作统计记录添加类")
|
||||
public class StatisticsRecordAddReq {
|
||||
@ApiModelProperty("统计数据类型,0扫码访问,1上传人脸,2预览视频,3现场支付,4事后支付,5退款,6消息推送,8下载,9点击购买")
|
||||
private Integer type;
|
||||
@ApiModelProperty(value = "景区id")
|
||||
private Long scenicId;
|
||||
@ApiModelProperty(value = "触发用户id",hidden = true)
|
||||
private Long memberId;
|
||||
@ApiModelProperty("关联数据ID 例如:预览视频就是视频id")
|
||||
private Long morphId;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.ycwl.basic.model.mobile.statistic;
|
||||
package com.ycwl.basic.model.mobile.statistic.resp;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
@ -1,4 +1,4 @@
|
||||
package com.ycwl.basic.model.mobile.statistic;
|
||||
package com.ycwl.basic.model.mobile.statistic.resp;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
@ -1,4 +1,4 @@
|
||||
package com.ycwl.basic.model.mobile.statistic;
|
||||
package com.ycwl.basic.model.mobile.statistic.resp;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
@ -1,4 +1,4 @@
|
||||
package com.ycwl.basic.model.mobile.statistic;
|
||||
package com.ycwl.basic.model.mobile.statistic.resp;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
@ -1,10 +1,13 @@
|
||||
package com.ycwl.basic.model.pc.order.resp;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/3 14:07
|
||||
@ -36,4 +39,6 @@ public class OrderItemVO {
|
||||
private String imgUrl;
|
||||
@ApiModelProperty("原素材类型:1视频,2图像")
|
||||
private Integer sourceType;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ public class ScenicAccountEntity {
|
||||
private String name;
|
||||
private String account;
|
||||
private String password;
|
||||
private Integer status;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
}
|
||||
|
Reference in New Issue
Block a user