Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
diyhi committed Jul 3, 2023
1 parent ea51664 commit 42a6eff
Show file tree
Hide file tree
Showing 138 changed files with 17,628 additions and 1,826 deletions.
Binary file modified image/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/m1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/m2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/m3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>bbs</groupId>
<artifactId>bbs</artifactId>
<version>5.9</version>
<version>6.0</version>
<packaging>war</packaging>
<name>bbs</name>
<description/>
Expand Down
23 changes: 21 additions & 2 deletions src/main/java/cms/bean/ErrorView.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public enum ErrorView {
_23("模块错误"),
_24("令牌检测未开启"),
_25("刷新令牌不能为空"),

/**-------------------------------- 话题 -----------------------------------**/
_101("内容不能为空"),
_103("话题Id不能为空"),
Expand Down Expand Up @@ -70,6 +69,8 @@ public enum ErrorView {
_142("删除回复失败"),
_143("只允许删除自己发布的评论"),
_144("只允许删除自己发布的回复"),
_145("对方回复Id和评论Id不对应"),
_146("对方回复Id不存在"),

/**-------------------------------- 问答 -----------------------------------**/
_201("内容不能为空"),
Expand Down Expand Up @@ -111,6 +112,8 @@ public enum ErrorView {
_243("答案Id不能为空"),
_244("不允许修改已采纳的答案"),
_245("删除答案失败"),
_246("对方回复Id和答案Id不对应"),
_247("对方回复Id不存在"),
/**-------------------------------- 在线留言 -----------------------------------**/
_301("不能超过100个字符"),
_302("名称不能为空"),
Expand Down Expand Up @@ -257,7 +260,23 @@ public enum ErrorView {
_3060("话题未发布不允许领取红包"),
_3070("话题不存在不允许领取红包"),
_3080("红包已原路返还用户"),
_3090("没有领取红包权限");
_3090("没有领取红包权限"),

_4010("请选择举报分类"),
_4020("举报分类不存在"),
_4030("请填写理由"),
_4040("不允许提交举报"),
_4050("图片格式错误"),
_4060("参数Id不能为空"),
_4070("模块不能为空"),
_4080("状态参数错误"),
_4090("话题不存在"),
_4100("评论不存在"),
_4110("评论回复不存在"),
_4120("问题不存在"),
_4130("答案不存在"),
_4140("答案回复不存在"),
_4150("您之前对此内容的举报还在处理中,请不要重复举报");


private ErrorView(String content) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cms/bean/message/RemindEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class RemindEntity implements Serializable{
protected String senderAvatarName;


/** 提醒类型代码编号 10:别人评论了我的话题 20:别人回复了我的话题 30:别人引用了我的评论 40:别人回复了我的评论 50:别人回复了我回复过的评论 60:别人解锁了我的话题 70.别人点赞了我的话题 80.别人关注了我 90.我关注的人发表了话题 100.我关注的人发表了评论 110.我关注的人发表了回复 120:别人回答了我的问题 130:别人回复了我的问题 140:别人回复了我的答案 150:别人回复了我回复过的答案 **/
/** 提醒类型代码编号 10:别人评论了我的话题 20:别人回复了我的话题 30:别人引用了我的评论 40:别人回复了我的评论 50:别人回复了我回复过的评论 55:别人回复了我的评论回复 60:别人解锁了我的话题 70.别人点赞了我的话题 80.别人关注了我 90.我关注的人发表了话题 100.我关注的人发表了评论 110.我关注的人发表了回复 120:别人回答了我的问题 130:别人回复了我的问题 140:别人回复了我的答案 150:别人回复了我回复过的答案 160:别人回复了我的答案回复 **/
protected Integer typeCode;

/** 关联数据
Expand Down
88 changes: 88 additions & 0 deletions src/main/java/cms/bean/question/AnswerReply.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,30 @@ public class AnswerReply implements Serializable{
/** 头像名称 **/
@Transient
private String avatarName;

/** 对方回复Id **/
private Long friendReplyId;
/** 对方回复Id组 **/
@Lob
private String friendReplyIdGroup = ",0,";
/** 对方是否是员工 true:员工 false:会员 **/
private Boolean isFriendStaff = false;
/** 对方用户名称 **/
@Column(length=30)
private String friendUserName;
/** 对方账号 **/
@Transient
private String friendAccount;
/** 对方呢称 **/
@Transient
private String friendNickname;
/** 对方头像路径 **/
@Transient
private String friendAvatarPath;
/** 对方头像名称 **/
@Transient
private String friendAvatarName;

/** 用户信息状态 -30.账号已注销(不显示数据) -20.账号已逻辑删除(不显示数据) -10.账号已禁用(不显示数据) 0.正常 10.账号已禁用(显示数据) 20.账号已逻辑删除(显示数据) **/
@Transient
private Integer userInfoStatus = 0;
Expand Down Expand Up @@ -221,6 +245,70 @@ public Integer getUserInfoStatus() {
public void setUserInfoStatus(Integer userInfoStatus) {
this.userInfoStatus = userInfoStatus;
}

public Long getFriendReplyId() {
return friendReplyId;
}

public void setFriendReplyId(Long friendReplyId) {
this.friendReplyId = friendReplyId;
}

public String getFriendReplyIdGroup() {
return friendReplyIdGroup;
}

public void setFriendReplyIdGroup(String friendReplyIdGroup) {
this.friendReplyIdGroup = friendReplyIdGroup;
}

public Boolean getIsFriendStaff() {
return isFriendStaff;
}

public void setIsFriendStaff(Boolean isFriendStaff) {
this.isFriendStaff = isFriendStaff;
}

public String getFriendUserName() {
return friendUserName;
}

public void setFriendUserName(String friendUserName) {
this.friendUserName = friendUserName;
}

public String getFriendAccount() {
return friendAccount;
}

public void setFriendAccount(String friendAccount) {
this.friendAccount = friendAccount;
}

public String getFriendNickname() {
return friendNickname;
}

public void setFriendNickname(String friendNickname) {
this.friendNickname = friendNickname;
}

public String getFriendAvatarPath() {
return friendAvatarPath;
}

public void setFriendAvatarPath(String friendAvatarPath) {
this.friendAvatarPath = friendAvatarPath;
}

public String getFriendAvatarName() {
return friendAvatarName;
}

public void setFriendAvatarName(String friendAvatarName) {
this.friendAvatarName = friendAvatarName;
}


}
Loading

0 comments on commit 42a6eff

Please sign in to comment.