Commit 3da18aa8 authored by tangtuo's avatar tangtuo

v1.0.0功能开发

parent 146628b8
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="乐映" uuid="1b6fc535-1315-4888-ae0d-fe345dd2fca5">
<driver-ref>mysql.8</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mysql://172.16.101.135:3306/joying_dev</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>
\ No newline at end of file
......@@ -37,6 +37,11 @@
<option name="url" value="https://maven.aliyun.com/repository/public" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="central" />
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven-nexus-group" />
<option name="name" value="maven-nexus-group" />
<option name="url" value="http://146.56.197.85:12100/repository/maven-central/" />
......
package com.fzm.admin.controller;
import com.fzm.common.annotation.Authentication;
import com.fzm.common.entity.Label;
import com.fzm.common.model.ResponseModel;
import com.fzm.common.service.LabelService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
/**
* @author tangtuo
* @date 2021/7/1 14:37
*/
@Authentication
@RestController
@RequestMapping(value = "/label")
@Api(tags = "标签管理")
public class LabelController {
@Resource
private LabelService labelService;
@GetMapping("/list/{categoryId}")
@ApiOperation(value = "查询所有主题信息")
public ResponseModel<List<Label>> list(@PathVariable Integer categoryId) {
return ResponseModel.success(labelService.listAll(categoryId));
}
}
......@@ -39,12 +39,11 @@ public class NftController {
@ApiParam(value = "每页记录数", required = true) @RequestParam Integer pageSize,
@ApiParam(value = "类目id") @RequestParam(required = false) Integer categoryId,
@ApiParam(value = "作品名称") @RequestParam(required = false) String name,
@ApiParam(value = "作品标签") @RequestParam(required = false) String theme,
@ApiParam(value = "注册手机号") @RequestParam(required = false) String telephone,
@ApiParam(value = "上架状态 0-未上架 1-已上架") @RequestParam(required = false) Integer status,
@ApiParam(value = "创建开始日期,yyyy-MM-dd格式") @RequestParam(required = false) String start,
@ApiParam(value = "创建截止日期,yyyy-MM-dd格式") @RequestParam(required = false) String end) {
PageInfo<NftListVo> page = nftService.page(pageNum, pageSize, categoryId, name, theme, telephone, status, start, end);
PageInfo<NftListVo> page = nftService.page(pageNum, pageSize, categoryId, name, telephone, status, start, end);
return ResponseModel.success(page);
}
......
......@@ -72,6 +72,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
......
......@@ -5,15 +5,14 @@ import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* @author tangtuo
* @date 2021/7/8 16:26
*/
@Data
@TableName("tb_label")
public class Label {
@TableName("tb_authority")
public class Authority {
@TableId(type = IdType.AUTO)
private Integer id;
private String name;
private String authority;
}
package com.fzm.common.entity;
import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fzm.common.entity.dto.CopyrightDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@NoArgsConstructor
@TableName("tb_copyright_apply")
@ApiModel(value = "版权申请")
public class CopyrightApply {
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "主键")
private Integer id;
@ApiModelProperty(value = "用户id")
private Integer userId;
@ApiModelProperty(value = "nft哈希")
private String nftHash;
@ApiModelProperty(value = "nft名称")
private String nftName;
@ApiModelProperty(value = "作品名称")
private String opusName;
@ApiModelProperty(value = "作品类别id")
private Integer opusCategoryId;
@ApiModelProperty(value = "作品性质")
private String opusProperty;
@ApiModelProperty(value = "内容简介")
private String contentSynopsis;
@ApiModelProperty(value = "创作过程")
private String createProcess;
@ApiModelProperty(value = "作品完成日期")
private Date opusCompleteDate;
@ApiModelProperty(value = "作品完成省份")
private String opusCompleteProvince;
@ApiModelProperty(value = "作品完成城市")
private String opusCompleteCity;
@ApiModelProperty(value = "'发表状态 0-未发表 1-已发表")
private Integer publishState;
@ApiModelProperty(value = "首次发表日期")
private Date firstPublishDate;
@ApiModelProperty(value = "首次发表省份")
private String firstPublishProvince;
@ApiModelProperty(value = "首次发表城市")
private String firstPublishCity;
@ApiModelProperty(value = "权力取得方式")
private String authorityAcquireMode;
@ApiModelProperty(value = "权力取得证明材料的文件地址")
private String authorityAcquireProve;
@ApiModelProperty(value = "权力归属方式")
private String authorityAscriptionMode;
@ApiModelProperty(value = "权力归属证明材料的文件地址")
private String authorityAscriptionProve;
@ApiModelProperty(value = "登记状态 0-待审核 1-登记成功 2-审核失败")
private Integer registerState;
private Date createDate;
private Date updateDate;
public CopyrightApply(CopyrightDTO copyrightDTO) {
BeanUtil.copyProperties(copyrightDTO, this, true);
}
}
package com.fzm.common.entity;
import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fzm.common.entity.dto.CopyrightDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@NoArgsConstructor
@ApiModel(value = "版权作者表")
@TableName("tb_copyright_author")
public class CopyrightAuthor {
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "主键")
private Integer id;
@ApiModelProperty(value = "版权id")
private Integer copyrightId;
@ApiModelProperty(value = "作者姓名或名称")
private String name;
@ApiModelProperty(value = "署名类型 (本名 | 别名 | 匿名)")
private String signType;
@ApiModelProperty(value = "签名")
private String sign;
private Date createDate;
private Date updateDate;
public CopyrightAuthor(CopyrightDTO.Author author) {
BeanUtil.copyProperties(author, this, true);
}
}
package com.fzm.common.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_copyright_authority_relation")
public class CopyrightAuthorityRelation {
@ApiModelProperty("版权id")
private Integer copyrightId;
@ApiModelProperty("权力id")
private Integer authorityId;
}
package com.fzm.common.entity;
import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fzm.common.entity.dto.CopyrightDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@NoArgsConstructor
@TableName("tb_copyright_file")
public class CopyrightFile {
@TableId(type = IdType.AUTO)
@ApiModelProperty("主键")
private Integer id;
@ApiModelProperty("版权id")
private Integer copyrightId;
@ApiModelProperty("nft哈希")
private String nftHash;
@ApiModelProperty("附件名")
private String fileName;
@ApiModelProperty("附件路径")
private String fileUrl;
@ApiModelProperty("文件hash")
private String fileHash;
@ApiModelProperty("文件扩展名")
private String fileSuffix;
private Date createDate;
private Date updateDate;
public CopyrightFile(CopyrightDTO.File file) {
BeanUtil.copyProperties(file, this, true);
}
}
package com.fzm.common.entity;
import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fzm.common.entity.dto.CopyrightDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@NoArgsConstructor
@TableName("tb_copyright_owner")
public class CopyrightOwner {
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "主键")
private Integer id;
@ApiModelProperty(value = "版权id")
private Integer copyrightId;
@ApiModelProperty(value = "类别 0-自然人 1-法人")
private Integer type;
@ApiModelProperty(value = "著作权人")
private String owner;
@ApiModelProperty(value = "证件号码")
private String idNumber;
@ApiModelProperty(value = "是否长期有效 0-否 1-是")
private Integer isEffective;
@ApiModelProperty(value = "证件有效起止时间")
private Date effectiveStartDate;
@ApiModelProperty(value = "证件有效终止时间")
private Date effectiveEndDate;
@ApiModelProperty(value = "用户所在省份")
private String province;
@ApiModelProperty(value = "用户所在城市")
private String city;
@ApiModelProperty(value = "证件类型 0-身份证 1-营业执照 2-企业法人营业执照 3-组织机构代码证书 4-事业单位法人证书 5-社团法人证书 6-统一社会信用代码 7其他有效证件")
private Integer idType;
@ApiModelProperty(value = "正面照片 (身份证人像面照片)")
private String positivePhoto;
@ApiModelProperty(value = "反面照片(身份证国徽面照片)")
private String backPhoto;
@ApiModelProperty(value = "手持身份证照片")
private String personalPhoto;
@ApiModelProperty(value = "证件照片(营业执照等)")
private String certificatesPhoto;
@ApiModelProperty(value = "委托证明")
private String entrustProve;
private Date createDate;
private Date updateDate;
public CopyrightOwner(CopyrightDTO.Owner owner) {
BeanUtil.copyProperties(owner, this, true);
}
}
......@@ -44,9 +44,6 @@ public class Nft extends BaseEntity {
@ApiModelProperty("作者")
private String author;
@NotBlank(message = "主题不能为空")
@ApiModelProperty("主题,多个用逗号,隔开")
private String theme;
@NotBlank(message = "简介不能为空")
@Length(max = 500, message = "简介最大长度为500")
......@@ -63,13 +60,6 @@ public class Nft extends BaseEntity {
@ApiModelProperty("文件hash")
private String fileHash;
@NotNull(message = "平台存档不能为空")
@ApiModelProperty("平台存档 0-不存档 1-加密存档")
private Integer isArchives;
@ApiModelProperty("授权阅读 0-不需要授权 1-需要授权")
private Integer isGrant;
@ApiModelProperty("nft编号")
private String nftId;
......
package com.fzm.common.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* @author tangtuo
* @date 2021/12/9 17:32
*/
@TableName("tb_opus_category")
@Data
public class OpusCategory {
private Integer id;
private String value;
}
package com.fzm.common.entity.dto;
import lombok.Data;
/**
* @author tangtuo
* @date 2021/7/22 16:28
*/
@Data
public class ChainDto {
private String author;
private String name;
private String hash;
private String publishAddress;
}
package com.fzm.common.entity.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;
/**
* @author tangtuo
* @date 2021/12/9 14:35
*/
@Data
public class CopyrightDTO {
@ApiModelProperty(value = "nft哈希")
private String nftHash;
@ApiModelProperty(value = "nft名称")
private String nftName;
@ApiModelProperty(value = "作品名称")
private String opusName;
@ApiModelProperty(value = "作品类别id")
private Integer opusCategoryId;
@ApiModelProperty(value = "作品性质")
private String opusProperty;
@ApiModelProperty(value = "内容简介")
private String contentSynopsis;
@ApiModelProperty(value = "创作过程")
private String createProcess;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@ApiModelProperty(value = "作品完成日期 格式:yyyy-MM-dd")
private Date opusCompleteDate;
@ApiModelProperty(value = "作品完成省份")
private String opusCompleteProvince;
@ApiModelProperty(value = "作品完成城市")
private String opusCompleteCity;
@ApiModelProperty(value = "'发表状态 0-未发表 1-已发表")
private Integer publishState;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@ApiModelProperty(value = "首次发表日期 格式:yyyy-MM-dd")
private Date firstPublishDate;
@ApiModelProperty(value = "首次发表省份")
private String firstPublishProvince;
@ApiModelProperty(value = "首次发表城市")
private String firstPublishCity;
@ApiModelProperty(value = "权力取得方式")
private String authorityAcquireMode;
@ApiModelProperty(value = "权力取得证明材料的文件地址")
private String authorityAcquireProve;
@ApiModelProperty(value = "权力归属方式")
private String authorityAscriptionMode;
@ApiModelProperty(value = "权力归属证明材料的文件地址")
private String authorityAscriptionProve;
@ApiModelProperty(value = "作者列表")
private List<Author> authors;
@ApiModelProperty(value = "著作权人列表")
private List<Owner> owners;
@ApiModelProperty("文件列表")
private List<File> files;
@ApiModelProperty("权力id集合")
private List<Integer> authorityIds;
@Data
public static class Author {
@ApiModelProperty(value = "作者姓名或名称")
private String name;
@ApiModelProperty(value = "署名类型 (本名 | 别名 | 匿名)")
private String signType;
@ApiModelProperty(value = "签名")
private String sign;
}
@Data
public static class Owner {
@ApiModelProperty(value = "类别 0-自然人 1-法人")
private Integer type;
@ApiModelProperty(value = "著作权人")
private String owner;
@ApiModelProperty(value = "证件号码")
private String idNumber;
@ApiModelProperty(value = "是否长期有效 0-否 1-是")
private Integer isEffective;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@ApiModelProperty(value = "证件有效起止时间 格式:yyyy-MM-dd")
private Date effectiveStartDate;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@ApiModelProperty(value = "证件有效终止时间 格式:yyyy-MM-dd")
private Date effectiveEndDate;
@ApiModelProperty(value = "用户所在省份")
private String province;
@ApiModelProperty(value = "用户所在城市")
private String city;
@ApiModelProperty(value = "证件类型 0-身份证 1-营业执照 2-企业法人营业执照 3-组织机构代码证书 4-事业单位法人证书 5-社团法人证书 6-统一社会信用代码 7其他有效证件")
private Integer idType;
@ApiModelProperty(value = "正面照片 (身份证人像面照片)")
private String positivePhoto;
@ApiModelProperty(value = "反面照片(身份证国徽面照片)")
private String backPhoto;
@ApiModelProperty(value = "手持身份证照片")
private String personalPhoto;
@ApiModelProperty(value = "证件照片(营业执照等)")
private String certificatesPhoto;
@ApiModelProperty(value = "委托证明")
private String entrustProve;
}
@Data
public static class File {
@ApiModelProperty("附件名")
private String fileName;
@ApiModelProperty("附件路径")
private String fileUrl;
@ApiModelProperty("文件hash")
private String fileHash;
@ApiModelProperty("文件扩展名")
private String fileSuffix;
}
}
......@@ -29,9 +29,6 @@ public class CollectionNftVo {
@ApiModelProperty("文件路径")
private String fileUrl;
@ApiModelProperty("主题,多个用逗号,隔开")
private String theme;
@ApiModelProperty("nft编号")
private String nftId;
......@@ -40,7 +37,6 @@ public class CollectionNftVo {
public CollectionNftVo(Nft nft, Category category) {
this.id = nft.getId();
this.theme = nft.getTheme();
this.nftId = nft.getNftId();
this.category = category.getCategoryName();
this.name = nft.getName();
......
......@@ -21,8 +21,6 @@ public class NftListVo {
@ApiModelProperty("类别")
private String category;
@ApiModelProperty("主题,多个用逗号,隔开")
private String theme;
@ApiModelProperty("发行人账号")
private String publisherAccount;
......
......@@ -29,8 +29,6 @@ public class NftVo {
@ApiModelProperty("类目")
private String category;
@ApiModelProperty("主题,多个用逗号,隔开")
private String theme;
@ApiModelProperty("发行人")
private String publisher;
......@@ -68,12 +66,6 @@ public class NftVo {
@ApiModelProperty("简介")
private String synopsis;
@ApiModelProperty("平台存档 0-不存档 1-加密存档")
private Integer isArchives;
@ApiModelProperty("授权阅读 0-不需要授权 1-需要授权")
private Integer isGrant;
@ApiModelProperty("是否收藏")
private Boolean collection;
......@@ -87,7 +79,6 @@ public class NftVo {
this.id = nft.getId();
this.author = nft.getAuthor();
this.name = nft.getName();
this.theme = nft.getTheme();
this.fileHash = nft.getFileHash();
this.nftId = nft.getNftId();
this.synopsis = nft.getSynopsis();
......@@ -95,8 +86,6 @@ public class NftVo {
this.avatar = user.getAvatar();
this.wallet = nft.getPublishAddress();
this.publishTime = DateUtil.format(nft.getPublishTime(), "yyyy/MM/dd HH:mm:ss");
this.isArchives = nft.getIsArchives();
this.isGrant = nft.getIsGrant();
this.userId = nft.getUserId();
this.cover = nft.getCover();
this.collection = false;
......
package com.fzm.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @author tangtuo
* @date 2021/12/9 17:42
*/
@Getter
@AllArgsConstructor
public enum AuthorityTypeEnum {
PERSONAL(0, "个人作品"),
COOPERATION(1, "合作作品"),
LEGAL(2, "法人作品"),
POST(3, "职务作品"),
ENTRUST(4, "委托作品"),
;
private int code;
private String val;
public static int getByType(String type) {
for (AuthorityTypeEnum value : AuthorityTypeEnum.values()) {
if (value.getVal().equals(type)) {
return value.getCode();
}
}
return 0;
}
}
package com.fzm.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @author tangtuo
* @date 2021/12/9 15:29
*/
@Getter
@AllArgsConstructor
public enum CopyrightApplyStateEnum {
TO_BE_REVIEWED(0, "待审核"),
SUCCEEDED(1, "登记成功"),
FAILED(2, "审核失败"),
;
private int code;
private String value;
}
package com.fzm.common.enums;
/**
* @author tangtuo
* @date 2021/12/8 14:34
*/
public enum FileSuffix {
JPG,
JPEG,
GIF,
BMP,
PNG,
MP4,
WMV,
MP3,
DOC,
DOCX,
XLS,
XLSX,
PPT,
PPTX,
PDF,
TXT;
/**
* 校验文件类型是否合规
*
* @param fileSuffix
* @return
*/
public static boolean validFileType(String fileSuffix) {
for (FileSuffix value : FileSuffix.values()) {
if (value.toString().equals(fileSuffix.toUpperCase())) {
return true;
}
}
return false;
}
public static void main(String[] args) {
System.out.println(validFileType("docx"));
}
}
package com.fzm.common.enums;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author tangtuo
* @date 2021/12/8 16:06
*/
@Getter
@AllArgsConstructor
public enum OpusProperty {
ORIGINAL("原创"),
ADAPTATION("改编"),
TRANSLATE("翻译"),
ASSEMBLY("汇编"),
NOTES("注释"),
ARRANGEMENT("整理"),
OTHER("其他"),
;
private String value;
public static List<String> queryAll(){
return Arrays.stream(OpusProperty.values()).map(OpusProperty::getValue).collect(Collectors.toList());
}
public static void main(String[] args) {
System.out.println(queryAll());
}
}
package com.fzm.common.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzm.common.entity.Authority;
import org.apache.ibatis.annotations.Mapper;
/**
* @author tangtuo
* @date 2021/12/9 11:28
*/
@Mapper
public interface AuthorityMapper extends BaseMapper<Authority> {
}
package com.fzm.common.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzm.common.entity.CopyrightApply;
import org.apache.ibatis.annotations.Mapper;
/**
* @author tangtuo
* @date 2021/12/9 11:27
*/
@Mapper
public interface CopyrightApplyMapper extends BaseMapper<CopyrightApply> {
}
package com.fzm.common.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzm.common.entity.CopyrightAuthor;
import org.apache.ibatis.annotations.Mapper;
/**
* @author tangtuo
* @date 2021/12/9 11:29
*/
@Mapper
public interface CopyrightAuthorMapper extends BaseMapper<CopyrightAuthor> {
}
package com.fzm.common.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzm.common.entity.CopyrightAuthorityRelation;
import org.apache.ibatis.annotations.Mapper;
/**
* @author tangtuo
* @date 2021/12/9 11:38
*/
@Mapper
public interface CopyrightAuthorityRelationMapper extends BaseMapper<CopyrightAuthorityRelation> {
}
package com.fzm.common.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzm.common.entity.CopyrightFile;
import org.apache.ibatis.annotations.Mapper;
/**
* @author tangtuo
* @date 2021/12/9 11:27
*/
@Mapper
public interface CopyrightFileMapper extends BaseMapper<CopyrightFile> {
}
package com.fzm.common.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzm.common.entity.CopyrightOwner;
import org.apache.ibatis.annotations.Mapper;
/**
* @author tangtuo
* @date 2021/12/9 11:30
*/
@Mapper
public interface CopyrightOwnerMapper extends BaseMapper<CopyrightOwner> {
}
......@@ -41,7 +41,7 @@ public interface NftMapper extends BaseMapper<Nft> {
* @param endDate
* @return
*/
List<NftListVo> page(@Param("categoryId") Integer categoryId, @Param("name") String name, @Param("telephone") String telephone, @Param("theme") String theme, @Param("status") Integer status, @Param("startDate") DateTime startDate, @Param("endDate") DateTime endDate);
List<NftListVo> page(@Param("categoryId") Integer categoryId, @Param("name") String name, @Param("telephone") String telephone, @Param("status") Integer status, @Param("startDate") DateTime startDate, @Param("endDate") DateTime endDate);
List<CollectionNftVo> listCurrent(@Param("categoryId") Integer categoryId, @Param("userId") Integer userId);
}
package com.fzm.common.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzm.common.entity.Category;
import com.fzm.common.entity.Label;
import com.fzm.common.entity.Admin;
import com.fzm.common.entity.OpusCategory;
import org.apache.ibatis.annotations.Mapper;
/**
......@@ -10,5 +10,5 @@ import org.apache.ibatis.annotations.Mapper;
* @date 2021/7/1 14:35
*/
@Mapper
public interface LabelMapper extends BaseMapper<Label> {
public interface OpusCategoryMapper extends BaseMapper<OpusCategory> {
}
......@@ -30,7 +30,7 @@ public class SmsProperties {
private String loginMessageCodetype;
@ApiModelProperty("登录邮件验证码模板")
private String loginMailCodetype;
private String loginEmailCodetype;
@ApiModelProperty("登录语音验证码模板")
private String loginVoiceCodetype;
......
package com.fzm.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzm.common.entity.Category;
import com.fzm.common.entity.Label;
import com.fzm.common.entity.Authority;
import java.util.List;
/**
* @author tangtuo
* @date 2021/7/1 14:35
* @date 2021/12/9 11:42
*/
public interface LabelService extends IService<Label> {
List<Label> listAll(Integer categoryId);
public interface AuthorityService extends IService<Authority> {
List<Authority> getByType(int type);
}
package com.fzm.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzm.common.entity.CopyrightApply;
import com.fzm.common.entity.dto.CopyrightDTO;
/**
* @author tangtuo
* @date 2021/12/9 11:40
*/
public interface CopyrightApplyService extends IService<CopyrightApply> {
/**
* 提交版权申请
*
* @param copyrightDTO
* @return
*/
Integer submit(CopyrightDTO copyrightDTO);
}
package com.fzm.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzm.common.entity.CopyrightAuthor;
/**
* @author tangtuo
* @date 2021/12/9 11:41
*/
public interface CopyrightAuthorService extends IService<CopyrightAuthor> {
}
package com.fzm.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzm.common.entity.CopyrightAuthorityRelation;
/**
* @author tangtuo
* @date 2021/12/9 11:44
*/
public interface CopyrightAuthorityRelationService extends IService<CopyrightAuthorityRelation> {
}
package com.fzm.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzm.common.entity.CopyrightFile;
/**
* @author tangtuo
* @date 2021/12/9 11:43
*/
public interface CopyrightFileService extends IService<CopyrightFile> {
}
package com.fzm.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzm.common.entity.CopyrightOwner;
/**
* @author tangtuo
* @date 2021/12/9 11:40
*/
public interface CopyrightOwnerService extends IService<CopyrightOwner> {
}
......@@ -80,7 +80,7 @@ public interface NftService extends IService<Nft> {
* @param end
* @return
*/
PageInfo<NftListVo> page(Integer pageNum, Integer pageSize, Integer categoryId, String name, String theme, String telephone, Integer status, String start, String end);
PageInfo<NftListVo> page(Integer pageNum, Integer pageSize, Integer categoryId, String name, String telephone, Integer status, String start, String end);
/**
* 置顶
......@@ -136,4 +136,12 @@ public interface NftService extends IService<Nft> {
* @return
*/
Boolean transfer(NftTransferParam param);
/**
* 根据nft哈希查询
*
* @param nftHash
* @return
*/
Nft getByNftHash(String nftHash);
}
package com.fzm.common.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzm.common.entity.Admin;
import com.fzm.common.entity.OpusCategory;
import java.util.List;
/**
* @author tangtuo
* @date 2021/7/5 15:08
*/
public interface OpusCategoryService extends IService<OpusCategory> {
List<OpusCategory> queryAll();
}
package com.fzm.common.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.entity.Authority;
import com.fzm.common.mapper.AuthorityMapper;
import com.fzm.common.service.AuthorityService;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author tangtuo
* @date 2021/12/9 11:42
*/
@Service
public class AuthorityServiceImpl extends ServiceImpl<AuthorityMapper, Authority> implements AuthorityService {
@Override
public List<Authority> getByType(int type) {
QueryWrapper<Authority> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("type", type);
return list(queryWrapper);
}
}
......@@ -172,8 +172,6 @@ public class CommemorateNftServiceImpl extends ServiceImpl<CommemorateNftMapper,
nft.setUserId(user.getId());
nft.setCreateDate(new Date());
nft.setUpdateDate(new Date());
nft.setIsArchives(SystemConstant.BOOLEAN_DATA_TRUE);
nft.setIsGrant(SystemConstant.BOOLEAN_DATA_FALSE);
nft.setIsCommemorate(SystemConstant.BOOLEAN_DATA_TRUE);
nftService.save(nft);
// 领取完毕,把当前用户id加入到纪念版nft的领取记录中
......
package com.fzm.common.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.constant.SystemConstant;
import com.fzm.common.entity.*;
import com.fzm.common.entity.dto.CopyrightDTO;
import com.fzm.common.enums.CopyrightApplyStateEnum;
import com.fzm.common.enums.ResultCode;
import com.fzm.common.exception.GlobalException;
import com.fzm.common.mapper.CopyrightApplyMapper;
import com.fzm.common.service.*;
import com.fzm.common.utils.JwtUtil;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.ArrayList;
/**
* @author tangtuo
* @date 2021/12/9 11:40
*/
@Service
@Transactional(rollbackFor = RuntimeException.class)
public class CopyrightApplyServiceImpl extends ServiceImpl<CopyrightApplyMapper, CopyrightApply> implements CopyrightApplyService {
@Resource
private CopyrightApplyMapper copyrightApplyMapper;
@Resource
private CopyrightFileService copyrightFileService;
@Resource
private CopyrightOwnerService copyrightOwnerService;
@Resource
private CopyrightAuthorService copyrightAuthorService;
@Resource
private CopyrightAuthorityRelationService copyrightAuthorityRelationService;
@Resource
private UserService userService;
@Resource
private NftService nftService;
@Override
public Integer submit(CopyrightDTO copyrightDTO) {
// 判断此nft是否属于当前登录用户所有
Nft nft = nftService.getByNftHash(copyrightDTO.getNftHash());
User user = userService.getUserByToken();
if (nft == null || !nft.getUserId().equals(user.getId())) {
throw GlobalException.newException(ResultCode.FAILED, "请先确认此nft的有效性");
}
// 如果发表状态是已发表的话,需要传入首次发表日期和省市
if (SystemConstant.BOOLEAN_DATA_TRUE.equals(copyrightDTO.getPublishState()) &&
(copyrightDTO.getFirstPublishDate() == null ||
StringUtils.isAnyBlank(copyrightDTO.getFirstPublishCity(), copyrightDTO.getFirstPublishProvince()))) {
throw GlobalException.newException(ResultCode.VALIDATE_FAILED);
}
CopyrightApply copyrightApply = new CopyrightApply(copyrightDTO);
// 首次提交,登记状态为待提交
copyrightApply.setRegisterState(CopyrightApplyStateEnum.TO_BE_REVIEWED.getCode());
copyrightApply.setUserId(user.getId());
save(copyrightApply);
// 保存附件
ArrayList<CopyrightFile> files = new ArrayList<>();
for (CopyrightDTO.File file : copyrightDTO.getFiles()) {
CopyrightFile copyrightFile = new CopyrightFile(file);
copyrightFile.setNftHash(copyrightApply.getNftHash());
copyrightFile.setCopyrightId(copyrightApply.getId());
files.add(copyrightFile);
}
copyrightFileService.saveBatch(files);
// 保存著作权人信息
ArrayList<CopyrightOwner> owners = new ArrayList<>();
for (CopyrightDTO.Owner owner : copyrightDTO.getOwners()) {
CopyrightOwner copyrightOwner = new CopyrightOwner(owner);
copyrightOwner.setCopyrightId(copyrightApply.getId());
owners.add(copyrightOwner);
}
copyrightOwnerService.saveBatch(owners);
// 保存作者信息
ArrayList<CopyrightAuthor> authors = new ArrayList<>();
for (CopyrightDTO.Author author : copyrightDTO.getAuthors()) {
CopyrightAuthor copyrightAuthor = new CopyrightAuthor(author);
copyrightAuthor.setCopyrightId(copyrightApply.getId());
authors.add(copyrightAuthor);
}
copyrightAuthorService.saveBatch(authors);
// 保存权力信息
ArrayList<CopyrightAuthorityRelation> relations = new ArrayList<>();
for (Integer authorityId : copyrightDTO.getAuthorityIds()) {
CopyrightAuthorityRelation relation = new CopyrightAuthorityRelation(copyrightApply.getId(), authorityId);
relations.add(relation);
}
copyrightAuthorityRelationService.saveBatch(relations);
return copyrightApply.getId();
}
}
package com.fzm.common.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.entity.CopyrightAuthor;
import com.fzm.common.mapper.CopyrightAuthorMapper;
import com.fzm.common.service.CopyrightAuthorService;
import org.springframework.stereotype.Service;
/**
* @author tangtuo
* @date 2021/12/9 11:41
*/
@Service
public class CopyrightAuthorServiceImpl extends ServiceImpl<CopyrightAuthorMapper, CopyrightAuthor> implements CopyrightAuthorService {
}
package com.fzm.common.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.entity.CopyrightAuthorityRelation;
import com.fzm.common.mapper.CopyrightAuthorityRelationMapper;
import com.fzm.common.service.CopyrightAuthorityRelationService;
import org.springframework.stereotype.Service;
/**
* @author tangtuo
* @date 2021/12/9 11:44
*/
@Service
public class CopyrightAuthorityRelationServiceImpl extends ServiceImpl<CopyrightAuthorityRelationMapper, CopyrightAuthorityRelation> implements CopyrightAuthorityRelationService {
}
package com.fzm.common.service.impl;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.entity.CopyrightFile;
import com.fzm.common.mapper.CopyrightFileMapper;
import com.fzm.common.service.CopyrightFileService;
import org.springframework.stereotype.Service;
/**
* @author tangtuo
* @date 2021/12/9 11:43
*/
@Service
public class CopyrightFileServiceImpl extends ServiceImpl<CopyrightFileMapper, CopyrightFile> implements CopyrightFileService {
}
package com.fzm.common.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.entity.CopyrightOwner;
import com.fzm.common.mapper.CopyrightOwnerMapper;
import com.fzm.common.service.CopyrightOwnerService;
import org.springframework.stereotype.Service;
/**
* @author tangtuo
* @date 2021/12/9 11:40
*/
@Service
public class CopyrightOwnerServiceImpl extends ServiceImpl<CopyrightOwnerMapper, CopyrightOwner> implements CopyrightOwnerService {
}
package com.fzm.common.service.impl;
import cn.hutool.core.collection.CollectionUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.entity.Category;
import com.fzm.common.entity.Label;
import com.fzm.common.mapper.CategoryMapper;
import com.fzm.common.mapper.LabelMapper;
import com.fzm.common.service.CategoryService;
import com.fzm.common.service.LabelService;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
/**
* @author tangtuo
* @date 2021/7/1 14:36
*/
@Service
public class LabelServiceImpl extends ServiceImpl<LabelMapper, Label> implements LabelService {
@Resource
private LabelMapper labelMapper;
@Override
@Cacheable(value = "label:list", key = "#categoryId", unless = "#result == null")
public List<Label> listAll(Integer categoryId) {
QueryWrapper<Label> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("category_id", categoryId);
List<Label> labels = labelMapper.selectList(queryWrapper);
return CollectionUtil.isEmpty(labels) ? null : labels;
}
}
......@@ -13,6 +13,7 @@ import cn.hutool.core.util.HexUtil;
import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.json.JSONUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.constant.RedisConstant;
import com.fzm.common.constant.SystemConstant;
......@@ -125,6 +126,7 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
map.put("hash", nftDto.getFileHash());
map.put("publishAddress", wallet);
map.put("author", nft.getAuthor());
map.put("synopsis", nft.getSynopsis());
String str = JSONUtil.toJsonStr(map);
String tokenInfo = HexUtil.encodeHexStr(str, CharsetUtil.CHARSET_UTF_8);
log.info("tokenInfo:{}", tokenInfo);
......@@ -220,6 +222,13 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
return true;
}
@Override
public Nft getByNftHash(String nftHash) {
QueryWrapper<Nft> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("nft_hash", nftHash);
return getOne(queryWrapper);
}
private String getCodeType(String type) {
switch (type) {
case "sms":
......@@ -301,7 +310,7 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
}
@Override
public PageInfo<NftListVo> page(Integer pageNum, Integer pageSize, Integer categoryId, String name, String theme, String telephone, Integer status, String start, String end) {
public PageInfo<NftListVo> page(Integer pageNum, Integer pageSize, Integer categoryId, String name, String telephone, Integer status, String start, String end) {
PageHelper.startPage(pageNum, pageSize);
DateTime startDate = null;
DateTime endDate = null;
......@@ -311,7 +320,7 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
if (StringUtils.isNotBlank(end)) {
endDate = DateUtil.parse(end + " 23:59:59", "yyyy-MM-dd HH:mm:ss");
}
List<NftListVo> list = nftMapper.page(categoryId, name, telephone, theme, status, startDate, endDate);
List<NftListVo> list = nftMapper.page(categoryId, name, telephone, status, startDate, endDate);
return new PageInfo<>(list);
}
......@@ -359,11 +368,6 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
}
String token = request.getHeader("Authorization");
Integer userId = JwtUtil.getUserIdFromToken(token);
if (!userId.equals(nft.getUserId())) {
if (SystemConstant.BOOLEAN_DATA_FALSE.equals(nft.getIsArchives()) || SystemConstant.BOOLEAN_DATA_TRUE.equals(nft.getIsGrant())) {
throw GlobalException.newException(ResultCode.FILE_DOWNLOAD_ERROR, "当前文件不支持下载");
}
}
ossUtil.downloadFile(nft.getFileUrl(), nft.getFileName());
}
......
package com.fzm.common.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzm.common.entity.OpusCategory;
import com.fzm.common.mapper.OpusCategoryMapper;
import com.fzm.common.service.OpusCategoryService;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author tangtuo
* @date 2021/7/5 15:08
*/
@Service
public class OpusCategoryServiceImpl extends ServiceImpl<OpusCategoryMapper, OpusCategory> implements OpusCategoryService {
@Override
@Cacheable(value = "opus:category", key = "'list'")
public List<OpusCategory> queryAll() {
return list();
}
}
......@@ -170,7 +170,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
case "sms":
return smsProperties.getLoginMessageCodetype();
case "email":
return smsProperties.getLoginMailCodetype();
return smsProperties.getLoginEmailCodetype();
case "voice":
return smsProperties.getLoginVoiceCodetype();
default:
......
......@@ -16,7 +16,6 @@
select a.id,
a.name,
a.cover,
a.theme,
a.nft_id,
a.file_url,
a.is_commemorate,
......@@ -33,7 +32,6 @@
SELECT
n.id,
n.`name`,
n.theme,
n.`status`,
n.is_top,
n.cover,
......@@ -53,9 +51,6 @@
<if test="categoryId != null">
and n.category_id = #{categoryId}
</if>
<if test="theme != null and theme != ''">
and FIND_IN_SET(#{theme},n.theme)
</if>
<if test="categoryId != null">
and n.category_id = #{categoryId}
</if>
......@@ -81,7 +76,6 @@
select a.id,
a.name,
a.cover,
a.theme,
a.nft_id,
a.file_url,
a.is_commemorate,
......
package com.fzm.portal.controller;
import com.fzm.common.entity.Authority;
import com.fzm.common.enums.AuthorityTypeEnum;
import com.fzm.common.model.ResponseModel;
import com.fzm.common.service.AuthorityService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
/**
* @author tangtuo
* @date 2021/12/9 16:59
*/
@RestController
@RequestMapping("/authority")
@Api(tags = "权力")
public class AuthorityController {
@Resource
private AuthorityService authorityService;
@GetMapping("/list")
@ApiOperation(value = "查询权力列表")
public ResponseModel<List<Authority>> list(@RequestParam String authorityAscriptionMode) {
List<Authority> list = authorityService.getByType(AuthorityTypeEnum.getByType(authorityAscriptionMode));
return ResponseModel.success(list);
}
}
......@@ -4,7 +4,6 @@ import cn.hutool.crypto.SecureUtil;
import com.fzm.common.annotation.Authentication;
import com.fzm.common.constant.RedisConstant;
import com.fzm.common.entity.CommemorateNft;
import com.fzm.common.entity.Label;
import com.fzm.common.entity.User;
import com.fzm.common.entity.vo.CommemorateNftVo;
import com.fzm.common.enums.ResultCode;
......@@ -12,7 +11,6 @@ import com.fzm.common.exception.GlobalException;
import com.fzm.common.model.ResponseModel;
import com.fzm.common.service.CategoryService;
import com.fzm.common.service.CommemorateNftService;
import com.fzm.common.service.LabelService;
import com.fzm.common.service.UserService;
import com.fzm.common.utils.JwtUtil;
import com.fzm.common.utils.OssUtil;
......@@ -29,7 +27,6 @@ import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
/**
* @author tangtuo
......
package com.fzm.portal.controller;
import com.fzm.common.annotation.Authentication;
import com.fzm.common.entity.dto.CopyrightDTO;
import com.fzm.common.model.ResponseModel;
import com.fzm.common.service.CopyrightApplyService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @author tangtuo
* @date 2021/12/9 14:31
*/
@Authentication
@RestController
@Api(tags = "版权申请")
@RequestMapping("/copyright/apply")
public class CopyrightApplyController {
@Resource
private CopyrightApplyService copyrightApplyService;
@PostMapping("/submit")
@ApiModelProperty("/提交申请")
public ResponseModel<Integer> submit(@RequestBody CopyrightDTO copyrightDTO) {
Integer copyrightId = copyrightApplyService.submit(copyrightDTO);
return ResponseModel.success(copyrightId);
}
}
......@@ -73,11 +73,6 @@ public class NftController {
@PostMapping("/save")
@ApiOperation(value = "nft基本信息保存(基本信息和加密上链两个步骤)")
public ResponseModel<NftDto> save(@Validated @ModelAttribute Nft nft) {
if (SystemConstant.BOOLEAN_DATA_TRUE.equals(nft.getIsArchives())) {
if (StringUtils.isAnyBlank(nft.getFileUrl(), nft.getName()) || nft.getIsGrant() == null) {
throw GlobalException.newException(ResultCode.VALIDATE_FAILED, "当选择平台存档时,文件名和文件路径必传");
}
}
return ResponseModel.success(nftService.saveNft(nft));
}
......
package com.fzm.portal.controller;
import com.fzm.common.entity.Label;
import com.fzm.common.entity.OpusCategory;
import com.fzm.common.model.ResponseModel;
import com.fzm.common.service.LabelService;
import com.fzm.common.service.OpusCategoryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -15,19 +14,19 @@ import java.util.List;
/**
* @author tangtuo
* @date 2021/7/1 14:37
* @date 2021/12/9 17:03
*/
@Api(tags = "作品类别")
@RestController
@RequestMapping(value = "/label")
@Api(tags = "主题管理")
public class LabelController {
@RequestMapping("/opus/category")
public class OpusCategoryController {
@Resource
private LabelService labelService;
private OpusCategoryService opusCategoryService;
@GetMapping("/list/{categoryId}")
@ApiOperation(value = "查询所有主题信息")
public ResponseModel<List<Label>> list(@PathVariable Integer categoryId) {
return ResponseModel.success(labelService.listAll(categoryId));
@GetMapping("/list")
@ApiOperation(value = "查询作品类别列表")
public ResponseModel<List<OpusCategory>> list() {
return ResponseModel.success(opusCategoryService.queryAll());
}
}
......@@ -39,6 +39,7 @@ public class OssController {
@PostMapping("/upload")
@ApiOperation("普通文件上传")
public ResponseModel<String> upload(MultipartFile file) throws IOException {
return ResponseModel.success(ossUtil.putSimpleObject(file));
}
}
2021-12-09 16:15:51.625 [main] INFO com.fzm.portal.JoyingPortalApplication-Starting JoyingPortalApplication on LAPTOP-AT8CNAMK with PID 97760 (D:\workspace\fzm-joying\joying-portal\target\classes started by tangtuo in D:\workspace\fzm-joying)
2021-12-09 16:15:51.627 [main] INFO com.fzm.portal.JoyingPortalApplication-The following profiles are active: dev
2021-12-09 16:15:52.700 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-09 16:15:52.703 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-09 16:15:52.731 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Finished Spring Data repository scanning in 12ms. Found 0 Redis repository interfaces.
2021-12-09 16:15:53.536 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat initialized with port(s): 8001 (http)
2021-12-09 16:15:53.545 [main] INFO org.apache.coyote.http11.Http11NioProtocol-Initializing ProtocolHandler ["http-nio-8001"]
2021-12-09 16:15:53.546 [main] INFO org.apache.catalina.core.StandardService-Starting service [Tomcat]
2021-12-09 16:15:53.546 [main] INFO org.apache.catalina.core.StandardEngine-Starting Servlet engine: [Apache Tomcat/9.0.35]
2021-12-09 16:15:53.681 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring embedded WebApplicationContext
2021-12-09 16:15:53.681 [main] INFO org.springframework.web.context.ContextLoader-Root WebApplicationContext: initialization completed in 2001 ms
2021-12-09 16:15:53.834 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure-Init DruidDataSource
2021-12-09 16:15:55.169 [main] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} inited
2021-12-09 16:15:56.790 [main] INFO org.redisson.Version-Redisson 3.16.0
2021-12-09 16:15:57.704 [redisson-netty-4-24] INFO o.r.connection.pool.MasterPubSubConnectionPool-1 connections initialized for 172.16.101.135/172.16.101.135:6379
2021-12-09 16:15:57.757 [redisson-netty-4-19] INFO org.redisson.connection.pool.MasterConnectionPool-24 connections initialized for 172.16.101.135/172.16.101.135:6379
2021-12-09 16:15:58.152 [main] WARN c.b.mybatisplus.core.metadata.TableInfoHelper-Warn: Could not find @TableId in Class: com.fzm.common.entity.CopyrightAuthorityRelation.
2021-12-09 16:15:58.685 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping-Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2021-12-09 16:15:58.860 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Initializing ExecutorService 'applicationTaskExecutor'
2021-12-09 16:15:59.267 [main] INFO org.apache.coyote.http11.Http11NioProtocol-Starting ProtocolHandler ["http-nio-8001"]
2021-12-09 16:15:59.281 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat started on port(s): 8001 (http) with context path ''
2021-12-09 16:15:59.283 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Context refreshed
2021-12-09 16:15:59.301 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Found 1 custom documentation plugin(s)
2021-12-09 16:15:59.334 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner-Scanning for api listing references
2021-12-09 16:15:59.464 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_1
2021-12-09 16:15:59.484 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_2
2021-12-09 16:15:59.525 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: getByIdUsingGET_1
2021-12-09 16:15:59.538 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_3
2021-12-09 16:15:59.544 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: publishUsingPOST_1
2021-12-09 16:15:59.573 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_4
2021-12-09 16:15:59.625 [main] INFO com.fzm.portal.JoyingPortalApplication-Started JoyingPortalApplication in 8.582 seconds (JVM running for 11.291)
2021-12-09 16:16:16.193 [http-nio-8001-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-12-09 16:16:16.194 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Initializing Servlet 'dispatcherServlet'
2021-12-09 16:16:16.201 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Completed initialization in 7 ms
2021-12-09 16:20:37.808 [http-nio-8001-exec-2] INFO com.fzm.portal.aop.LogAop-请求路径: /user/login,请求参数:[LoginParam(telephone=17620078872, email=null, password=123456, verificationCode=null, codetype=null)]
2021-12-09 16:20:37.920 [http-nio-8001-exec-2] DEBUG com.fzm.common.mapper.UserMapper.selectOne-==> Preparing: SELECT id,telephone,email,password,wallet,nickname,signature,avatar,auth_type,auth_status,is_publish,create_date,update_date,create_time,update_time FROM tb_user WHERE (telephone = ? OR email = ?)
2021-12-09 16:20:38.030 [http-nio-8001-exec-2] DEBUG com.fzm.common.mapper.UserMapper.selectOne-==> Parameters: 17620078872(String), 17620078872(String)
2021-12-09 16:20:38.061 [http-nio-8001-exec-2] DEBUG com.fzm.common.mapper.UserMapper.selectOne-<== Total: 1
2021-12-09 16:20:38.138 [http-nio-8001-exec-2] DEBUG com.fzm.common.mapper.AuthPersonMapper.selectOne-==> Preparing: SELECT id,user_id,name,id_card,card_picture_front,card_picture_back,create_date,update_date FROM tb_auth_person WHERE (user_id = ?)
2021-12-09 16:20:38.139 [http-nio-8001-exec-2] DEBUG com.fzm.common.mapper.AuthPersonMapper.selectOne-==> Parameters: 1(Integer)
2021-12-09 16:20:38.145 [http-nio-8001-exec-2] DEBUG com.fzm.common.mapper.AuthPersonMapper.selectOne-<== Total: 1
2021-12-09 16:20:38.586 [http-nio-8001-exec-2] INFO com.fzm.portal.aop.LogAop-请求路径:/user/login,接口耗时:780ms
2021-12-09 16:35:14.388 [http-nio-8001-exec-3] DEBUG com.fzm.common.mapper.UserMapper.selectById-==> Preparing: SELECT id,telephone,email,password,wallet,nickname,signature,avatar,auth_type,auth_status,is_publish,create_date,update_date,create_time,update_time FROM tb_user WHERE id=?
2021-12-09 16:35:14.390 [http-nio-8001-exec-3] DEBUG com.fzm.common.mapper.UserMapper.selectById-==> Parameters: 1(Integer)
2021-12-09 16:35:14.398 [http-nio-8001-exec-3] DEBUG com.fzm.common.mapper.UserMapper.selectById-<== Total: 1
2021-12-09 16:35:14.422 [http-nio-8001-exec-3] ERROR c.f.c.exception.handler.GlobalExceptionHandler-JSON parse error: Cannot deserialize value of type `java.util.Date` from String "2020-09-09": not a valid representation (error: Failed to parse Date value '2020-09-09': Unparseable date: "2020-09-09"); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.util.Date` from String "2020-09-09": not a valid representation (error: Failed to parse Date value '2020-09-09': Unparseable date: "2020-09-09")
at [Source: (PushbackInputStream); line: 25, column: 22] (through reference chain: com.fzm.common.entity.dto.CopyrightDTO["firstPublishDate"])
org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type `java.util.Date` from String "2020-09-09": not a valid representation (error: Failed to parse Date value '2020-09-09': Unparseable date: "2020-09-09"); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.util.Date` from String "2020-09-09": not a valid representation (error: Failed to parse Date value '2020-09-09': Unparseable date: "2020-09-09")
at [Source: (PushbackInputStream); line: 25, column: 22] (through reference chain: com.fzm.common.entity.dto.CopyrightDTO["firstPublishDate"])
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:245)
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.read(AbstractJackson2HttpMessageConverter.java:227)
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:205)
at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:158)
at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:131)
at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:121)
at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:167)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.util.Date` from String "2020-09-09": not a valid representation (error: Failed to parse Date value '2020-09-09': Unparseable date: "2020-09-09")
at [Source: (PushbackInputStream); line: 25, column: 22] (through reference chain: com.fzm.common.entity.dto.CopyrightDTO["firstPublishDate"])
at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:67)
at com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:1698)
at com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue(DeserializationContext.java:947)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseDate(StdDeserializer.java:550)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseDate(StdDeserializer.java:491)
at com.fasterxml.jackson.databind.deser.std.DateDeserializers$DateBasedDeserializer._parseDate(DateDeserializers.java:200)
at com.fasterxml.jackson.databind.deser.std.DateDeserializers$DateDeserializer.deserialize(DateDeserializers.java:290)
at com.fasterxml.jackson.databind.deser.std.DateDeserializers$DateDeserializer.deserialize(DateDeserializers.java:273)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:371)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:164)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4482)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3487)
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:239)
... 51 common frames omitted
2021-12-09 16:39:32.369 [redisson-timer-6-1] ERROR org.redisson.client.handler.PingConnectionHandler-Unable to send PING command over channel: [id: 0xb99d6c53, L:/10.0.0.246:56903 - R:172.16.101.135/172.16.101.135:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://172.16.101.135:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:219)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 16:50:10.480 [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Shutting down ExecutorService 'applicationTaskExecutor'
2021-12-09 16:50:10.636 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closing ...
2021-12-09 16:50:10.641 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closed
2021-12-09 16:50:16.090 [main] INFO com.fzm.portal.JoyingPortalApplication-Starting JoyingPortalApplication on LAPTOP-AT8CNAMK with PID 171720 (D:\workspace\fzm-joying\joying-portal\target\classes started by tangtuo in D:\workspace\fzm-joying)
2021-12-09 16:50:16.092 [main] INFO com.fzm.portal.JoyingPortalApplication-The following profiles are active: dev
2021-12-09 16:50:16.990 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-09 16:50:16.992 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-09 16:50:17.015 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Finished Spring Data repository scanning in 10ms. Found 0 Redis repository interfaces.
2021-12-09 16:50:17.770 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat initialized with port(s): 8001 (http)
2021-12-09 16:50:17.778 [main] INFO org.apache.coyote.http11.Http11NioProtocol-Initializing ProtocolHandler ["http-nio-8001"]
2021-12-09 16:50:17.779 [main] INFO org.apache.catalina.core.StandardService-Starting service [Tomcat]
2021-12-09 16:50:17.779 [main] INFO org.apache.catalina.core.StandardEngine-Starting Servlet engine: [Apache Tomcat/9.0.35]
2021-12-09 16:50:17.910 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring embedded WebApplicationContext
2021-12-09 16:50:17.910 [main] INFO org.springframework.web.context.ContextLoader-Root WebApplicationContext: initialization completed in 1775 ms
2021-12-09 16:50:18.049 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure-Init DruidDataSource
2021-12-09 16:50:19.273 [main] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} inited
2021-12-09 16:50:20.690 [main] INFO org.redisson.Version-Redisson 3.16.0
2021-12-09 16:50:21.548 [redisson-netty-4-25] INFO o.r.connection.pool.MasterPubSubConnectionPool-1 connections initialized for 172.16.101.135/172.16.101.135:6379
2021-12-09 16:50:21.598 [redisson-netty-4-18] INFO org.redisson.connection.pool.MasterConnectionPool-24 connections initialized for 172.16.101.135/172.16.101.135:6379
2021-12-09 16:50:22.037 [main] WARN c.b.mybatisplus.core.metadata.TableInfoHelper-Warn: Could not find @TableId in Class: com.fzm.common.entity.CopyrightAuthorityRelation.
2021-12-09 16:50:22.548 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping-Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2021-12-09 16:50:22.720 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Initializing ExecutorService 'applicationTaskExecutor'
2021-12-09 16:50:23.129 [main] INFO org.apache.coyote.http11.Http11NioProtocol-Starting ProtocolHandler ["http-nio-8001"]
2021-12-09 16:50:23.141 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat started on port(s): 8001 (http) with context path ''
2021-12-09 16:50:23.142 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Context refreshed
2021-12-09 16:50:23.158 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Found 1 custom documentation plugin(s)
2021-12-09 16:50:23.187 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner-Scanning for api listing references
2021-12-09 16:50:23.308 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_1
2021-12-09 16:50:23.326 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_2
2021-12-09 16:50:23.366 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: getByIdUsingGET_1
2021-12-09 16:50:23.380 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_3
2021-12-09 16:50:23.385 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: publishUsingPOST_1
2021-12-09 16:50:23.414 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_4
2021-12-09 16:50:23.466 [main] INFO com.fzm.portal.JoyingPortalApplication-Started JoyingPortalApplication in 7.839 seconds (JVM running for 8.815)
2021-12-09 16:50:33.936 [http-nio-8001-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-12-09 16:50:33.937 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Initializing Servlet 'dispatcherServlet'
2021-12-09 16:50:33.944 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Completed initialization in 7 ms
2021-12-09 16:50:34.180 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.UserMapper.selectById-==> Preparing: SELECT id,telephone,email,password,wallet,nickname,signature,avatar,auth_type,auth_status,is_publish,create_date,update_date,create_time,update_time FROM tb_user WHERE id=?
2021-12-09 16:50:34.284 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.UserMapper.selectById-==> Parameters: 1(Integer)
2021-12-09 16:50:34.315 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.UserMapper.selectById-<== Total: 1
2021-12-09 16:50:34.586 [http-nio-8001-exec-1] INFO com.fzm.portal.aop.LogAop-请求路径: /copyright/apply/submit,请求参数:[CopyrightDTO(nftHash=0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1, nftName=射雕英雄传, opusName=我的第一本小说, opusCategoryId=1, opusProperty=原创, contentSynopsis=这里是内容简介, createProcess=这里是创建过程, opusCompleteDate=Sat Oct 09 00:00:00 CST 2021, opusCompleteProvince=上海市, opusCompleteCity=上海市, publishState=1, firstPublishDate=Wed Sep 09 00:00:00 CST 2020, firstPublishProvince=浙江省, firstPublishCity=杭州市, authorityAcquireMode=继承, authorityAcquireProve=https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png, authorityAscriptionMode=合作作品, authorityAscriptionProve=https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png, authors=[CopyrightDTO.Author(name=唐拓, signType=本名, sign=tangtuo)], owners=[CopyrightDTO.Owner(type=0, owner=金庸, idNumber=420921193009090123, isEffective=0, effectiveStartDate=Sat Dec 10 00:00:00 CST 1015, effectiveEndDate=Mon Dec 10 00:00:00 CST 2018, province=浙江省, city=杭州市, idType=0, positivePhoto=https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png, backPhoto=https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png, personalPhoto=https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png, certificatesPhoto=, entrustProve=https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png)], files=[CopyrightDTO.File(fileName=kubernetes(k8s)课程.pdf, fileUrl=https://test-nft-2.oss-cn-hangzhou.aliyuncs.com/20210712/789199993821422eb5eb062d5159f34f/kubernetes(k8s)课程.pdf, fileHash=20f5f702370c1a3b1bb8d1d913e0ac89, fileSuffix=pdf)], authorityIds=[1, 2, 3])]
2021-12-09 16:50:54.140 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.NftMapper.selectOne-==> Preparing: SELECT id,category_id,user_id,publish_address,name,cover,author,synopsis,file_name,file_url,file_hash,nft_id,nft_hash,token_id,publish_time,transfer_hash,commemorate_id,is_top,status,is_commemorate,create_date,update_date,create_time,update_time FROM tb_nft WHERE (nft_hash = ?)
2021-12-09 16:50:54.146 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.NftMapper.selectOne-==> Parameters: 0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1(String)
2021-12-09 16:50:54.213 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.NftMapper.selectOne-<== Total: 1
2021-12-09 16:50:55.235 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.UserMapper.selectById-==> Preparing: SELECT id,telephone,email,password,wallet,nickname,signature,avatar,auth_type,auth_status,is_publish,create_date,update_date,create_time,update_time FROM tb_user WHERE id=?
2021-12-09 16:50:55.235 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.UserMapper.selectById-==> Parameters: 1(Integer)
2021-12-09 16:50:55.251 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.UserMapper.selectById-<== Total: 1
2021-12-09 16:51:09.592 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightApplyMapper.insert-==> Preparing: INSERT INTO tb_copyright_apply ( user_id, nft_hash, nft_name, opus_name, opus_category_id, opus_property, content_synopsis, create_process, opus_complete_date, opus_complete_province, opus_complete_city, publish_state, first_publish_date, first_publish_province, first_publish_city, authority_acquire_mode, authority_acquire_prove, authority_ascription_mode, authority_ascription_prove, register_state ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2021-12-09 16:51:09.622 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightApplyMapper.insert-==> Parameters: 1(Integer), 0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1(String), 射雕英雄传(String), 我的第一本小说(String), 1(Integer), 原创(String), 这里是内容简介(String), 这里是创建过程(String), 2021-10-09 00:00:00.0(Timestamp), 上海市(String), 上海市(String), 1(Integer), 2020-09-09 00:00:00.0(Timestamp), 浙江省(String), 杭州市(String), 继承(String), https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png(String), 合作作品(String), https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png(String), 0(Integer)
2021-12-09 16:51:09.634 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightApplyMapper.insert-<== Updates: 1
2021-12-09 16:51:17.125 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightFileMapper.insert-==> Preparing: INSERT INTO tb_copyright_file ( copyright_id, nft_hash, file_name, file_url, file_hash, file_suffix ) VALUES ( ?, ?, ?, ?, ?, ? )
2021-12-09 16:51:17.128 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightFileMapper.insert-==> Parameters: 1(Integer), 0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1(String), kubernetes(k8s)课程.pdf(String), https://test-nft-2.oss-cn-hangzhou.aliyuncs.com/20210712/789199993821422eb5eb062d5159f34f/kubernetes(k8s)课程.pdf(String), 20f5f702370c1a3b1bb8d1d913e0ac89(String), pdf(String)
2021-12-09 16:51:17.143 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightOwnerMapper.insert-==> Preparing: INSERT INTO tb_copyright_owner ( copyright_id, type, owner, id_number, is_effective, effective_start_date, effective_end_date, province, city, id_type, positive_photo, back_photo, personal_photo, certificates_photo, entrust_prove ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2021-12-09 16:51:17.144 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightOwnerMapper.insert-==> Parameters: 1(Integer), 0(Integer), 金庸(String), 420921193009090123(String), 0(Integer), 1015-12-10 00:00:00.0(Timestamp), 2018-12-10 00:00:00.0(Timestamp), 浙江省(String), 杭州市(String), 0(Integer), https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png(String), https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png(String), https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png(String), (String), https://test-nft.oss-cn-hangzhou.aliyuncs.com/20210916/328f5d842ba247a49d6f0640baf94a9e/20210728153025.png(String)
2021-12-09 16:51:17.157 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightAuthorMapper.insert-==> Preparing: INSERT INTO tb_copyright_author ( copyright_id, name, sign_type, sign ) VALUES ( ?, ?, ?, ? )
2021-12-09 16:51:17.158 [http-nio-8001-exec-1] DEBUG com.fzm.common.mapper.CopyrightAuthorMapper.insert-==> Parameters: 1(Integer), 唐拓(String), 本名(String), tangtuo(String)
2021-12-09 16:51:17.170 [http-nio-8001-exec-1] DEBUG c.f.c.m.CopyrightAuthorityRelationMapper.insert-==> Preparing: INSERT INTO tb_copyright_authority_relation ( copyright_id, authority_id ) VALUES ( ?, ? )
2021-12-09 16:51:17.171 [http-nio-8001-exec-1] DEBUG c.f.c.m.CopyrightAuthorityRelationMapper.insert-==> Parameters: 1(Integer), 1(Integer)
2021-12-09 16:51:17.171 [http-nio-8001-exec-1] DEBUG c.f.c.m.CopyrightAuthorityRelationMapper.insert-==> Parameters: 1(Integer), 2(Integer)
2021-12-09 16:51:17.172 [http-nio-8001-exec-1] DEBUG c.f.c.m.CopyrightAuthorityRelationMapper.insert-==> Parameters: 1(Integer), 3(Integer)
2021-12-09 16:51:17.205 [http-nio-8001-exec-1] INFO com.fzm.portal.aop.LogAop-请求路径:/copyright/apply/submit,接口耗时:42621ms
2021-12-09 17:06:24.581 [lettuce-nioEventLoop-7-1] INFO io.lettuce.core.protocol.CommandHandler-null Unexpected exception during request: java.io.IOException: 远程主机强迫关闭了一个现有的连接。
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-6] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0xc4eda10e, L:/10.0.0.246:59508 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-8] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0xf5b5f457, L:/10.0.0.246:59525 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-12] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x20807032, L:/10.0.0.246:59507 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-28] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0xf5bf00b5, L:/10.0.0.246:59518 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-24] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x5d6b83e6, L:/10.0.0.246:59514 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-27] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x347c2e9d, L:/10.0.0.246:59516 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-10] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x415491ea, L:/10.0.0.246:59504 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-1] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0xd5574842, L:/10.0.0.246:59522 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-30] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x5d29baad, L:/10.0.0.246:59520 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-32] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x408f7ac0, L:/10.0.0.246:59521 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-31] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x7c8dc32c, L:/10.0.0.246:59519 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-4] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x6fdff856, L:/10.0.0.246:59512 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-7] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x4bec0fa9, L:/10.0.0.246:59524 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.589 [redisson-netty-4-5] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x231299a4, L:/10.0.0.246:59503 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-29] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x1482b210, L:/10.0.0.246:59517 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.585 [redisson-netty-4-14] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x6d433b84, L:/10.0.0.246:59513 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.590 [redisson-netty-4-3] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x1365849d, L:/10.0.0.246:59506 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.590 [redisson-netty-4-11] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x71dcc1cf, L:/10.0.0.246:59510 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.591 [redisson-netty-4-2] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0xb072307a, L:/10.0.0.246:59502 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.591 [redisson-netty-4-26] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x9d42a3a2, L:/10.0.0.246:59515 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.592 [redisson-netty-4-9] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0xcf93c567, L:/10.0.0.246:59509 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.592 [redisson-netty-4-3] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x0786c757, L:/10.0.0.246:59523 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.592 [redisson-netty-4-7] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0xffbe483b, L:/10.0.0.246:59505 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.592 [redisson-netty-4-8] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x3a95ec91, L:/10.0.0.246:59511 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.593 [redisson-netty-4-9] ERROR org.redisson.client.handler.ErrorsLoggingHandler-Exception occured. Channel: [id: 0x42a2c552, L:/10.0.0.246:59526 - R:172.16.101.135/172.16.101.135:6379]
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:06:24.698 [lettuce-eventExecutorLoop-1-3] INFO io.lettuce.core.protocol.ConnectionWatchdog-Reconnecting, last destination was /172.16.101.135:6379
2021-12-09 17:06:34.721 [lettuce-nioEventLoop-7-2] WARN io.lettuce.core.protocol.ConnectionWatchdog-Cannot reconnect to [172.16.101.135:6379]: connection timed out: /172.16.101.135:6379
2021-12-09 17:06:34.790 [lettuce-eventExecutorLoop-1-4] INFO io.lettuce.core.protocol.ConnectionWatchdog-Reconnecting, last destination was 172.16.101.135:6379
2021-12-09 17:06:34.807 [lettuce-nioEventLoop-7-3] INFO io.lettuce.core.protocol.ReconnectionHandler-Reconnected to 172.16.101.135:6379
2021-12-09 17:29:39.395 [redisson-timer-6-1] ERROR org.redisson.client.handler.PingConnectionHandler-Unable to send PING command over channel: [id: 0x2ddcbecb, L:/10.0.0.246:53908 - R:172.16.101.135/172.16.101.135:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://172.16.101.135:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:219)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:34:40.394 [redisson-timer-6-1] ERROR org.redisson.client.handler.PingConnectionHandler-Unable to send PING command over channel: [id: 0x31368267, L:/10.0.0.246:53910 - R:172.16.101.135/172.16.101.135:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://172.16.101.135:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:219)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:39:41.401 [redisson-timer-6-1] ERROR org.redisson.client.handler.PingConnectionHandler-Unable to send PING command over channel: [id: 0x7f47ed74, L:/10.0.0.246:53909 - R:172.16.101.135/172.16.101.135:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://172.16.101.135:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:219)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:46:42.804 [redisson-timer-6-1] ERROR org.redisson.client.handler.PingConnectionHandler-Unable to send PING command over channel: [id: 0xd74081e3, L:/10.0.0.246:53911 - R:172.16.101.135/172.16.101.135:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://172.16.101.135:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:219)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:49:43.403 [redisson-timer-6-1] ERROR org.redisson.client.handler.PingConnectionHandler-Unable to send PING command over channel: [id: 0x9d27317d, L:/10.0.0.246:53912 - R:172.16.101.135/172.16.101.135:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://172.16.101.135:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:219)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:54:44.396 [redisson-timer-6-1] ERROR org.redisson.client.handler.PingConnectionHandler-Unable to send PING command over channel: [id: 0xbbbeb1e0, L:/10.0.0.246:53916 - R:172.16.101.135/172.16.101.135:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://172.16.101.135:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:219)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2021-12-09 17:55:46.667 [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Shutting down ExecutorService 'applicationTaskExecutor'
2021-12-09 17:55:46.829 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closing ...
2021-12-09 17:55:46.839 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closed
2021-12-09 17:55:54.422 [main] INFO com.fzm.portal.JoyingPortalApplication-Starting JoyingPortalApplication on LAPTOP-AT8CNAMK with PID 163432 (D:\workspace\fzm-joying\joying-portal\target\classes started by tangtuo in D:\workspace\fzm-joying)
2021-12-09 17:55:54.424 [main] INFO com.fzm.portal.JoyingPortalApplication-The following profiles are active: dev
2021-12-09 17:55:55.353 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Multiple Spring Data modules found, entering strict repository configuration mode!
2021-12-09 17:55:55.355 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-12-09 17:55:55.377 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Finished Spring Data repository scanning in 10ms. Found 0 Redis repository interfaces.
2021-12-09 17:55:56.148 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat initialized with port(s): 8001 (http)
2021-12-09 17:55:56.157 [main] INFO org.apache.coyote.http11.Http11NioProtocol-Initializing ProtocolHandler ["http-nio-8001"]
2021-12-09 17:55:56.157 [main] INFO org.apache.catalina.core.StandardService-Starting service [Tomcat]
2021-12-09 17:55:56.158 [main] INFO org.apache.catalina.core.StandardEngine-Starting Servlet engine: [Apache Tomcat/9.0.35]
2021-12-09 17:55:56.292 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring embedded WebApplicationContext
2021-12-09 17:55:56.292 [main] INFO org.springframework.web.context.ContextLoader-Root WebApplicationContext: initialization completed in 1827 ms
2021-12-09 17:55:56.425 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure-Init DruidDataSource
2021-12-09 17:55:57.683 [main] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} inited
2021-12-09 17:55:59.210 [main] INFO org.redisson.Version-Redisson 3.16.0
2021-12-09 17:56:00.085 [redisson-netty-4-13] INFO o.r.connection.pool.MasterPubSubConnectionPool-1 connections initialized for 172.16.101.135/172.16.101.135:6379
2021-12-09 17:56:00.145 [redisson-netty-4-19] INFO org.redisson.connection.pool.MasterConnectionPool-24 connections initialized for 172.16.101.135/172.16.101.135:6379
2021-12-09 17:56:00.559 [main] WARN c.b.mybatisplus.core.metadata.TableInfoHelper-Warn: Could not find @TableId in Class: com.fzm.common.entity.CopyrightAuthorityRelation.
2021-12-09 17:56:01.074 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping-Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2021-12-09 17:56:01.243 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Initializing ExecutorService 'applicationTaskExecutor'
2021-12-09 17:56:01.685 [main] INFO org.apache.coyote.http11.Http11NioProtocol-Starting ProtocolHandler ["http-nio-8001"]
2021-12-09 17:56:01.698 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat started on port(s): 8001 (http) with context path ''
2021-12-09 17:56:01.699 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Context refreshed
2021-12-09 17:56:01.715 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Found 1 custom documentation plugin(s)
2021-12-09 17:56:01.745 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner-Scanning for api listing references
2021-12-09 17:56:01.859 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_1
2021-12-09 17:56:01.870 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_2
2021-12-09 17:56:01.888 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_3
2021-12-09 17:56:01.929 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: getByIdUsingGET_1
2021-12-09 17:56:01.942 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_4
2021-12-09 17:56:01.946 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: publishUsingPOST_1
2021-12-09 17:56:01.975 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_5
2021-12-09 17:56:01.978 [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_6
2021-12-09 17:56:02.032 [main] INFO com.fzm.portal.JoyingPortalApplication-Started JoyingPortalApplication in 8.061 seconds (JVM running for 9.124)
2021-12-09 17:57:25.514 [http-nio-8001-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-12-09 17:57:25.515 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Initializing Servlet 'dispatcherServlet'
2021-12-09 17:57:25.522 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Completed initialization in 7 ms
2021-12-09 17:57:46.074 [http-nio-8001-exec-3] INFO com.fzm.portal.aop.LogAop-请求路径: /authority/list,请求参数:[{authorityAscriptionMode=个人作品}]
2021-12-09 17:57:46.167 [http-nio-8001-exec-3] DEBUG com.fzm.common.mapper.AuthorityMapper.selectList-==> Preparing: SELECT id,authority FROM tb_authority WHERE (type = ?)
2021-12-09 17:57:46.270 [http-nio-8001-exec-3] DEBUG com.fzm.common.mapper.AuthorityMapper.selectList-==> Parameters: 0(Integer)
2021-12-09 17:57:46.301 [http-nio-8001-exec-3] DEBUG com.fzm.common.mapper.AuthorityMapper.selectList-<== Total: 17
2021-12-09 17:57:46.304 [http-nio-8001-exec-3] INFO com.fzm.portal.aop.LogAop-请求路径:/authority/list,接口耗时:235ms
2021-12-09 17:58:13.948 [http-nio-8001-exec-8] INFO com.fzm.portal.aop.LogAop-请求路径: /authority/list,请求参数:[{authorityAscriptionMode=法人作品}]
2021-12-09 17:58:13.950 [http-nio-8001-exec-8] DEBUG com.fzm.common.mapper.AuthorityMapper.selectList-==> Preparing: SELECT id,authority FROM tb_authority WHERE (type = ?)
2021-12-09 17:58:13.950 [http-nio-8001-exec-8] DEBUG com.fzm.common.mapper.AuthorityMapper.selectList-==> Parameters: 2(Integer)
2021-12-09 17:58:13.959 [http-nio-8001-exec-8] DEBUG com.fzm.common.mapper.AuthorityMapper.selectList-<== Total: 17
2021-12-09 17:58:13.959 [http-nio-8001-exec-8] INFO com.fzm.portal.aop.LogAop-请求路径:/authority/list,接口耗时:11ms
2021-12-09 17:59:12.783 [http-nio-8001-exec-10] INFO com.fzm.portal.aop.LogAop-请求路径: /opus/category/list,请求参数:[]
2021-12-09 17:59:12.996 [http-nio-8001-exec-10] DEBUG c.fzm.common.mapper.OpusCategoryMapper.selectList-==> Preparing: SELECT id,value FROM /tb_opus_category
2021-12-09 17:59:13.039 [http-nio-8001-exec-10] INFO com.fzm.portal.aop.LogAop-请求路径:/opus/category/list,接口耗时:256ms
2021-12-09 17:59:13.042 [http-nio-8001-exec-10] ERROR c.f.c.exception.handler.GlobalExceptionHandler-
### Error querying database. Cause: java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category
### The error may exist in com/fzm/common/mapper/OpusCategoryMapper.java (best guess)
### The error may involve com.fzm.common.mapper.OpusCategoryMapper.selectList
### The error occurred while executing a query
### SQL: SELECT id,value FROM /tb_opus_category
### Cause: java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category
; uncategorized SQLException; SQL state [null]; error code [0]; sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category; nested exception is java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category
org.springframework.jdbc.UncategorizedSQLException:
### Error querying database. Cause: java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category
### The error may exist in com/fzm/common/mapper/OpusCategoryMapper.java (best guess)
### The error may involve com.fzm.common.mapper.OpusCategoryMapper.selectList
### The error occurred while executing a query
### SQL: SELECT id,value FROM /tb_opus_category
### Cause: java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category
; uncategorized SQLException; SQL state [null]; error code [0]; sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category; nested exception is java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:89)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:88)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
at com.sun.proxy.$Proxy107.selectList(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:177)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:78)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:96)
at com.sun.proxy.$Proxy146.selectList(Unknown Source)
at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:275)
at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:284)
at com.fzm.common.service.impl.OpusCategoryServiceImpl.queryAll(OpusCategoryServiceImpl.java:22)
at com.fzm.common.service.impl.OpusCategoryServiceImpl$$FastClassBySpringCGLIB$$76edede4.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.cache.interceptor.CacheInterceptor.lambda$invoke$0(CacheInterceptor.java:53)
at org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation(CacheAspectSupport.java:365)
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:420)
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:345)
at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
at com.fzm.common.service.impl.OpusCategoryServiceImpl$$EnhancerBySpringCGLIB$$33c4d83f.queryAll(<generated>)
at com.fzm.portal.controller.OpusCategoryController.list(OpusCategoryController.java:30)
at com.fzm.portal.controller.OpusCategoryController$$FastClassBySpringCGLIB$$7327030b.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:47)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
at com.fzm.portal.controller.OpusCategoryController$$EnhancerBySpringCGLIB$$733bf8de.list(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.sql.SQLException: sql injection violation, syntax error: ERROR. pos 24, line 1, column 24, token SLASH : SELECT id,value FROM /tb_opus_category
at com.alibaba.druid.wall.WallFilter.checkInternal(WallFilter.java:806)
at com.alibaba.druid.wall.WallFilter.connection_prepareStatement(WallFilter.java:259)
at com.alibaba.druid.filter.FilterChainImpl.connection_prepareStatement(FilterChainImpl.java:568)
at com.alibaba.druid.filter.FilterAdapter.connection_prepareStatement(FilterAdapter.java:930)
at com.alibaba.druid.filter.FilterEventAdapter.connection_prepareStatement(FilterEventAdapter.java:122)
at com.alibaba.druid.filter.FilterChainImpl.connection_prepareStatement(FilterChainImpl.java:568)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.prepareStatement(ConnectionProxyImpl.java:341)
at com.alibaba.druid.pool.DruidPooledConnection.prepareStatement(DruidPooledConnection.java:350)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.logging.jdbc.ConnectionLogger.invoke(ConnectionLogger.java:55)
at com.sun.proxy.$Proxy210.prepareStatement(Unknown Source)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:86)
at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:88)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:59)
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:92)
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:66)
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:163)
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:111)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
at com.sun.proxy.$Proxy209.query(Unknown Source)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)
... 90 common frames omitted
Caused by: com.alibaba.druid.sql.parser.ParserException: ERROR. pos 24, line 1, column 24, token SLASH
at com.alibaba.druid.sql.parser.SQLExprParser.primary(SQLExprParser.java:882)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlExprParser.primary(MySqlExprParser.java:198)
at com.alibaba.druid.sql.parser.SQLExprParser.expr(SQLExprParser.java:157)
at com.alibaba.druid.sql.parser.SQLSelectParser.expr(SQLSelectParser.java:1440)
at com.alibaba.druid.sql.parser.SQLSelectParser.parseTableSourceQueryTableExpr(SQLSelectParser.java:1072)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlSelectParser.parseTableSource(MySqlSelectParser.java:279)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlSelectParser.parseFrom(MySqlSelectParser.java:89)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlSelectParser.query(MySqlSelectParser.java:193)
at com.alibaba.druid.sql.parser.SQLSelectParser.query(SQLSelectParser.java:362)
at com.alibaba.druid.sql.parser.SQLSelectParser.select(SQLSelectParser.java:61)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser.parseSelect(MySqlStatementParser.java:285)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:248)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:182)
at com.alibaba.druid.wall.WallProvider.checkInternal(WallProvider.java:624)
at com.alibaba.druid.wall.WallProvider.check(WallProvider.java:578)
at com.alibaba.druid.wall.WallFilter.checkInternal(WallFilter.java:793)
... 121 common frames omitted
2021-12-09 18:00:22.405 [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Shutting down ExecutorService 'applicationTaskExecutor'
2021-12-09 18:00:22.556 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closing ...
2021-12-09 18:00:22.559 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment