This commit is contained in:
zc
2026-06-12 15:07:01 +08:00
parent 7ea86a123c
commit 33540f7d10
321 changed files with 1068 additions and 1068 deletions

View File

@@ -4,18 +4,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.wms</groupId>
<artifactId>wms-admin</artifactId>
<groupId>top.mes</groupId>
<artifactId>mes-admin</artifactId>
<version>${revision}</version>
</parent>
<artifactId>wms-webapi</artifactId>
<artifactId>mes-webapi</artifactId>
<description>API 及打包部署模块</description>
<properties>
<!-- ### 打包配置相关 ### -->
<!-- 启动类 -->
<main-class>top.wms.admin.WmsAdminApplication</main-class>
<main-class>top.mes.admin.WmsAdminApplication</main-class>
<!-- 程序 jar 输出目录 -->
<bin-path>bin/</bin-path>
<!-- 配置文件输出目录 -->
@@ -59,20 +59,20 @@
<!-- 系统管理模块(存放系统管理模块相关功能,例如:部门管理、角色管理、用户管理等) -->
<dependency>
<groupId>top.wms</groupId>
<artifactId>wms-module-system</artifactId>
<groupId>top.mes</groupId>
<artifactId>mes-module-system</artifactId>
</dependency>
<!-- 任务调度插件(后续会改造为独立插件) -->
<dependency>
<groupId>top.wms</groupId>
<artifactId>wms-plugin-schedule</artifactId>
<groupId>top.mes</groupId>
<artifactId>mes-plugin-schedule</artifactId>
</dependency>
<!-- 代码生成器插件(后续会改造为独立插件) -->
<dependency>
<groupId>top.wms</groupId>
<artifactId>wms-plugin-generator</artifactId>
<groupId>top.mes</groupId>
<artifactId>mes-plugin-generator</artifactId>
</dependency>
<!-- Liquibase用于管理数据库版本跟踪、管理和应用数据库变化 -->

View File

@@ -1,4 +1,4 @@
package top.wms.admin;
package top.mes.admin;
import cn.dev33.satoken.annotation.SaIgnore;
import com.alicp.jetcache.anno.config.EnableMethodCache;
@@ -24,7 +24,7 @@ import top.continew.starter.web.model.R;
*/
@Slf4j
@EnableFileStorage
@EnableMethodCache(basePackages = "top.wms.admin")
@EnableMethodCache(basePackages = "top.mes.admin")
@EnableGlobalResponse
@EnableCrudRestController
@RestController

View File

@@ -1,9 +1,9 @@
package top.wms.admin.config.log;
package top.mes.admin.config.log;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.wms.admin.system.mapper.LogMapper;
import top.wms.admin.system.service.UserService;
import top.mes.admin.system.mapper.LogMapper;
import top.mes.admin.system.service.UserService;
import top.continew.starter.log.annotation.ConditionalOnEnabledLog;
import top.continew.starter.log.dao.LogDao;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.config.log;
package top.mes.admin.config.log;
import cn.dev33.satoken.SaManager;
import cn.dev33.satoken.stp.StpUtil;
@@ -12,13 +12,13 @@ import cn.hutool.json.JSONUtil;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpHeaders;
import org.springframework.scheduling.annotation.Async;
import top.wms.admin.auth.enums.AuthTypeEnum;
import top.wms.admin.auth.model.req.*;
import top.wms.admin.common.constant.SysConstants;
import top.wms.admin.system.enums.LogStatusEnum;
import top.wms.admin.system.mapper.LogMapper;
import top.wms.admin.system.model.entity.LogDO;
import top.wms.admin.system.service.UserService;
import top.mes.admin.auth.enums.AuthTypeEnum;
import top.mes.admin.auth.model.req.*;
import top.mes.admin.common.constant.SysConstants;
import top.mes.admin.system.enums.LogStatusEnum;
import top.mes.admin.system.mapper.LogMapper;
import top.mes.admin.system.model.entity.LogDO;
import top.mes.admin.system.service.UserService;
import top.continew.starter.core.constant.StringConstants;
import top.continew.starter.core.util.ExceptionUtils;
import top.continew.starter.core.util.StrUtils;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.config.satoken;
package top.mes.admin.config.satoken;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.config.satoken;
package top.mes.admin.config.satoken;
import cn.dev33.satoken.fun.SaParamFunction;
import cn.dev33.satoken.interceptor.SaInterceptor;
@@ -6,7 +6,7 @@ import cn.dev33.satoken.stp.StpUtil;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.lang.Nullable;
import top.wms.admin.common.context.UserContextHolder;
import top.mes.admin.common.context.UserContextHolder;
/**
* Sa-Token 扩展拦截器

View File

@@ -1,4 +1,4 @@
package top.wms.admin.config.satoken;
package top.mes.admin.config.satoken;
import cn.dev33.satoken.context.SaHolder;
import cn.dev33.satoken.context.model.SaRequest;
@@ -11,8 +11,8 @@ import cn.dev33.satoken.stp.StpUtil;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.wms.admin.common.context.UserContext;
import top.wms.admin.common.context.UserContextHolder;
import top.mes.admin.common.context.UserContext;
import top.mes.admin.common.context.UserContextHolder;
import top.continew.starter.auth.satoken.autoconfigure.SaTokenExtensionProperties;
import top.continew.starter.core.constant.StringConstants;
import top.continew.starter.core.exception.BusinessException;

View File

@@ -1,8 +1,8 @@
package top.wms.admin.config.satoken;
package top.mes.admin.config.satoken;
import cn.dev33.satoken.stp.StpInterface;
import top.wms.admin.common.context.UserContext;
import top.wms.admin.common.context.UserContextHolder;
import top.mes.admin.common.context.UserContext;
import top.mes.admin.common.context.UserContextHolder;
import java.util.ArrayList;
import java.util.List;

View File

@@ -1,10 +1,10 @@
package top.wms.admin.config.webSocket;
package top.mes.admin.config.webSocket;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.config.annotation.EnableWebSocket;
import org.springframework.web.socket.config.annotation.WebSocketConfigurer;
import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry;
import top.wms.admin.controller.weighManage.ah.ScaleWebSocketHandler;
import top.mes.admin.controller.weighManage.ah.ScaleWebSocketHandler;
@Configuration
@EnableWebSocket

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.auth;
package top.mes.admin.controller.auth;
import cn.dev33.satoken.annotation.SaIgnore;
import cn.dev33.satoken.stp.StpUtil;
@@ -11,16 +11,16 @@ import jakarta.servlet.http.HttpServletRequest;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.auth.model.req.LoginReq;
import top.wms.admin.auth.model.resp.LoginResp;
import top.wms.admin.auth.model.resp.RouteResp;
import top.wms.admin.auth.model.resp.SocialAuthAuthorizeResp;
import top.wms.admin.auth.model.resp.UserInfoResp;
import top.wms.admin.auth.service.AuthService;
import top.wms.admin.common.context.UserContext;
import top.wms.admin.common.context.UserContextHolder;
import top.wms.admin.system.model.resp.user.UserDetailResp;
import top.wms.admin.system.service.UserService;
import top.mes.admin.auth.model.req.LoginReq;
import top.mes.admin.auth.model.resp.LoginResp;
import top.mes.admin.auth.model.resp.RouteResp;
import top.mes.admin.auth.model.resp.SocialAuthAuthorizeResp;
import top.mes.admin.auth.model.resp.UserInfoResp;
import top.mes.admin.auth.service.AuthService;
import top.mes.admin.common.context.UserContext;
import top.mes.admin.common.context.UserContextHolder;
import top.mes.admin.system.model.resp.user.UserDetailResp;
import top.mes.admin.system.service.UserService;
import top.continew.starter.core.exception.BadRequestException;
import top.continew.starter.log.annotation.Log;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.code;
package top.mes.admin.controller.code;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -9,13 +9,13 @@ import jakarta.servlet.http.HttpServletResponse;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.generator.model.entity.FieldConfigDO;
import top.wms.admin.generator.model.entity.GenConfigDO;
import top.wms.admin.generator.model.query.GenConfigQuery;
import top.wms.admin.generator.model.req.GenConfigReq;
import top.wms.admin.generator.model.resp.GeneratePreviewResp;
import top.wms.admin.generator.service.GeneratorService;
import top.wms.admin.system.service.DictService;
import top.mes.admin.generator.model.entity.FieldConfigDO;
import top.mes.admin.generator.model.entity.GenConfigDO;
import top.mes.admin.generator.model.query.GenConfigQuery;
import top.mes.admin.generator.model.req.GenConfigReq;
import top.mes.admin.generator.model.resp.GeneratePreviewResp;
import top.mes.admin.generator.service.GeneratorService;
import top.mes.admin.system.service.DictService;
import top.continew.starter.extension.crud.model.query.PageQuery;
import top.continew.starter.extension.crud.model.resp.LabelValueResp;
import top.continew.starter.extension.crud.model.resp.PageResp;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.common;
package top.mes.admin.controller.common;
import cn.dev33.satoken.annotation.SaIgnore;
import cn.hutool.core.date.LocalDateTimeUtil;
@@ -16,11 +16,11 @@ import jakarta.validation.constraints.Pattern;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.auth.model.resp.CaptchaResp;
import top.wms.admin.common.config.properties.CaptchaProperties;
import top.wms.admin.common.constant.CacheConstants;
import top.wms.admin.common.constant.SysConstants;
import top.wms.admin.system.service.OptionService;
import top.mes.admin.auth.model.resp.CaptchaResp;
import top.mes.admin.common.config.properties.CaptchaProperties;
import top.mes.admin.common.constant.CacheConstants;
import top.mes.admin.common.constant.SysConstants;
import top.mes.admin.system.service.OptionService;
import top.continew.starter.cache.redisson.util.RedisUtils;
import top.continew.starter.captcha.graphic.core.GraphicCaptchaService;
import top.continew.starter.core.autoconfigure.project.ProjectProperties;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.common;
package top.mes.admin.controller.common;
import cn.dev33.satoken.annotation.SaIgnore;
import cn.hutool.core.lang.tree.Tree;
@@ -14,12 +14,12 @@ import org.dromara.x.file.storage.core.FileInfo;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import top.wms.admin.common.constant.CacheConstants;
import top.wms.admin.common.util.PictureUtils;
import top.wms.admin.system.enums.OptionCategoryEnum;
import top.wms.admin.system.model.query.*;
import top.wms.admin.system.model.resp.file.FileUploadResp;
import top.wms.admin.system.service.*;
import top.mes.admin.common.constant.CacheConstants;
import top.mes.admin.common.util.PictureUtils;
import top.mes.admin.system.enums.OptionCategoryEnum;
import top.mes.admin.system.model.query.*;
import top.mes.admin.system.model.resp.file.FileUploadResp;
import top.mes.admin.system.service.*;
import top.continew.starter.core.validation.ValidationUtils;
import top.continew.starter.extension.crud.model.query.SortQuery;
import top.continew.starter.extension.crud.model.resp.LabelValueResp;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.monitor;
package top.mes.admin.controller.monitor;
import cn.dev33.satoken.annotation.SaCheckPermission;
import cn.dev33.satoken.stp.StpUtil;
@@ -9,9 +9,9 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.auth.model.query.OnlineUserQuery;
import top.wms.admin.auth.model.resp.OnlineUserResp;
import top.wms.admin.auth.service.OnlineUserService;
import top.mes.admin.auth.model.query.OnlineUserQuery;
import top.mes.admin.auth.model.resp.OnlineUserResp;
import top.mes.admin.auth.service.OnlineUserService;
import top.continew.starter.core.validation.CheckUtils;
import top.continew.starter.extension.crud.model.query.PageQuery;
import top.continew.starter.extension.crud.model.resp.PageResp;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.schedule;
package top.mes.admin.controller.schedule;
import cn.hutool.core.util.StrUtil;
import com.aizuda.snailjob.client.job.core.annotation.JobExecutor;
@@ -8,9 +8,9 @@ import com.baomidou.mybatisplus.core.plugins.InterceptorIgnoreHelper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import top.wms.admin.common.constant.CacheConstants;
import top.wms.admin.system.mapper.*;
import top.wms.admin.system.model.entity.*;
import top.mes.admin.common.constant.CacheConstants;
import top.mes.admin.system.mapper.*;
import top.mes.admin.system.model.entity.*;
import top.continew.starter.cache.redisson.util.RedisUtils;
import top.continew.starter.core.constant.StringConstants;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.schedule;
package top.mes.admin.controller.schedule;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -8,11 +8,11 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.schedule.model.query.JobQuery;
import top.wms.admin.schedule.model.req.JobReq;
import top.wms.admin.schedule.model.req.JobStatusReq;
import top.wms.admin.schedule.model.resp.JobResp;
import top.wms.admin.schedule.service.JobService;
import top.mes.admin.schedule.model.query.JobQuery;
import top.mes.admin.schedule.model.req.JobReq;
import top.mes.admin.schedule.model.req.JobStatusReq;
import top.mes.admin.schedule.model.resp.JobResp;
import top.mes.admin.schedule.service.JobService;
import top.continew.starter.extension.crud.model.resp.PageResp;
import top.continew.starter.extension.crud.validation.CrudValidationGroup;
import top.continew.starter.log.annotation.Log;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.schedule;
package top.mes.admin.controller.schedule;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -8,13 +8,13 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.schedule.model.JobInstanceLogPageResult;
import top.wms.admin.schedule.model.query.JobInstanceLogQuery;
import top.wms.admin.schedule.model.query.JobInstanceQuery;
import top.wms.admin.schedule.model.query.JobLogQuery;
import top.wms.admin.schedule.model.resp.JobInstanceResp;
import top.wms.admin.schedule.model.resp.JobLogResp;
import top.wms.admin.schedule.service.JobLogService;
import top.mes.admin.schedule.model.JobInstanceLogPageResult;
import top.mes.admin.schedule.model.query.JobInstanceLogQuery;
import top.mes.admin.schedule.model.query.JobInstanceQuery;
import top.mes.admin.schedule.model.query.JobLogQuery;
import top.mes.admin.schedule.model.resp.JobInstanceResp;
import top.mes.admin.schedule.model.resp.JobLogResp;
import top.mes.admin.schedule.service.JobLogService;
import top.continew.starter.extension.crud.model.resp.PageResp;
import java.util.List;

View File

@@ -1,12 +1,12 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RestController;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.ClientQuery;
import top.wms.admin.system.model.req.ClientReq;
import top.wms.admin.system.model.resp.ClientResp;
import top.wms.admin.system.service.ClientService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.ClientQuery;
import top.mes.admin.system.model.req.ClientReq;
import top.mes.admin.system.model.resp.ClientResp;
import top.mes.admin.system.service.ClientService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.enums.Api;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import top.continew.starter.extension.crud.enums.Api;
@@ -7,11 +7,11 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.ConfigQuery;
import top.wms.admin.system.model.req.ConfigReq;
import top.wms.admin.system.model.resp.ConfigResp;
import top.wms.admin.system.service.ConfigService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.ConfigQuery;
import top.mes.admin.system.model.req.ConfigReq;
import top.mes.admin.system.model.resp.ConfigResp;
import top.mes.admin.system.service.ConfigService;
/**
* 参数配置管理 API

View File

@@ -1,12 +1,12 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RestController;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.DeptQuery;
import top.wms.admin.system.model.req.DeptReq;
import top.wms.admin.system.model.resp.DeptResp;
import top.wms.admin.system.service.DeptService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.DeptQuery;
import top.mes.admin.system.model.req.DeptReq;
import top.mes.admin.system.model.resp.DeptResp;
import top.mes.admin.system.service.DeptService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.enums.Api;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -6,12 +6,12 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import top.wms.admin.common.constant.CacheConstants;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.DictQuery;
import top.wms.admin.system.model.req.DictReq;
import top.wms.admin.system.model.resp.DictResp;
import top.wms.admin.system.service.DictService;
import top.mes.admin.common.constant.CacheConstants;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.DictQuery;
import top.mes.admin.system.model.req.DictReq;
import top.mes.admin.system.model.resp.DictResp;
import top.mes.admin.system.service.DictService;
import top.continew.starter.cache.redisson.util.RedisUtils;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.enums.Api;

View File

@@ -1,12 +1,12 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RestController;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.DictItemQuery;
import top.wms.admin.system.model.req.DictItemReq;
import top.wms.admin.system.model.resp.DictItemResp;
import top.wms.admin.system.service.DictItemService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.DictItemQuery;
import top.mes.admin.system.model.req.DictItemReq;
import top.mes.admin.system.model.resp.DictItemResp;
import top.mes.admin.system.service.DictItemService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.enums.Api;
import top.continew.starter.log.annotation.Log;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -6,12 +6,12 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.FileQuery;
import top.wms.admin.system.model.req.FileReq;
import top.wms.admin.system.model.resp.file.FileResp;
import top.wms.admin.system.model.resp.file.FileStatisticsResp;
import top.wms.admin.system.service.FileService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.FileQuery;
import top.mes.admin.system.model.req.FileReq;
import top.mes.admin.system.model.resp.file.FileResp;
import top.mes.admin.system.model.resp.file.FileStatisticsResp;
import top.mes.admin.system.service.FileService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.enums.Api;
import top.continew.starter.log.annotation.Log;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import com.feiniaojin.gracefulresponse.api.ExcludeFromGracefulResponse;
@@ -13,10 +13,10 @@ 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 top.wms.admin.system.model.query.LogQuery;
import top.wms.admin.system.model.resp.log.LogDetailResp;
import top.wms.admin.system.model.resp.log.LogResp;
import top.wms.admin.system.service.LogService;
import top.mes.admin.system.model.query.LogQuery;
import top.mes.admin.system.model.resp.log.LogDetailResp;
import top.mes.admin.system.model.resp.log.LogResp;
import top.mes.admin.system.service.LogService;
import top.continew.starter.extension.crud.model.query.PageQuery;
import top.continew.starter.extension.crud.model.query.SortQuery;
import top.continew.starter.extension.crud.model.resp.PageResp;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import cn.hutool.core.util.ObjectUtil;
@@ -7,12 +7,12 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RestController;
import top.wms.admin.common.constant.CacheConstants;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.MenuQuery;
import top.wms.admin.system.model.req.MenuReq;
import top.wms.admin.system.model.resp.MenuResp;
import top.wms.admin.system.service.MenuService;
import top.mes.admin.common.constant.CacheConstants;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.MenuQuery;
import top.mes.admin.system.model.req.MenuReq;
import top.mes.admin.system.model.resp.MenuResp;
import top.mes.admin.system.service.MenuService;
import top.continew.starter.cache.redisson.util.RedisUtils;
import top.continew.starter.core.constant.StringConstants;
import top.continew.starter.core.util.URLUtils;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -7,11 +7,11 @@ import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.system.model.query.OptionQuery;
import top.wms.admin.system.model.req.OptionReq;
import top.wms.admin.system.model.req.OptionResetValueReq;
import top.wms.admin.system.model.resp.OptionResp;
import top.wms.admin.system.service.OptionService;
import top.mes.admin.system.model.query.OptionQuery;
import top.mes.admin.system.model.req.OptionReq;
import top.mes.admin.system.model.req.OptionResetValueReq;
import top.mes.admin.system.model.resp.OptionResp;
import top.mes.admin.system.service.OptionService;
import java.util.List;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -9,16 +9,16 @@ import jakarta.validation.constraints.NotEmpty;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.system.model.query.RoleQuery;
import top.wms.admin.system.model.query.RoleUserQuery;
import top.wms.admin.system.model.req.RoleReq;
import top.wms.admin.system.model.req.RoleUpdatePermissionReq;
import top.wms.admin.system.model.resp.role.RoleDetailResp;
import top.wms.admin.system.model.resp.role.RoleResp;
import top.wms.admin.system.model.resp.role.RoleUserResp;
import top.wms.admin.system.service.RoleService;
import top.wms.admin.system.service.UserRoleService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.system.model.query.RoleQuery;
import top.mes.admin.system.model.query.RoleUserQuery;
import top.mes.admin.system.model.req.RoleReq;
import top.mes.admin.system.model.req.RoleUpdatePermissionReq;
import top.mes.admin.system.model.resp.role.RoleDetailResp;
import top.mes.admin.system.model.resp.role.RoleResp;
import top.mes.admin.system.model.resp.role.RoleUserResp;
import top.mes.admin.system.service.RoleService;
import top.mes.admin.system.service.UserRoleService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.enums.Api;
import top.continew.starter.extension.crud.model.query.PageQuery;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import io.swagger.v3.oas.annotations.Operation;
@@ -10,12 +10,12 @@ import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.common.model.req.CommonStatusUpdateReq;
import top.wms.admin.system.model.query.StorageQuery;
import top.wms.admin.system.model.req.StorageReq;
import top.wms.admin.system.model.resp.StorageResp;
import top.wms.admin.system.service.StorageService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.common.model.req.CommonStatusUpdateReq;
import top.mes.admin.system.model.query.StorageQuery;
import top.mes.admin.system.model.req.StorageReq;
import top.mes.admin.system.model.resp.StorageResp;
import top.mes.admin.system.service.StorageService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.enums.Api;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
@@ -9,19 +9,19 @@ import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import top.wms.admin.common.constant.CacheConstants;
import top.wms.admin.common.context.UserContextHolder;
import top.wms.admin.common.util.SecureUtils;
import top.wms.admin.system.enums.SocialSourceEnum;
import top.wms.admin.system.model.entity.UserSocialDO;
import top.wms.admin.system.model.req.user.UserBasicInfoUpdateReq;
import top.wms.admin.system.model.req.user.UserEmailUpdateRequest;
import top.wms.admin.system.model.req.user.UserPasswordUpdateReq;
import top.wms.admin.system.model.req.user.UserPhoneUpdateReq;
import top.wms.admin.system.model.resp.AvatarResp;
import top.wms.admin.system.model.resp.user.UserSocialBindResp;
import top.wms.admin.system.service.UserService;
import top.wms.admin.system.service.UserSocialService;
import top.mes.admin.common.constant.CacheConstants;
import top.mes.admin.common.context.UserContextHolder;
import top.mes.admin.common.util.SecureUtils;
import top.mes.admin.system.enums.SocialSourceEnum;
import top.mes.admin.system.model.entity.UserSocialDO;
import top.mes.admin.system.model.req.user.UserBasicInfoUpdateReq;
import top.mes.admin.system.model.req.user.UserEmailUpdateRequest;
import top.mes.admin.system.model.req.user.UserPasswordUpdateReq;
import top.mes.admin.system.model.req.user.UserPhoneUpdateReq;
import top.mes.admin.system.model.resp.AvatarResp;
import top.mes.admin.system.model.resp.user.UserSocialBindResp;
import top.mes.admin.system.service.UserService;
import top.mes.admin.system.service.UserSocialService;
import top.continew.starter.cache.redisson.util.RedisUtils;
import top.continew.starter.core.exception.BadRequestException;
import top.continew.starter.core.util.ExceptionUtils;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import cn.dev33.satoken.annotation.SaCheckPermission;
import cn.hutool.core.util.ReUtil;
@@ -14,19 +14,19 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import top.wms.admin.common.controller.BaseController;
import top.wms.admin.common.constant.RegexConstants;
import top.wms.admin.common.util.SecureUtils;
import top.wms.admin.system.model.query.UserQuery;
import top.wms.admin.system.model.req.user.UserImportReq;
import top.wms.admin.system.model.req.user.UserPasswordResetReq;
import top.wms.admin.system.model.req.user.UserReq;
import top.wms.admin.system.model.req.user.UserRoleUpdateReq;
import top.wms.admin.system.model.resp.user.UserDetailResp;
import top.wms.admin.system.model.resp.user.UserImportParseResp;
import top.wms.admin.system.model.resp.user.UserImportResp;
import top.wms.admin.system.model.resp.user.UserResp;
import top.wms.admin.system.service.UserService;
import top.mes.admin.common.controller.BaseController;
import top.mes.admin.common.constant.RegexConstants;
import top.mes.admin.common.util.SecureUtils;
import top.mes.admin.system.model.query.UserQuery;
import top.mes.admin.system.model.req.user.UserImportReq;
import top.mes.admin.system.model.req.user.UserPasswordResetReq;
import top.mes.admin.system.model.req.user.UserReq;
import top.mes.admin.system.model.req.user.UserRoleUpdateReq;
import top.mes.admin.system.model.resp.user.UserDetailResp;
import top.mes.admin.system.model.resp.user.UserImportParseResp;
import top.mes.admin.system.model.resp.user.UserImportResp;
import top.mes.admin.system.model.resp.user.UserResp;
import top.mes.admin.system.service.UserService;
import top.continew.starter.core.util.ExceptionUtils;
import top.continew.starter.core.validation.ValidationUtils;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;

View File

@@ -1,4 +1,4 @@
package top.wms.admin.controller.system;
package top.mes.admin.controller.system;
import org.dromara.x.file.storage.core.FileInfo;
import org.springframework.beans.factory.annotation.Autowired;
@@ -6,11 +6,11 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import top.wms.admin.common.util.PictureUtils;
// import top.wms.admin.controller.file.SysFileController;
// import top.wms.admin.file.domain.SysFile;
import top.wms.admin.system.model.resp.file.FileUploadResp;
import top.wms.admin.system.service.FileService;
import top.mes.admin.common.util.PictureUtils;
// import top.mes.admin.controller.file.SysFileController;
// import top.mes.admin.file.domain.SysFile;
import top.mes.admin.system.model.resp.file.FileUploadResp;
import top.mes.admin.system.service.FileService;
@RestController
@RequestMapping("/test")

View File

@@ -142,8 +142,8 @@ continew-starter.log:
## 项目日志配置(配置重叠部分,优先级高于 logback-spring.xml 中的配置)
logging:
level:
top.wms.admin: INFO
top.wms.starter: INFO
top.mes.admin: INFO
top.mes.starter: INFO
file:
path: ../logs

View File

@@ -9,7 +9,7 @@ project:
# 描述
description: 持续迭代优化的前后端分离中后台管理系统框架,开箱即用,持续提供舒适的开发体验。
# 基本包
base-package: top.wms.admin
base-package: top.mes.admin
## 作者信息配置
contact:
name: Charles7c

View File

@@ -1,4 +1,4 @@
package top.wms.admin;
package top.mes.admin;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;