对接语圈接口,
页面基本完成,评论完成一半,需要再调试
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*@author qx
|
||||
*@data 2025/5/29
|
||||
*@description: 相册列表
|
||||
*/
|
||||
@Data
|
||||
public class AlbumBean {
|
||||
private String id;//相册id
|
||||
|
||||
private String name; //相册名称
|
||||
|
||||
private String image; //相册封面
|
||||
|
||||
private String pwd; //相册密码
|
||||
|
||||
private String read_num; //相册阅读数
|
||||
|
||||
private List<ImageList> image_list;
|
||||
@Data
|
||||
public class ImageList{
|
||||
private String id; //图片id
|
||||
private String image; //图片地址
|
||||
private String content; //图片描述
|
||||
private String createtime; //图片创建时间
|
||||
}
|
||||
}
|
||||
@@ -6,15 +6,22 @@ import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class CircleListBean {
|
||||
private String id;
|
||||
private String userNickName;
|
||||
private String userAvatar;
|
||||
private String time;
|
||||
private String content;
|
||||
private List<String> images;
|
||||
private String type;
|
||||
private String comment;
|
||||
private String like;
|
||||
private String isShare;
|
||||
private int id;//语圈ID
|
||||
private int user_id;//用户ID
|
||||
private String nickname;//用户昵称
|
||||
private String avatar;//用户头像
|
||||
private int is_like;//是否点赞(0没有,1点赞)
|
||||
private int sex;//性别 1男2女
|
||||
private String content;//内容
|
||||
private String like_num;//点赞数
|
||||
private String rewards_num; //打赏金额
|
||||
private String is_room;//作者是否在房间中(1在,0不在)
|
||||
private String room_id;//作者所在房间ID (is_room =0 此值小于0 )
|
||||
private String comment_num;//评论数
|
||||
private int is_recommend;//1非推荐2推荐
|
||||
private String ip;//活跃地址
|
||||
private String images;////图片 JSON字符串 封面获取第一张
|
||||
private String createtime;//时间
|
||||
private String title;//话题
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
/**
|
||||
*@author qx
|
||||
*@data 2025/5/30
|
||||
*@description:评论实体
|
||||
*/
|
||||
@Data
|
||||
public class CommentBean {
|
||||
|
||||
private int total;//评论总数
|
||||
private List<CommentDetailsBean> list;
|
||||
@Data
|
||||
public static class CommentDetailsBean {
|
||||
private int id;
|
||||
private int zone_id;
|
||||
private String content;
|
||||
private int createtime;
|
||||
private int user_id;
|
||||
private String nickname;
|
||||
private String avatar;
|
||||
private int is_author;
|
||||
private List<Replies> replies;
|
||||
|
||||
@Data
|
||||
public static class Replies {
|
||||
private int zone_id;
|
||||
private String content;
|
||||
private int createtime;
|
||||
private int user_id;
|
||||
private String nickname;
|
||||
private String avatar;
|
||||
private int pid;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
/**
|
||||
*@author qx
|
||||
*@data 2025/5/29
|
||||
*@description: 扩列数据
|
||||
*/
|
||||
@Data
|
||||
public class ExpandColumnBean {
|
||||
private String id;
|
||||
private String sex;
|
||||
private String nickname;
|
||||
private String avatar;
|
||||
private String birthday;
|
||||
private String loginip;
|
||||
private String home_bgimages;
|
||||
private int room_id;//房间id,当有参数的时候,就显示跟随,当没有的时候,就显示私信控件
|
||||
private List<String> icon;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class GiftLabelBean {
|
||||
private String label;
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
/**
|
||||
*@author qx
|
||||
*@data 2025/5/30
|
||||
*@description: 礼物打赏数量
|
||||
*/
|
||||
public class GiftNumBean {
|
||||
private String number;
|
||||
private String text;
|
||||
|
||||
public GiftNumBean() {
|
||||
}
|
||||
|
||||
public GiftNumBean(String number, String text) {
|
||||
this.number = number;
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
return text;
|
||||
}
|
||||
|
||||
public void setText(String text) {
|
||||
this.text = text;
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,19 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*@author qx
|
||||
*@data 2025/5/30
|
||||
*@description: 话题实体
|
||||
*/
|
||||
@Data
|
||||
public class HeatedBean {
|
||||
private String title;
|
||||
private String title_pictrue;
|
||||
private String type;
|
||||
private String title_content;
|
||||
private String title;//话题
|
||||
private String topic_id;//话题id
|
||||
private String count;//引用数量
|
||||
private String pic; //图片
|
||||
private String content;//内容
|
||||
private String id;//话题id
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class NewsDataBean {
|
||||
private String id; //id
|
||||
private String title; //标题
|
||||
private String content; //内容
|
||||
private String type; //类型1系统消息 2官方公告 3活动中心
|
||||
private String source_id; //来源id
|
||||
private String is_read; //是否已读
|
||||
private String createtime;//创建时间
|
||||
private String image;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class RewardUserBean {
|
||||
private String user_id;
|
||||
private String nickname;
|
||||
private String avatar;
|
||||
private String is_online;
|
||||
private String total_price;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.qxcm.moduleutil.bean;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class RoonGiftModel {
|
||||
private String id;
|
||||
private String name;
|
||||
private String title;
|
||||
private String all_room_push;
|
||||
private String picture;
|
||||
private String price;
|
||||
private String special;
|
||||
private String sort;
|
||||
private String type;
|
||||
private String child_type;
|
||||
private String sold;
|
||||
private String cardiac;
|
||||
private boolean isChecked;
|
||||
|
||||
private boolean can_send_self;//是否能送自己
|
||||
|
||||
public boolean isCan_send_self() {
|
||||
if ( isManghe()) {
|
||||
return true;
|
||||
}
|
||||
return can_send_self;
|
||||
}
|
||||
|
||||
public boolean isManghe() {
|
||||
return type.equals("4") || type.equals("5") || type.equals("13");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user