commit 7516bff6e6272e27dab76a4ee0b7bbbb535a8e13 Author: 86191 <2160251938@qq.com> Date: Tue Aug 20 15:06:50 2024 +0800 初始化 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e403e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,35 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6d6beca --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# 指定构建镜像的起始镜像 +FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/openjdk:17-8.6 + +# 执行一些必备的条件 + +# 定义时区参数 +ENV TZ=Asia/Shanghai +#设置时区 +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone + + +#挂载工作目录 +VOLUME ["/home/logs/cloud-modules-system" ] + +#拷贝执行jar包文件COPY +COPY ./cloud-data-server/target/cloud-data.jar.jar /home/app.jar + +#构建项目启动命令 +ENTRYPOINT ["java","-Dfile.encoding=utf8","-jar"] +CMD ["/home/app.jar"] diff --git a/cloud-data-client/pom.xml b/cloud-data-client/pom.xml new file mode 100644 index 0000000..1a94027 --- /dev/null +++ b/cloud-data-client/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + com.muyu + cloud-data + 1.0.0 + + + cloud-data-client + + + 17 + 17 + UTF-8 + + + + + com.muyu + cloud-data-common + + + + diff --git a/cloud-data-common/pom.xml b/cloud-data-common/pom.xml new file mode 100644 index 0000000..fe9d809 --- /dev/null +++ b/cloud-data-common/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + com.muyu + cloud-data + 1.0.0 + + + cloud-data-common + + + 17 + 17 + UTF-8 + + + + + + com.muyu + cloud-common-core + + + io.swagger.core.v3 + swagger-annotations-jakarta + + + com.muyu + cloud-common-security + + + com.mysql + mysql-connector-j + + + + com.spring4all + spring-boot-starter-swagger + 1.5.1.RELEASE + + + + javax.persistence + persistence-api + 1.0 + + + + + diff --git a/cloud-data-common/src/main/java/com/muyu/domain/CloudAuthority.java b/cloud-data-common/src/main/java/com/muyu/domain/CloudAuthority.java new file mode 100644 index 0000000..955fce7 --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/CloudAuthority.java @@ -0,0 +1,91 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 权限表 + * @Version 1.0 + * @Data 2024-08-20 11:00:48 + */ +@ApiModel(value = "权限表",description = "") +@Table(name="cloud-authority") +public class CloudAuthority implements Serializable,Cloneable{ + /** 主键 */ + @Id + @GeneratedValue + @ApiModelProperty(name = "主键",notes = "") + private Integer id ; + /** 权限名称 */ + @ApiModelProperty(name = "权限名称",notes = "") + private String authorityName ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + + /** 主键 */ + public Integer getId(){ + return this.id; + } + /** 主键 */ + public void setId(Integer id){ + this.id=id; + } + /** 权限名称 */ + public String getAuthorityName(){ + return this.authorityName; + } + /** 权限名称 */ + public void setAuthorityName(String authorityName){ + this.authorityName=authorityName; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } + +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/CloudPay.java b/cloud-data-common/src/main/java/com/muyu/domain/CloudPay.java new file mode 100644 index 0000000..04828c7 --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/CloudPay.java @@ -0,0 +1,134 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 支付表 + * @Version 1.0 + * @Data 2024-08-20 11:05:18 + */ +@ApiModel(value = "支付表",description = "") +@Table(name="cloud_pay") +public class CloudPay implements Serializable,Cloneable{ + /** id */ + @Id + @GeneratedValue + @ApiModelProperty(name = "id",notes = "") + private Integer id ; + /** 用户主键 */ + @ApiModelProperty(name = "用户主键",notes = "") + private Integer userId ; + /** 订单编号 */ + @ApiModelProperty(name = "订单编号",notes = "") + private String payOrderNumber ; + /** 支付金额 */ + @ApiModelProperty(name = "支付金额",notes = "") + private Double payPrice ; + /** 支付状态(0成功1失败) */ + @ApiModelProperty(name = "支付状态(0成功1失败)",notes = "") + private Integer payStatus ; + /** 备注 */ + @ApiModelProperty(name = "备注",notes = "") + private String payRemark ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + + /** id */ + public Integer getId(){ + return this.id; + } + /** id */ + public void setId(Integer id){ + this.id=id; + } + /** 用户主键 */ + public Integer getUserId(){ + return this.userId; + } + /** 用户主键 */ + public void setUserId(Integer userId){ + this.userId=userId; + } + /** 订单编号 */ + public String getPayOrderNumber(){ + return this.payOrderNumber; + } + /** 订单编号 */ + public void setPayOrderNumber(String payOrderNumber){ + this.payOrderNumber=payOrderNumber; + } + /** 支付金额 */ + public Double getPayPrice(){ + return this.payPrice; + } + /** 支付金额 */ + public void setPayPrice(Double payPrice){ + this.payPrice=payPrice; + } + /** 支付状态(0成功1失败) */ + public Integer getPayStatus(){ + return this.payStatus; + } + /** 支付状态(0成功1失败) */ + public void setPayStatus(Integer payStatus){ + this.payStatus=payStatus; + } + /** 备注 */ + public String getPayRemark(){ + return this.payRemark; + } + /** 备注 */ + public void setPayRemark(String payRemark){ + this.payRemark=payRemark; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/CloudProduct.java b/cloud-data-common/src/main/java/com/muyu/domain/CloudProduct.java new file mode 100644 index 0000000..515e05d --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/CloudProduct.java @@ -0,0 +1,244 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 产品表 + * @Version 1.0 + * @Data 2024-08-20 11:20:04 + */ +@ApiModel(value = "产品表",description = "") +@Table(name="cloud_product") +public class CloudProduct implements Serializable,Cloneable{ + /** id */ + @Id + @GeneratedValue + @ApiModelProperty(name = "id",notes = "") + private Integer id ; + /** 客户id */ + @ApiModelProperty(name = "客户id",notes = "") + private Integer userId ; + /** 客户性别 */ + @ApiModelProperty(name = "客户性别",notes = "") + private String sex ; + /** 客户年龄 */ + @ApiModelProperty(name = "客户年龄",notes = "") + private Integer age ; + /** 身份证 */ + @ApiModelProperty(name = "身份证",notes = "") + private String idCard ; + /** 联系方法 */ + @ApiModelProperty(name = "联系方法",notes = "") + private String tel ; + /** 客户地址 */ + @ApiModelProperty(name = "客户地址",notes = "") + private String adress ; + /** 出生日期 */ + @ApiModelProperty(name = "出生日期",notes = "") + private String birthday ; + /** 客户征信状态 */ + @ApiModelProperty(name = "客户征信状态",notes = "") + private String credit ; + /** 民族 */ + @ApiModelProperty(name = "民族",notes = "") + private String familyName ; + /** 国家 */ + @ApiModelProperty(name = "国家",notes = "") + private String nation ; + /** 邮箱 */ + @ApiModelProperty(name = "邮箱",notes = "") + private String email ; + /** 公司 */ + @ApiModelProperty(name = "公司",notes = "") + private String company ; + /** 婚姻情况 */ + @ApiModelProperty(name = "婚姻情况",notes = "") + private String maritalStatus ; + /** 教育程度 */ + @ApiModelProperty(name = "教育程度",notes = "") + private String educationLevel ; + /** 政治面貌 */ + @ApiModelProperty(name = "政治面貌",notes = "") + private String politicalStatus ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private String createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private String updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updatedTime ; + + /** id */ + public Integer getId(){ + return this.id; + } + /** id */ + public void setId(Integer id){ + this.id=id; + } + /** 客户id */ + public Integer getUserId(){ + return this.userId; + } + /** 客户id */ + public void setUserId(Integer userId){ + this.userId=userId; + } + /** 客户性别 */ + public String getSex(){ + return this.sex; + } + /** 客户性别 */ + public void setSex(String sex){ + this.sex=sex; + } + /** 客户年龄 */ + public Integer getAge(){ + return this.age; + } + /** 客户年龄 */ + public void setAge(Integer age){ + this.age=age; + } + /** 身份证 */ + public String getIdCard(){ + return this.idCard; + } + /** 身份证 */ + public void setIdCard(String idCard){ + this.idCard=idCard; + } + /** 联系方法 */ + public String getTel(){ + return this.tel; + } + /** 联系方法 */ + public void setTel(String tel){ + this.tel=tel; + } + /** 客户地址 */ + public String getAdress(){ + return this.adress; + } + /** 客户地址 */ + public void setAdress(String adress){ + this.adress=adress; + } + /** 出生日期 */ + public String getBirthday(){ + return this.birthday; + } + /** 出生日期 */ + public void setBirthday(String birthday){ + this.birthday=birthday; + } + /** 客户征信状态 */ + public String getCredit(){ + return this.credit; + } + /** 客户征信状态 */ + public void setCredit(String credit){ + this.credit=credit; + } + /** 民族 */ + public String getFamilyName(){ + return this.familyName; + } + /** 民族 */ + public void setFamilyName(String familyName){ + this.familyName=familyName; + } + /** 国家 */ + public String getNation(){ + return this.nation; + } + /** 国家 */ + public void setNation(String nation){ + this.nation=nation; + } + /** 邮箱 */ + public String getEmail(){ + return this.email; + } + /** 邮箱 */ + public void setEmail(String email){ + this.email=email; + } + /** 公司 */ + public String getCompany(){ + return this.company; + } + /** 公司 */ + public void setCompany(String company){ + this.company=company; + } + /** 婚姻情况 */ + public String getMaritalStatus(){ + return this.maritalStatus; + } + /** 婚姻情况 */ + public void setMaritalStatus(String maritalStatus){ + this.maritalStatus=maritalStatus; + } + /** 教育程度 */ + public String getEducationLevel(){ + return this.educationLevel; + } + /** 教育程度 */ + public void setEducationLevel(String educationLevel){ + this.educationLevel=educationLevel; + } + /** 政治面貌 */ + public String getPoliticalStatus(){ + return this.politicalStatus; + } + /** 政治面貌 */ + public void setPoliticalStatus(String politicalStatus){ + this.politicalStatus=politicalStatus; + } + /** 创建人 */ + public String getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(String createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public String getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(String updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdatedTime(){ + return this.updatedTime; + } + /** 更新时间 */ + public void setUpdatedTime(Date updatedTime){ + this.updatedTime=updatedTime; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/CloudRecord.java b/cloud-data-common/src/main/java/com/muyu/domain/CloudRecord.java new file mode 100644 index 0000000..7a34382 --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/CloudRecord.java @@ -0,0 +1,101 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 三方调用记录表 + * @Version 1.0 + * @Data 2024-08-20 11:15:56 + */ +@ApiModel(value = "三方调用记录表",description = "") +@Table(name="cloud_record") +public class CloudRecord implements Serializable,Cloneable{ + /** id */ + @Id + @GeneratedValue + @ApiModelProperty(name = "id",notes = "") + private Integer id ; + /** 用户主键 */ + @ApiModelProperty(name = "用户主键",notes = "") + private Integer userId ; + /** 状态 */ + @ApiModelProperty(name = "状态",notes = "") + private Integer recordStatus ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + + /** id */ + public Integer getId(){ + return this.id; + } + /** id */ + public void setId(Integer id){ + this.id=id; + } + /** 用户主键 */ + public Integer getUserId(){ + return this.userId; + } + /** 用户主键 */ + public void setUserId(Integer userId){ + this.userId=userId; + } + /** 状态 */ + public Integer getRecordStatus(){ + return this.recordStatus; + } + /** 状态 */ + public void setRecordStatus(Integer recordStatus){ + this.recordStatus=recordStatus; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/CloudUser.java b/cloud-data-common/src/main/java/com/muyu/domain/CloudUser.java new file mode 100644 index 0000000..fb05d43 --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/CloudUser.java @@ -0,0 +1,167 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 用户表 + * @Version 1.0 + * @Data 2024-08-20 11:19:05 + */ +@ApiModel(value = "用户表",description = "") +@Table(name="cloud-user") +public class CloudUser implements Serializable,Cloneable{ + /** 主键 */ + @Id + @GeneratedValue + @ApiModelProperty(name = "主键",notes = "") + private Integer id ; + /** 账号 */ + @ApiModelProperty(name = "账号",notes = "") + private String userName ; + /** 密码 */ + @ApiModelProperty(name = "密码",notes = "") + private String password ; + /** 头像 */ + @ApiModelProperty(name = "头像",notes = "") + private String userPhoto ; + /** 电话号 */ + @ApiModelProperty(name = "电话号",notes = "") + private String userTel ; + /** 用户性别 */ + @ApiModelProperty(name = "用户性别",notes = "") + private String userSex ; + /** 用户邮箱 */ + @ApiModelProperty(name = "用户邮箱",notes = "") + private String userEmail ; + /** 用户状态(0正常1禁用) */ + @ApiModelProperty(name = "用户状态(0正常1禁用)",notes = "") + private Integer userStatus ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + /** 余额 */ + @ApiModelProperty(name = "余额",notes = "") + private Double price ; + + /** 主键 */ + public Integer getId(){ + return this.id; + } + /** 主键 */ + public void setId(Integer id){ + this.id=id; + } + /** 账号 */ + public String getUserName(){ + return this.userName; + } + /** 账号 */ + public void setUserName(String userName){ + this.userName=userName; + } + /** 密码 */ + public String getPassword(){ + return this.password; + } + /** 密码 */ + public void setPassword(String password){ + this.password=password; + } + /** 头像 */ + public String getUserPhoto(){ + return this.userPhoto; + } + /** 头像 */ + public void setUserPhoto(String userPhoto){ + this.userPhoto=userPhoto; + } + /** 电话号 */ + public String getUserTel(){ + return this.userTel; + } + /** 电话号 */ + public void setUserTel(String userTel){ + this.userTel=userTel; + } + /** 用户性别 */ + public String getUserSex(){ + return this.userSex; + } + /** 用户性别 */ + public void setUserSex(String userSex){ + this.userSex=userSex; + } + /** 用户邮箱 */ + public String getUserEmail(){ + return this.userEmail; + } + /** 用户邮箱 */ + public void setUserEmail(String userEmail){ + this.userEmail=userEmail; + } + /** 用户状态(0正常1禁用) */ + public Integer getUserStatus(){ + return this.userStatus; + } + /** 用户状态(0正常1禁用) */ + public void setUserStatus(Integer userStatus){ + this.userStatus=userStatus; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } + /** 余额 */ + public Double getPrice(){ + return this.price; + } + /** 余额 */ + public void setPrice(Double price){ + this.price=price; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/RoleAuthorityMiddle.java b/cloud-data-common/src/main/java/com/muyu/domain/RoleAuthorityMiddle.java new file mode 100644 index 0000000..64153ba --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/RoleAuthorityMiddle.java @@ -0,0 +1,88 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 角色权限中间表 + * @Version 1.0 + * @Data 2024-08-20 11:02:27 + */ +@ApiModel(value = "角色权限中间表",description = "") +@Table(name="role_authority_middle") +public class RoleAuthorityMiddle implements Serializable,Cloneable{ + /** 角色主键 */ + @ApiModelProperty(name = "角色主键",notes = "") + private Integer roleId ; + /** 权限主键 */ + @ApiModelProperty(name = "权限主键",notes = "") + private Integer authorityId ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + + /** 角色主键 */ + public Integer getRoleId(){ + return this.roleId; + } + /** 角色主键 */ + public void setRoleId(Integer roleId){ + this.roleId=roleId; + } + /** 权限主键 */ + public Integer getAuthorityId(){ + return this.authorityId; + } + /** 权限主键 */ + public void setAuthorityId(Integer authorityId){ + this.authorityId=authorityId; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/UserOperateLogs.java b/cloud-data-common/src/main/java/com/muyu/domain/UserOperateLogs.java new file mode 100644 index 0000000..1c710e4 --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/UserOperateLogs.java @@ -0,0 +1,79 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 用户操作记录表 + * @Version 1.0 + * @Data 2024-08-20 11:17:16 + */ +@ApiModel(value = "用户操作记录表",description = "") +@Table(name="user_operate_logs") +public class UserOperateLogs implements Serializable,Cloneable{ + /** 主键 */ + @Id + @GeneratedValue + @ApiModelProperty(name = "主键",notes = "") + private Integer id ; + /** 用户Id */ + @ApiModelProperty(name = "用户Id",notes = "") + private Integer userId ; + /** 登录时间 */ + @ApiModelProperty(name = "登录时间",notes = "") + private Date userRecordStartTime ; + /** 查询信息数据 */ + @ApiModelProperty(name = "查询信息数据",notes = "") + private String meaagese ; + /** 退出时间 */ + @ApiModelProperty(name = "退出时间",notes = "") + private Date userRecordEndTime ; + + /** 主键 */ + public Integer getId(){ + return this.id; + } + /** 主键 */ + public void setId(Integer id){ + this.id=id; + } + /** 用户Id */ + public Integer getUserId(){ + return this.userId; + } + /** 用户Id */ + public void setUserId(Integer userId){ + this.userId=userId; + } + /** 登录时间 */ + public Date getUserRecordStartTime(){ + return this.userRecordStartTime; + } + /** 登录时间 */ + public void setUserRecordStartTime(Date userRecordStartTime){ + this.userRecordStartTime=userRecordStartTime; + } + /** 查询信息数据 */ + public String getMeaagese(){ + return this.meaagese; + } + /** 查询信息数据 */ + public void setMeaagese(String meaagese){ + this.meaagese=meaagese; + } + /** 退出时间 */ + public Date getUserRecordEndTime(){ + return this.userRecordEndTime; + } + /** 退出时间 */ + public void setUserRecordEndTime(Date userRecordEndTime){ + this.userRecordEndTime=userRecordEndTime; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/UserRecord.java b/cloud-data-common/src/main/java/com/muyu/domain/UserRecord.java new file mode 100644 index 0000000..c9aba8f --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/UserRecord.java @@ -0,0 +1,90 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import javax.persistence.GeneratedValue; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 用户登录记录表 + * @Version 1.0 + * @Data 2024-08-20 11:16:43 + */ +@ApiModel(value = "用户登录记录表",description = "") +@Table(name="user_record") +public class UserRecord implements Serializable,Cloneable{ + /** 主键 */ + @Id + @GeneratedValue + @ApiModelProperty(name = "主键",notes = "") + private Integer id ; + /** 用户主键 */ + @ApiModelProperty(name = "用户主键",notes = "") + private Integer userId ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + + /** 主键 */ + public Integer getId(){ + return this.id; + } + /** 主键 */ + public void setId(Integer id){ + this.id=id; + } + /** 用户主键 */ + public Integer getUserId(){ + return this.userId; + } + /** 用户主键 */ + public void setUserId(Integer userId){ + this.userId=userId; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/cloudRole.java b/cloud-data-common/src/main/java/com/muyu/domain/cloudRole.java new file mode 100644 index 0000000..7deba39 --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/cloudRole.java @@ -0,0 +1,91 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 角色表 + * @Version 1.0 + * @Data 2024-08-20 10:25:24 + */ +@ApiModel(value = "角色表",description = "") +@Table(name="cloud-role") +public class cloudRole implements Serializable,Cloneable{ + + /** 主键 */ + @Id + @GeneratedValue + @ApiModelProperty(name = "主键",notes = "") + private Integer id ; + /** 角色名称 */ + @ApiModelProperty(name = "角色名称",notes = "") + private String roleName ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + + /** 主键 */ + public Integer getId(){ + return this.id; + } + /** 主键 */ + public void setId( Integer id){ + this.id=id; + } + /** 角色名称 */ + public String getRoleName(){ + return this.roleName; + } + /** 角色名称 */ + public void setRoleName(String roleName){ + this.roleName=roleName; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } +} diff --git a/cloud-data-common/src/main/java/com/muyu/domain/userRoleMiddle.java b/cloud-data-common/src/main/java/com/muyu/domain/userRoleMiddle.java new file mode 100644 index 0000000..f377e7a --- /dev/null +++ b/cloud-data-common/src/main/java/com/muyu/domain/userRoleMiddle.java @@ -0,0 +1,102 @@ +package com.muyu.domain; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.springframework.data.annotation.Id; + +import javax.persistence.GeneratedValue; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * @Author YuPing + * @Description 用户角色中间表 + * @Version 1.0 + * @Data 2024-08-20 10:27:17 + */ +@ApiModel(value = "用户角色中间表",description = "") +@Table(name="user_role_middle") +public class userRoleMiddle implements Serializable,Cloneable{ + /** 主键 */ + @Id + @GeneratedValue + @ApiModelProperty(name = "主键",notes = "") + private Integer id ; + /** 用户主键 */ + @ApiModelProperty(name = "用户主键",notes = "") + private Integer userId ; + /** 角色主键 */ + @ApiModelProperty(name = "角色主键",notes = "") + private Integer roleId ; + /** 创建人 */ + @ApiModelProperty(name = "创建人",notes = "") + private Integer createdBy ; + /** 创建时间 */ + @ApiModelProperty(name = "创建时间",notes = "") + private Date createdTime ; + /** 更新人 */ + @ApiModelProperty(name = "更新人",notes = "") + private Integer updatedBy ; + /** 更新时间 */ + @ApiModelProperty(name = "更新时间",notes = "") + private Date updateTime ; + + /** 主键 */ + public Integer getId(){ + return this.id; + } + /** 主键 */ + public void setId(Integer id){ + this.id=id; + } + /** 用户主键 */ + public Integer getUserId(){ + return this.userId; + } + /** 用户主键 */ + public void setUserId(Integer userId){ + this.userId=userId; + } + /** 角色主键 */ + public Integer getRoleId(){ + return this.roleId; + } + /** 角色主键 */ + public void setRoleId(Integer roleId){ + this.roleId=roleId; + } + /** 创建人 */ + public Integer getCreatedBy(){ + return this.createdBy; + } + /** 创建人 */ + public void setCreatedBy(Integer createdBy){ + this.createdBy=createdBy; + } + /** 创建时间 */ + public Date getCreatedTime(){ + return this.createdTime; + } + /** 创建时间 */ + public void setCreatedTime(Date createdTime){ + this.createdTime=createdTime; + } + /** 更新人 */ + public Integer getUpdatedBy(){ + return this.updatedBy; + } + /** 更新人 */ + public void setUpdatedBy(Integer updatedBy){ + this.updatedBy=updatedBy; + } + /** 更新时间 */ + public Date getUpdateTime(){ + return this.updateTime; + } + /** 更新时间 */ + public void setUpdateTime(Date updateTime){ + this.updateTime=updateTime; + } + +} diff --git a/cloud-data-remote/pom.xml b/cloud-data-remote/pom.xml new file mode 100644 index 0000000..6ea1373 --- /dev/null +++ b/cloud-data-remote/pom.xml @@ -0,0 +1,28 @@ + + + 4.0.0 + + com.muyu + cloud-data + 1.0.0 + + + cloud-data-remote + + + 17 + 17 + UTF-8 + + + + + com.muyu + cloud-data-common + 1.0.0 + + + + diff --git a/cloud-data-server/pom.xml b/cloud-data-server/pom.xml new file mode 100644 index 0000000..f0c4da8 --- /dev/null +++ b/cloud-data-server/pom.xml @@ -0,0 +1,128 @@ + + + 4.0.0 + + com.muyu + cloud-data + 1.0.0 + + + cloud-data-server + + + 17 + 17 + UTF-8 + + + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + com.mysql + mysql-connector-j + + + + + com.muyu + cloud-common-datasource + + + + + com.muyu + cloud-common-datascope + + + + + + + + + + + com.muyu + cloud-common-api-doc + + + + + com.muyu + cloud-common-xxl + + + + com.muyu + cloud-common-system + + + + com.muyu + cloud-common-rabbit + + + + com.muyu + cloud-data-common + + + + com.muyu + cloud-common-nacos-remote + + + + + + cloud-data + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + + + diff --git a/cloud-data-server/src/main/java/com/muyu/server/DataApplication.java b/cloud-data-server/src/main/java/com/muyu/server/DataApplication.java new file mode 100644 index 0000000..408b06d --- /dev/null +++ b/cloud-data-server/src/main/java/com/muyu/server/DataApplication.java @@ -0,0 +1,19 @@ +package com.muyu.server; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * @Author YuPing + * @Description + * @Version 1.0 + * @Data 2024-08-20 10:25:50 + */ +@SpringBootApplication +@MapperScan("com.muyu.server.mapper") +public class DataApplication { + public static void main(String[] args) { + SpringApplication.run(DataApplication.class, args); + } +} diff --git a/cloud-data-server/src/main/resources/banner.txt b/cloud-data-server/src/main/resources/banner.txt new file mode 100644 index 0000000..140e972 --- /dev/null +++ b/cloud-data-server/src/main/resources/banner.txt @@ -0,0 +1,2 @@ +bootstrap.ymlSpring Boot Version: ${spring-boot.version} +Spring Application Name: ${spring.application.name} diff --git a/cloud-data-server/src/main/resources/bootstrap.yml b/cloud-data-server/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..582a4f7 --- /dev/null +++ b/cloud-data-server/src/main/resources/bootstrap.yml @@ -0,0 +1,49 @@ + +# Tomcat +server: + port: 10001 + +# nacos线上地址 +nacos: + addr: 47.100.87.106:8848 + user-name: nacos + password: nacos +# Spring +spring: + main: + allow-bean-definition-overriding: true + application: + # 应用名称 + name: cloud-data + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: ${nacos.addr} + # nacos用户名 + username: ${nacos.user-name} + # nacos密码 + password: ${nacos.password} + config: + # 服务注册地址 + server-addr: ${nacos.addr} + # nacos用户名 + username: ${nacos.user-name} + # nacos密码 + password: ${nacos.password} + + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + # 系统共享配置 + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + # 系统环境Config共享配置 + - application-config-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + # xxl-job 配置文件 + - application-xxl-config-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + # rabbit 配置文件 + - application-rabbit-config-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/cloud-data-server/src/main/resources/logback/dev.xml b/cloud-data-server/src/main/resources/logback/dev.xml new file mode 100644 index 0000000..9060013 --- /dev/null +++ b/cloud-data-server/src/main/resources/logback/dev.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + diff --git a/cloud-data-server/src/main/resources/logback/prod.xml b/cloud-data-server/src/main/resources/logback/prod.xml new file mode 100644 index 0000000..17e21f9 --- /dev/null +++ b/cloud-data-server/src/main/resources/logback/prod.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + ${log.sky.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + + + ERROR + + ACCEPT + + DENY + + + + + + + + ${log.sky.pattern} + + + + + + + + + + + + + + + + + + + + diff --git a/cloud-data-server/src/main/resources/logback/test.xml b/cloud-data-server/src/main/resources/logback/test.xml new file mode 100644 index 0000000..be7c5f6 --- /dev/null +++ b/cloud-data-server/src/main/resources/logback/test.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + ${log.sky.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + + + ERROR + + ACCEPT + + DENY + + + + + + + + ${log.sky.pattern} + + + + + + + + + + + + + + + + + + + + diff --git a/logs/cloud-data/error.log b/logs/cloud-data/error.log new file mode 100644 index 0000000..482631f --- /dev/null +++ b/logs/cloud-data/error.log @@ -0,0 +1,36 @@ +15:02:05.375 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Field remoteLogService in com.muyu.common.log.service.AsyncLogService required a bean of type 'com.muyu.common.system.remote.RemoteLogService' that could not be found. + +The injection point has the following annotations: + - @org.springframework.beans.factory.annotation.Autowired(required=true) + + +Action: + +Consider defining a bean of type 'com.muyu.common.system.remote.RemoteLogService' in your configuration. + +15:03:56.326 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Field remoteLogService in com.muyu.common.log.service.AsyncLogService required a bean of type 'com.muyu.common.system.remote.RemoteLogService' that could not be found. + +The injection point has the following annotations: + - @org.springframework.beans.factory.annotation.Autowired(required=true) + + +Action: + +Consider defining a bean of type 'com.muyu.common.system.remote.RemoteLogService' in your configuration. + diff --git a/logs/cloud-data/info.log b/logs/cloud-data/info.log new file mode 100644 index 0000000..6a97b49 --- /dev/null +++ b/logs/cloud-data/info.log @@ -0,0 +1,116 @@ +15:01:57.871 [main] INFO c.m.s.DataApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev" +15:01:59.909 [main] INFO c.d.f.s.ClassPathClientScanner - [processBeanDefinitions,153] - [Forest] Created Forest Client Bean with name 'nacosServiceRemote' and Proxy of 'com.muyu.common.nacos.remote.NacosServiceRemote' client interface +15:02:00.318 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat] +15:02:00.318 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24] +15:02:00.408 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext +15:02:01.098 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. +15:02:05.102 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited +15:02:05.103 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success +15:02:05.103 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master] +15:02:05.170 [main] INFO c.m.c.d.MyMetaObjectHandler - [,18] - MyMetaObjectHandler类初始化成功 +15:02:05.305 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing .... +15:02:05.309 [main] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ... +15:02:05.316 [main] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed +15:02:05.316 [main] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success, +15:02:05.316 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye +15:02:05.318 [main] INFO o.a.c.c.StandardService - [log,173] - Stopping service [Tomcat] +15:03:49.291 [main] INFO c.m.s.DataApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev" +15:03:51.203 [main] INFO c.d.f.s.ClassPathClientScanner - [processBeanDefinitions,153] - [Forest] Created Forest Client Bean with name 'nacosServiceRemote' and Proxy of 'com.muyu.common.nacos.remote.NacosServiceRemote' client interface +15:03:51.601 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat] +15:03:51.601 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24] +15:03:51.692 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext +15:03:52.374 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. +15:03:56.075 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited +15:03:56.076 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success +15:03:56.076 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master] +15:03:56.140 [main] INFO c.m.c.d.MyMetaObjectHandler - [,18] - MyMetaObjectHandler类初始化成功 +15:03:56.269 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing .... +15:03:56.270 [main] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ... +15:03:56.275 [main] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed +15:03:56.275 [main] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success, +15:03:56.275 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye +15:03:56.277 [main] INFO o.a.c.c.StandardService - [log,173] - Stopping service [Tomcat] +15:04:54.088 [main] INFO c.m.s.DataApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev" +15:04:55.858 [main] INFO c.d.f.s.ClassPathClientScanner - [processBeanDefinitions,153] - [Forest] Created Forest Client Bean with name 'nacosServiceRemote' and Proxy of 'com.muyu.common.nacos.remote.NacosServiceRemote' client interface +15:04:56.250 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat] +15:04:56.251 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24] +15:04:56.347 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext +15:04:57.000 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. +15:04:59.944 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited +15:04:59.944 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success +15:04:59.945 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master] +15:05:00.031 [main] INFO c.m.c.d.MyMetaObjectHandler - [,18] - MyMetaObjectHandler类初始化成功 +15:05:00.385 [main] INFO c.m.c.r.RabbitConfig - [init,22] - RabbitMq启动成功 +15:05:00.675 [main] INFO c.m.c.x.XXLJobConfig - [xxlJobExecutor,25] - >>>>>>>>>>> xxl-job config init success. +15:05:01.911 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-no-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3842ccf9[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoNoParam] +15:05:01.912 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-one-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@17236e87[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoOneParam] +15:05:02.083 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,82] - >>>>>>>>>>> xxl-job remoting server start success, nettype = class com.xxl.job.core.server.EmbedServer, port = 9999 +15:05:02.120 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null +15:05:02.121 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null +15:05:02.121 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null +15:05:02.126 [main] INFO c.a.n.client.naming - [,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource +15:05:02.130 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. +15:05:02.131 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. +15:05:02.313 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of b069b291-0608-451d-b67c-769c3c698938 +15:05:02.316 [main] INFO c.a.n.client.naming - [,109] - Create naming rpc client for uuid->b069b291-0608-451d-b67c-769c3c698938 +15:05:02.316 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager +15:05:02.316 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService +15:05:02.316 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler +15:05:02.317 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] Try to connect to server on start up, server: {serverIp = '47.100.87.106', server main port = 8848} +15:05:02.317 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:47.100.87.106 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false} +15:05:02.428 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] Success to connect to server [47.100.87.106:8848] on start up, connectionId = 1724137500832_117.143.60.138_61905 +15:05:02.428 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler +15:05:02.428 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] Notify connected event to listeners. +15:05:02.428 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [b069b291-0608-451d-b67c-769c3c698938] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$632/0x00000008011248b0 +15:05:02.428 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect +15:05:02.429 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] public registering service cloud-data with instance Instance{instanceId='null', ip='192.168.1.137', port=10001, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=null, preserved.register.source=SPRING_CLOUD}} +15:05:02.461 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-data 192.168.1.137:10001 register finished +15:05:02.559 [main] INFO c.m.s.DataApplication - [logStarted,56] - Started DataApplication in 11.568 seconds (process running for 12.371) +15:05:02.568 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis +15:05:02.568 [main] INFO c.a.n.c.c.i.CacheData - [,99] - nacos.cache.data.init.snapshot = true +15:05:02.569 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-47.100.87.106_8848] [subscribe] cloud-data.yml+DEFAULT_GROUP +15:05:02.576 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-47.100.87.106_8848] [add-listener] ok, tenant=, dataId=cloud-data.yml, group=DEFAULT_GROUP, cnt=1 +15:05:02.576 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-data.yml, group=DEFAULT_GROUP +15:05:02.576 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-47.100.87.106_8848] [subscribe] cloud-data+DEFAULT_GROUP +15:05:02.576 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-47.100.87.106_8848] [add-listener] ok, tenant=, dataId=cloud-data, group=DEFAULT_GROUP, cnt=1 +15:05:02.576 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-data, group=DEFAULT_GROUP +15:05:02.577 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-47.100.87.106_8848] [subscribe] cloud-data-dev.yml+DEFAULT_GROUP +15:05:02.577 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-47.100.87.106_8848] [add-listener] ok, tenant=, dataId=cloud-data-dev.yml, group=DEFAULT_GROUP, cnt=1 +15:05:02.577 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-data-dev.yml, group=DEFAULT_GROUP +15:05:03.206 [RMI TCP Connection(3)-192.168.1.137] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet' +15:05:21.505 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,91] - >>>>>>>>>>> xxl-job remoting server stop. +15:05:21.520 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,87] - >>>>>>>>>>> xxl-job registry-remove success, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-data', registryValue='http://192.168.1.137:9999/'}, registryResult:ReturnT [code=200, msg=null, content=null] +15:05:21.521 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,105] - >>>>>>>>>>> xxl-job, executor registry thread destroy. +15:05:21.521 [SpringApplicationShutdownHook] INFO c.x.j.c.s.EmbedServer - [stop,117] - >>>>>>>>>>> xxl-job remoting server destroy success. +15:05:21.521 [xxl-job, executor JobLogFileCleanThread] INFO c.x.j.c.t.JobLogFileCleanThread - [run,99] - >>>>>>>>>>> xxl-job, executor JobLogFileCleanThread thread destroy. +15:05:21.521 [xxl-job, executor TriggerCallbackThread] INFO c.x.j.c.t.TriggerCallbackThread - [run,98] - >>>>>>>>>>> xxl-job, executor callback thread destroy. +15:05:21.521 [Thread-11] INFO c.x.j.c.t.TriggerCallbackThread - [run,128] - >>>>>>>>>>> xxl-job, executor retry callback thread destroy. +15:05:21.526 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing .... +15:05:21.528 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ... +15:05:21.533 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed +15:05:21.533 [SpringApplicationShutdownHook] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success, +15:05:21.533 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye +15:05:21.533 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,95] - De-registering from Nacos Server now... +15:05:21.534 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,272] - [DEREGISTER-SERVICE] public deregistering service cloud-data with instance: Instance{instanceId='null', ip='192.168.1.137', port=10001, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}} +15:05:21.548 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,115] - De-registration finished. +15:05:21.549 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,254] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin +15:05:21.549 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,180] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,182] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,256] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,204] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,149] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,218] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,223] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,468] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,470] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,487] - Shutdown naming grpc client proxy for uuid->b069b291-0608-451d-b67c-769c3c698938 +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,331] - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@3576e7b7[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 6] +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,425] - Shutdown rpc client, set status to shutdown +15:05:21.550 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,427] - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@4dc79e04[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0] +15:05:21.551 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1724137500832_117.143.60.138_61905 +15:05:21.552 [SpringApplicationShutdownHook] INFO c.a.n.c.r.c.g.GrpcClient - [shutdown,187] - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@6a331046[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 11] +15:05:21.552 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutDownAndRemove,497] - shutdown and remove naming rpc client for uuid ->b069b291-0608-451d-b67c-769c3c698938 +15:05:21.553 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialWatcher - [stop,107] - [null] CredentialWatcher is stopped +15:05:21.553 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialService - [free,91] - [null] CredentialService is freed +15:05:21.553 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,211] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop diff --git a/logs/cloud-pay/error.log b/logs/cloud-pay/error.log new file mode 100644 index 0000000..c550517 --- /dev/null +++ b/logs/cloud-pay/error.log @@ -0,0 +1,36 @@ +11:53:29.219 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Field remoteLogService in com.muyu.common.log.service.AsyncLogService required a bean of type 'com.muyu.common.system.remote.RemoteLogService' that could not be found. + +The injection point has the following annotations: + - @org.springframework.beans.factory.annotation.Autowired(required=true) + + +Action: + +Consider defining a bean of type 'com.muyu.common.system.remote.RemoteLogService' in your configuration. + +11:53:29.533 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Field remoteLogService in com.muyu.common.log.service.AsyncLogService required a bean of type 'com.muyu.common.system.remote.RemoteLogService' that could not be found. + +The injection point has the following annotations: + - @org.springframework.beans.factory.annotation.Autowired(required=true) + + +Action: + +Consider defining a bean of type 'com.muyu.common.system.remote.RemoteLogService' in your configuration. + diff --git a/logs/cloud-pay/info.log b/logs/cloud-pay/info.log new file mode 100644 index 0000000..f200a2b --- /dev/null +++ b/logs/cloud-pay/info.log @@ -0,0 +1,32 @@ +11:53:17.876 [main] INFO c.m.s.DataApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev" +11:53:19.248 [main] INFO c.m.s.DataApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev" +11:53:21.404 [main] INFO c.d.f.s.ClassPathClientScanner - [processBeanDefinitions,153] - [Forest] Created Forest Client Bean with name 'nacosServiceRemote' and Proxy of 'com.muyu.common.nacos.remote.NacosServiceRemote' client interface +11:53:22.034 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat] +11:53:22.034 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24] +11:53:22.157 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext +11:53:22.443 [main] INFO c.d.f.s.ClassPathClientScanner - [processBeanDefinitions,153] - [Forest] Created Forest Client Bean with name 'nacosServiceRemote' and Proxy of 'com.muyu.common.nacos.remote.NacosServiceRemote' client interface +11:53:23.059 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat] +11:53:23.059 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24] +11:53:23.165 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext +11:53:23.347 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. +11:53:25.120 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. +11:53:28.643 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited +11:53:28.644 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success +11:53:28.645 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master] +11:53:28.799 [main] INFO c.m.c.d.MyMetaObjectHandler - [,18] - MyMetaObjectHandler类初始化成功 +11:53:29.020 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited +11:53:29.021 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success +11:53:29.021 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master] +11:53:29.105 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing .... +11:53:29.108 [main] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ... +11:53:29.119 [main] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed +11:53:29.119 [main] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success, +11:53:29.119 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye +11:53:29.124 [main] INFO o.a.c.c.StandardService - [log,173] - Stopping service [Tomcat] +11:53:29.186 [main] INFO c.m.c.d.MyMetaObjectHandler - [,18] - MyMetaObjectHandler类初始化成功 +11:53:29.445 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing .... +11:53:29.449 [main] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ... +11:53:29.458 [main] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed +11:53:29.460 [main] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success, +11:53:29.461 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye +11:53:29.466 [main] INFO o.a.c.c.StandardService - [log,173] - Stopping service [Tomcat] diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..dcca9df --- /dev/null +++ b/pom.xml @@ -0,0 +1,30 @@ + + + 4.0.0 + + + com.muyu + cloud-server-parent + 3.6.4 + + + + cloud-data + 1.0.0 + pom + + cloud-data-common + cloud-data-client + cloud-data-remote + cloud-data-server + + + + 17 + 17 + UTF-8 + + +