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