调整项目名、模块名、端口
parent
33bb13e8b3
commit
6132a73679
2
LICENSE
2
LICENSE
|
|
@ -186,7 +186,7 @@
|
||||||
same "printed page" as the copyright notice for easier
|
same "printed page" as the copyright notice for easier
|
||||||
identification within third-party archives.
|
identification within third-party archives.
|
||||||
|
|
||||||
Copyright (c) 2019 <a href="http://www.zhongyou.com">ZhongYou Boot</a> All rights reserved.
|
Copyright (c) 2019 <a href="http://www.cpte.com">cpte wms</a> All rights reserved.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.jeecgframework.boot3</groupId>
|
<groupId>org.jeecgframework.boot3</groupId>
|
||||||
<artifactId>zhongyou-boot-parent</artifactId>
|
<artifactId>cpte-cloud-parent</artifactId>
|
||||||
<version>3.8.3</version>
|
<version>3.8.3</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>zhongyou-boot-base-core</artifactId>
|
<artifactId>cpte-boot-base-core</artifactId>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
@ -9,7 +9,7 @@ import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通用api
|
* 通用api
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public interface CommonAPI {
|
public interface CommonAPI {
|
||||||
|
|
||||||
|
|
@ -8,7 +8,7 @@ import java.io.Serializable;
|
||||||
/**
|
/**
|
||||||
* 文件下载
|
* 文件下载
|
||||||
* cloud api 用到的接口传输对象
|
* cloud api 用到的接口传输对象
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class FileDownDTO implements Serializable {
|
public class FileDownDTO implements Serializable {
|
||||||
|
|
@ -8,7 +8,7 @@ import java.io.Serializable;
|
||||||
/**
|
/**
|
||||||
* 文件上传
|
* 文件上传
|
||||||
* cloud api 用到的接口传输对象
|
* cloud api 用到的接口传输对象
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class FileUploadDTO implements Serializable {
|
public class FileUploadDTO implements Serializable {
|
||||||
|
|
@ -8,7 +8,7 @@ import java.util.Date;
|
||||||
/**
|
/**
|
||||||
* 日志对象
|
* 日志对象
|
||||||
* cloud api 用到的接口传输对象
|
* cloud api 用到的接口传输对象
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class LogDTO implements Serializable {
|
public class LogDTO implements Serializable {
|
||||||
|
|
@ -8,7 +8,7 @@ import java.util.List;
|
||||||
/**
|
/**
|
||||||
* online 拦截器权限判断
|
* online 拦截器权限判断
|
||||||
* cloud api 用到的接口传输对象
|
* cloud api 用到的接口传输对象
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class OnlineAuthDTO implements Serializable {
|
public class OnlineAuthDTO implements Serializable {
|
||||||
|
|
@ -7,7 +7,7 @@ import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 带业务参数的模板消息
|
* 带业务参数的模板消息
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class BusTemplateMessageDTO extends TemplateMessageDTO implements Serializable {
|
public class BusTemplateMessageDTO extends TemplateMessageDTO implements Serializable {
|
||||||
|
|
@ -8,7 +8,7 @@ import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 普通消息
|
* 普通消息
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class MessageDTO implements Serializable {
|
public class MessageDTO implements Serializable {
|
||||||
|
|
@ -7,7 +7,7 @@ import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 消息模板dto
|
* 消息模板dto
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class TemplateDTO implements Serializable {
|
public class TemplateDTO implements Serializable {
|
||||||
|
|
@ -6,7 +6,7 @@ import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 模板消息
|
* 模板消息
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class TemplateMessageDTO extends TemplateDTO implements Serializable {
|
public class TemplateMessageDTO extends TemplateDTO implements Serializable {
|
||||||
|
|
@ -30,7 +30,7 @@ import java.util.List;
|
||||||
* 当被请求的方法有注解PermissionData时,会在往当前request中写入数据权限信息
|
* 当被请求的方法有注解PermissionData时,会在往当前request中写入数据权限信息
|
||||||
* @Date 2019年4月10日
|
* @Date 2019年4月10日
|
||||||
* @Version: 1.0
|
* @Version: 1.0
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Aspect
|
@Aspect
|
||||||
@Component
|
@Component
|
||||||
|
|
@ -4,7 +4,7 @@ import java.lang.annotation.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* online请求拦截专用注解
|
* online请求拦截专用注解
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.TYPE,ElementType.METHOD})
|
@Target({ElementType.TYPE,ElementType.METHOD})
|
||||||
|
|
@ -2,7 +2,7 @@ package org.jeecg.common.constant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 通用常量
|
* @Description: 通用常量
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public interface CommonConstant {
|
public interface CommonConstant {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package org.jeecg.common.constant;
|
package org.jeecg.common.constant;
|
||||||
/**
|
/**
|
||||||
* 数据库上下文常量
|
* 数据库上下文常量
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public interface DataBaseConstant {
|
public interface DataBaseConstant {
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@ import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 省市区
|
* @Description: 省市区
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Component("pca")
|
@Component("pca")
|
||||||
public class ProvinceCityArea {
|
public class ProvinceCityArea {
|
||||||
|
|
@ -2,7 +2,7 @@ package org.jeecg.common.constant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VXESocket 常量
|
* VXESocket 常量
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public class VxeSocketConst {
|
public class VxeSocketConst {
|
||||||
|
|
||||||
|
|
@ -7,7 +7,7 @@ import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* online表单枚举 代码生成器用到
|
* online表单枚举 代码生成器用到
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public enum CgformEnum {
|
public enum CgformEnum {
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 短信枚举类
|
* @Description: 短信枚举类
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public enum DySmsEnum {
|
public enum DySmsEnum {
|
||||||
|
|
||||||
|
|
@ -9,7 +9,7 @@ import java.util.List;
|
||||||
/**
|
/**
|
||||||
* 消息类型
|
* 消息类型
|
||||||
*
|
*
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@EnumDict("messageType")
|
@EnumDict("messageType")
|
||||||
public enum MessageTypeEnum {
|
public enum MessageTypeEnum {
|
||||||
|
|
@ -2,7 +2,7 @@ package org.jeecg.common.constant.enums;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 日志按模块分类
|
* 日志按模块分类
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public enum ModuleType {
|
public enum ModuleType {
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@ import org.jeecg.common.constant.CommonConstant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 操作类型
|
* @Description: 操作类型
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
* @date: 2022/3/31 10:05
|
* @date: 2022/3/31 10:05
|
||||||
*/
|
*/
|
||||||
public enum OperateTypeEnum {
|
public enum OperateTypeEnum {
|
||||||
|
|
@ -8,7 +8,7 @@ import java.util.List;
|
||||||
* 首页自定义
|
* 首页自定义
|
||||||
* 通过角色编码与首页组件路径配置
|
* 通过角色编码与首页组件路径配置
|
||||||
* 枚举的顺序有权限高低权重作用(也就是配置多个角色,在前面的角色首页,会优先生效)
|
* 枚举的顺序有权限高低权重作用(也就是配置多个角色,在前面的角色首页,会优先生效)
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public enum RoleIndexConfigEnum {
|
public enum RoleIndexConfigEnum {
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@ import org.jeecg.common.util.oConvertUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统公告自定义跳转方式
|
* 系统公告自定义跳转方式
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public enum SysAnnmentTypeEnum {
|
public enum SysAnnmentTypeEnum {
|
||||||
/**
|
/**
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package org.jeecg.common.exception;
|
package org.jeecg.common.exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: zhongyou自定义401异常
|
* @Description: cpte自定义401异常
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public class JeecgBoot401Exception extends RuntimeException {
|
public class JeecgBoot401Exception extends RuntimeException {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
@ -3,8 +3,8 @@ package org.jeecg.common.exception;
|
||||||
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.constant.CommonConstant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: zhongyou自定义异常
|
* @Description: cpte自定义异常
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public class JeecgBootException extends RuntimeException {
|
public class JeecgBootException extends RuntimeException {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package org.jeecg.common.exception;
|
package org.jeecg.common.exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: zhongyou自定义SQL注入异常
|
* @Description: cpte自定义SQL注入异常
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public class JeecgSqlInjectionException extends RuntimeException {
|
public class JeecgSqlInjectionException extends RuntimeException {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
@ -4,7 +4,7 @@ import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: QueryCondition
|
* @Description: QueryCondition
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public class QueryCondition implements Serializable {
|
public class QueryCondition implements Serializable {
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 查询生成器
|
* @Description: 查询生成器
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class QueryGenerator {
|
public class QueryGenerator {
|
||||||
|
|
@ -9,7 +9,7 @@ import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 文档管理
|
* @Description: 文档管理
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
|
@ -11,7 +11,7 @@ import lombok.experimental.Accessors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 字典类
|
* @Description: 字典类
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
|
@ -5,7 +5,7 @@ import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询多个字典时用到
|
* 查询多个字典时用到
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
|
@ -4,7 +4,7 @@ import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典查询参数实体
|
* 字典查询参数实体
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class DictQuery {
|
public class DictQuery {
|
||||||
|
|
@ -5,7 +5,7 @@ import org.springframework.beans.BeanUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 数据源
|
* @Description: 数据源
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class DynamicDataSourceModel {
|
public class DynamicDataSourceModel {
|
||||||
|
|
@ -6,7 +6,7 @@ import org.jeecg.common.util.DateUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 用户缓存信息
|
* @Description: 用户缓存信息
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
public class SysUserCacheInfo {
|
public class SysUserCacheInfo {
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 通用工具
|
* @Description: 通用工具
|
||||||
* @author: zhongyou
|
* @author: cpte
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class CommonUtils {
|
public class CommonUtils {
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue