直播添加相关功能bug修改
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
* 一经发现盗用、分享等行为,将追究法律责任,后果自负
|
||||
*/
|
||||
package co.yixiang.modules.wechat.domain;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
@ -26,7 +27,7 @@ import java.util.Date;
|
||||
public class YxWechatLive implements Serializable {
|
||||
|
||||
/** 直播间id */
|
||||
@TableId
|
||||
@TableId(type = IdType.INPUT)
|
||||
private Long roomid;
|
||||
|
||||
|
||||
|
@ -23,16 +23,16 @@ public class YxWechatLiveDto implements Serializable {
|
||||
/** 直播间id */
|
||||
/** 防止精度丢失 */
|
||||
@JsonSerialize(using= ToStringSerializer.class)
|
||||
private Long roomId;
|
||||
private Long roomid;
|
||||
|
||||
/** 直播间标题 */
|
||||
private String name;
|
||||
|
||||
/** 背景图 */
|
||||
private String coverImg;
|
||||
private String coverImge;
|
||||
|
||||
/** 分享图片 */
|
||||
private String shareImg;
|
||||
private String shareImge;
|
||||
|
||||
/** 直播间状态 */
|
||||
private Integer liveStatus;
|
||||
@ -50,7 +50,7 @@ public class YxWechatLiveDto implements Serializable {
|
||||
private String anchorWechat;
|
||||
|
||||
/** 主播头像 */
|
||||
private String anchorImg;
|
||||
private String anchorImge;
|
||||
|
||||
/** 直播间类型 1:推流 0:手机直播 */
|
||||
private Integer type;
|
||||
|
@ -110,14 +110,14 @@ public class YxWechatLiveServiceImpl extends BaseServiceImpl<YxWechatLiveMapper,
|
||||
for (YxWechatLiveDto yxWechatLive : all) {
|
||||
Map<String,Object> map = new LinkedHashMap<>();
|
||||
map.put("直播间标题", yxWechatLive.getName());
|
||||
map.put("背景图", yxWechatLive.getCoverImg());
|
||||
map.put("分享图片", yxWechatLive.getShareImg());
|
||||
map.put("背景图", yxWechatLive.getCoverImge());
|
||||
map.put("分享图片", yxWechatLive.getShareImge());
|
||||
map.put("直播间状态", yxWechatLive.getLiveStatus());
|
||||
map.put("开始时间", yxWechatLive.getStartTime());
|
||||
map.put("预计结束时间", yxWechatLive.getEndTime());
|
||||
map.put("主播昵称", yxWechatLive.getAnchorName());
|
||||
map.put("主播微信号", yxWechatLive.getAnchorWechat());
|
||||
map.put("主播头像", yxWechatLive.getAnchorImg());
|
||||
map.put("主播头像", yxWechatLive.getAnchorImge());
|
||||
map.put("直播间类型 1:推流 0:手机直播", yxWechatLive.getType());
|
||||
map.put("横屏、竖屏 【1:横屏,0:竖屏】", yxWechatLive.getScreenType());
|
||||
map.put("是否关闭货架 【0:开启,1:关闭】", yxWechatLive.getCloseLike());
|
||||
|
Reference in New Issue
Block a user