Commit 423f0011 by fengshuonan

更新包结构

parent 57c9435e
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config; package cn.stylefeng.guns.base.config;
import net.sf.ehcache.CacheManager; import net.sf.ehcache.CacheManager;
import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.annotation.EnableCaching;
......
package cn.stylefeng.guns.config; package cn.stylefeng.guns.base.config;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.core.log.aop.LogAop; import cn.stylefeng.guns.base.core.log.aop.LogAop;
import cn.stylefeng.guns.core.shiro.aop.PermissionAop; import cn.stylefeng.guns.base.core.shiro.aop.PermissionAop;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.DependsOn; import org.springframework.context.annotation.DependsOn;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config; package cn.stylefeng.guns.base.config;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
......
package cn.stylefeng.guns.config.datasource; package cn.stylefeng.guns.base.config.datasource;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.roses.core.metadata.CustomMetaObjectHandler; import cn.stylefeng.roses.core.metadata.CustomMetaObjectHandler;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config.datasource; package cn.stylefeng.guns.base.config.datasource;
import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
...@@ -22,7 +22,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; ...@@ -22,7 +22,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
/** /**
* 多数据源配置,多数据源配置因为和单数据源冲突,所以现在默认版本删除了多数据源配置 * 多数据源配置,多数据源配置因为和单数据源冲突,所以现在默认版本删除了多数据源配置
* * <p>
* 可参考 https://gitee.com/stylefeng/guns/tree/multi-datasource/ * 可参考 https://gitee.com/stylefeng/guns/tree/multi-datasource/
* *
* @author stylefeng * @author stylefeng
...@@ -31,7 +31,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; ...@@ -31,7 +31,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@Configuration @Configuration
@ConditionalOnProperty(prefix = "guns.muti-datasource", name = "open", havingValue = "false", matchIfMissing = true) @ConditionalOnProperty(prefix = "guns.muti-datasource", name = "open", havingValue = "false", matchIfMissing = true)
@EnableTransactionManagement(proxyTargetClass = true) @EnableTransactionManagement(proxyTargetClass = true)
@MapperScan(basePackages = {"cn.stylefeng.guns.modular.*.mapper"}) @MapperScan(basePackages = {"cn.stylefeng.guns.base.modular.*.mapper", "cn.stylefeng.guns.modular.*.mapper"})
public class SingleDataSourceConfig { public class SingleDataSourceConfig {
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config.properties; package cn.stylefeng.guns.base.config.properties;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import lombok.Data; import lombok.Data;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config.properties; package cn.stylefeng.guns.base.config.properties;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import lombok.Data; import lombok.Data;
......
package cn.stylefeng.guns.config.properties; package cn.stylefeng.guns.base.config.properties;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
......
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config.web; package cn.stylefeng.guns.base.config.web;
import cn.stylefeng.guns.config.properties.BeetlProperties; import cn.stylefeng.guns.base.config.properties.BeetlProperties;
import cn.stylefeng.guns.core.beetl.BeetlConfiguration; import cn.stylefeng.guns.base.core.beetl.BeetlConfiguration;
import org.beetl.core.resource.ClasspathResourceLoader; import org.beetl.core.resource.ClasspathResourceLoader;
import org.beetl.ext.spring.BeetlSpringViewResolver; import org.beetl.ext.spring.BeetlSpringViewResolver;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config.web; package cn.stylefeng.guns.base.config.web;
import cn.stylefeng.guns.config.properties.GunsProperties; import cn.stylefeng.guns.base.config.properties.GunsProperties;
import cn.stylefeng.guns.core.shiro.GunsUserFilter; import cn.stylefeng.guns.base.core.shiro.GunsUserFilter;
import cn.stylefeng.guns.core.shiro.ShiroDbRealm; import cn.stylefeng.guns.base.core.shiro.ShiroDbRealm;
import org.apache.shiro.cache.CacheManager; import org.apache.shiro.cache.CacheManager;
import org.apache.shiro.cache.ehcache.EhCacheManager; import org.apache.shiro.cache.ehcache.EhCacheManager;
import org.apache.shiro.codec.Base64; import org.apache.shiro.codec.Base64;
...@@ -43,7 +43,7 @@ import java.util.HashMap; ...@@ -43,7 +43,7 @@ import java.util.HashMap;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
import static cn.stylefeng.guns.core.constant.Const.NONE_PERMISSION_RES; import static cn.stylefeng.guns.base.core.constant.Const.NONE_PERMISSION_RES;
/** /**
* shiro权限管理的配置 * shiro权限管理的配置
......
package cn.stylefeng.guns.config.web; package cn.stylefeng.guns.base.config.web;
import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.DateUtil;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.config.web; package cn.stylefeng.guns.base.config.web;
import cn.stylefeng.guns.config.properties.GunsProperties; import cn.stylefeng.guns.base.core.attribute.AttributeSetInteceptor;
import cn.stylefeng.guns.core.attribute.AttributeSetInteceptor; import cn.stylefeng.guns.base.core.exception.page.GunsErrorView;
import cn.stylefeng.guns.core.exception.page.GunsErrorView; import cn.stylefeng.guns.base.core.listener.ConfigListener;
import cn.stylefeng.guns.core.listener.ConfigListener; import cn.stylefeng.guns.base.modular.api.aop.RestApiInteceptor;
import cn.stylefeng.guns.modular.api.aop.RestApiInteceptor; import cn.stylefeng.guns.base.config.properties.GunsProperties;
import cn.stylefeng.roses.core.xss.XssFilter; import cn.stylefeng.roses.core.xss.XssFilter;
import com.alibaba.druid.pool.DruidDataSource; import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.support.http.StatViewServlet; import com.alibaba.druid.support.http.StatViewServlet;
...@@ -44,7 +44,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; ...@@ -44,7 +44,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import java.util.Properties; import java.util.Properties;
import static cn.stylefeng.guns.core.constant.Const.NONE_PERMISSION_RES; import static cn.stylefeng.guns.base.core.constant.Const.NONE_PERMISSION_RES;
/** /**
* web 配置类 * web 配置类
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.attribute; package cn.stylefeng.guns.base.core.attribute;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.core.util.DefaultImages; import cn.stylefeng.guns.base.core.util.DefaultImages;
import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationException;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
......
...@@ -13,17 +13,17 @@ ...@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.beetl; package cn.stylefeng.guns.base.core.beetl;
import cn.stylefeng.guns.core.util.KaptchaUtil; import cn.stylefeng.guns.base.core.util.KaptchaUtil;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import org.beetl.ext.spring.BeetlGroupUtilConfiguration; import org.beetl.ext.spring.BeetlGroupUtilConfiguration;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import static cn.stylefeng.guns.core.constant.Const.DEFAULT_SYSTEM_NAME; import static cn.stylefeng.guns.base.core.constant.Const.DEFAULT_SYSTEM_NAME;
import static cn.stylefeng.guns.core.constant.Const.DEFAULT_WELCOME_TIP; import static cn.stylefeng.guns.base.core.constant.Const.DEFAULT_WELCOME_TIP;
/** /**
* beetl拓展配置,绑定一些工具类,方便在模板中直接调用 * beetl拓展配置,绑定一些工具类,方便在模板中直接调用
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.beetl; package cn.stylefeng.guns.base.core.beetl;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import org.apache.shiro.SecurityUtils; import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject; import org.apache.shiro.subject.Subject;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant; package cn.stylefeng.guns.base.core.constant;
import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.collection.CollectionUtil;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant; package cn.stylefeng.guns.base.core.constant;
/** /**
* 多数据源的枚举 * 多数据源的枚举
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant; package cn.stylefeng.guns.base.core.constant;
/** /**
* 默认的头像base64编码 * 默认的头像base64编码
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant; package cn.stylefeng.guns.base.core.constant;
/** /**
* jwt相关配置 * jwt相关配置
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.cache; package cn.stylefeng.guns.base.core.constant.cache;
/** /**
* 所有缓存名称的集合 * 所有缓存名称的集合
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.cache; package cn.stylefeng.guns.base.core.constant.cache;
/** /**
* 缓存标识前缀集合,常用在ConstantFactory类中 * 缓存标识前缀集合,常用在ConstantFactory类中
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap; package cn.stylefeng.guns.base.core.constant.dictmap;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
/** /**
* 用于删除业务的字典 * 用于删除业务的字典
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap; package cn.stylefeng.guns.base.core.constant.dictmap;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
/** /**
* 部门的映射 * 部门的映射
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap; package cn.stylefeng.guns.base.core.constant.dictmap;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
/** /**
* 字典map * 字典map
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap; package cn.stylefeng.guns.base.core.constant.dictmap;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
/** /**
* 菜单的字典 * 菜单的字典
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap; package cn.stylefeng.guns.base.core.constant.dictmap;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
/** /**
* 通知的映射 * 通知的映射
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap; package cn.stylefeng.guns.base.core.constant.dictmap;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
/** /**
* 角色的字典 * 角色的字典
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap; package cn.stylefeng.guns.base.core.constant.dictmap;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
/** /**
* 用户的字典 * 用户的字典
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap.base; package cn.stylefeng.guns.base.core.constant.dictmap.base;
import java.util.HashMap; import java.util.HashMap;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap.base; package cn.stylefeng.guns.base.core.constant.dictmap.base;
/** /**
* 系统相关的字典 * 系统相关的字典
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.dictmap.factory; package cn.stylefeng.guns.base.core.constant.dictmap.factory;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.constant.factory.IConstantFactory; import cn.stylefeng.guns.base.core.constant.factory.IConstantFactory;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.roses.kernel.model.exception.ServiceException; import cn.stylefeng.roses.kernel.model.exception.ServiceException;
import java.lang.reflect.Method; import java.lang.reflect.Method;
......
...@@ -13,17 +13,17 @@ ...@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.factory; package cn.stylefeng.guns.base.core.constant.factory;
import cn.hutool.core.convert.Convert; import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import cn.stylefeng.guns.core.constant.cache.Cache; import cn.stylefeng.guns.base.core.constant.cache.Cache;
import cn.stylefeng.guns.core.constant.cache.CacheKey; import cn.stylefeng.guns.base.core.constant.cache.CacheKey;
import cn.stylefeng.guns.core.constant.state.ManagerStatus; import cn.stylefeng.guns.base.core.constant.state.ManagerStatus;
import cn.stylefeng.guns.core.constant.state.MenuStatus; import cn.stylefeng.guns.base.core.constant.state.MenuStatus;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.modular.system.entity.*; import cn.stylefeng.guns.base.modular.system.entity.*;
import cn.stylefeng.guns.modular.system.mapper.*; import cn.stylefeng.guns.base.modular.system.mapper.*;
import cn.stylefeng.roses.core.util.SpringContextHolder; import cn.stylefeng.roses.core.util.SpringContextHolder;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
......
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.factory; package cn.stylefeng.guns.base.core.constant.factory;
import cn.stylefeng.guns.modular.system.entity.Dict; import cn.stylefeng.guns.base.modular.system.entity.Dict;
import cn.stylefeng.guns.modular.system.entity.Menu; import cn.stylefeng.guns.base.modular.system.entity.Menu;
import java.util.List; import java.util.List;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
/** /**
* 业务日志类型 * 业务日志类型
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
import lombok.Getter; import lombok.Getter;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
/** /**
* 是否是菜单的枚举 * 是否是菜单的枚举
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
/** /**
* 业务是否成功的日志记录 * 业务是否成功的日志记录
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
/** /**
* 日志类型 * 日志类型
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
import lombok.Getter; import lombok.Getter;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
/** /**
* 菜单是否打开的状态 * 菜单是否打开的状态
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
import lombok.Getter; import lombok.Getter;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.constant.state; package cn.stylefeng.guns.base.core.constant.state;
/** /**
* 数据库排序 * 数据库排序
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.exception; package cn.stylefeng.guns.base.core.exception;
/** /**
* 验证码错误异常 * 验证码错误异常
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.exception.aop; package cn.stylefeng.guns.base.core.exception.aop;
import cn.stylefeng.guns.core.exception.InvalidKaptchaException; import cn.stylefeng.guns.base.core.exception.InvalidKaptchaException;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.guns.core.log.LogManager; import cn.stylefeng.guns.base.core.log.LogManager;
import cn.stylefeng.guns.core.log.factory.LogTaskFactory; import cn.stylefeng.guns.base.core.log.factory.LogTaskFactory;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.roses.core.reqres.response.ErrorResponseData; import cn.stylefeng.roses.core.reqres.response.ErrorResponseData;
import cn.stylefeng.roses.kernel.model.exception.ServiceException; import cn.stylefeng.roses.kernel.model.exception.ServiceException;
import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationException;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.exception.enums; package cn.stylefeng.guns.base.core.exception.enums;
import cn.stylefeng.roses.kernel.model.exception.AbstractBaseExceptionEnum; import cn.stylefeng.roses.kernel.model.exception.AbstractBaseExceptionEnum;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.exception.page; package cn.stylefeng.guns.base.core.exception.page;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.ui.Model; import org.springframework.ui.Model;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.exception.page; package cn.stylefeng.guns.base.core.exception.page;
import org.springframework.web.servlet.View; import org.springframework.web.servlet.View;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.listener; package cn.stylefeng.guns.base.core.listener;
import javax.servlet.ServletContext; import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextEvent;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.log; package cn.stylefeng.guns.base.core.log;
import java.util.TimerTask; import java.util.TimerTask;
import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.ScheduledThreadPoolExecutor;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.log; package cn.stylefeng.guns.base.core.log;
import cn.stylefeng.roses.core.util.SpringContextHolder; import cn.stylefeng.roses.core.util.SpringContextHolder;
......
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.log.annotion; package cn.stylefeng.guns.base.core.log.annotion;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
import cn.stylefeng.guns.core.constant.dictmap.base.SystemDict; import cn.stylefeng.guns.base.core.constant.dictmap.base.SystemDict;
import java.lang.annotation.*; import java.lang.annotation.*;
......
...@@ -13,16 +13,16 @@ ...@@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.log.aop; package cn.stylefeng.guns.base.core.log.aop;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
import cn.stylefeng.guns.core.log.LogManager; import cn.stylefeng.guns.base.core.log.LogManager;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.log.factory.LogTaskFactory; import cn.stylefeng.guns.base.core.log.factory.LogTaskFactory;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.core.util.Contrast; import cn.stylefeng.guns.base.core.util.Contrast;
import cn.stylefeng.roses.core.util.HttpContext; import cn.stylefeng.roses.core.util.HttpContext;
import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.Signature; import org.aspectj.lang.Signature;
...@@ -47,7 +47,7 @@ public class LogAop { ...@@ -47,7 +47,7 @@ public class LogAop {
private Logger log = LoggerFactory.getLogger(this.getClass()); private Logger log = LoggerFactory.getLogger(this.getClass());
@Pointcut(value = "@annotation(cn.stylefeng.guns.core.log.annotion.BussinessLog)") @Pointcut(value = "@annotation(cn.stylefeng.guns.base.core.log.annotion.BussinessLog)")
public void cutService() { public void cutService() {
} }
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.log.factory; package cn.stylefeng.guns.base.core.log.factory;
import cn.stylefeng.guns.core.constant.state.LogSucceed; import cn.stylefeng.guns.base.modular.system.entity.LoginLog;
import cn.stylefeng.guns.core.constant.state.LogType; import cn.stylefeng.guns.base.modular.system.entity.OperationLog;
import cn.stylefeng.guns.modular.system.entity.LoginLog; import cn.stylefeng.guns.base.core.constant.state.LogSucceed;
import cn.stylefeng.guns.modular.system.entity.OperationLog; import cn.stylefeng.guns.base.core.constant.state.LogType;
import java.util.Date; import java.util.Date;
......
...@@ -13,15 +13,15 @@ ...@@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.log.factory; package cn.stylefeng.guns.base.core.log.factory;
import cn.stylefeng.guns.core.constant.state.LogSucceed; import cn.stylefeng.guns.base.core.log.LogManager;
import cn.stylefeng.guns.core.constant.state.LogType; import cn.stylefeng.guns.base.modular.system.entity.LoginLog;
import cn.stylefeng.guns.core.log.LogManager; import cn.stylefeng.guns.base.modular.system.entity.OperationLog;
import cn.stylefeng.guns.modular.system.entity.LoginLog; import cn.stylefeng.guns.base.core.constant.state.LogSucceed;
import cn.stylefeng.guns.modular.system.entity.OperationLog; import cn.stylefeng.guns.base.core.constant.state.LogType;
import cn.stylefeng.guns.modular.system.mapper.LoginLogMapper; import cn.stylefeng.guns.base.modular.system.mapper.LoginLogMapper;
import cn.stylefeng.guns.modular.system.mapper.OperationLogMapper; import cn.stylefeng.guns.base.modular.system.mapper.OperationLogMapper;
import cn.stylefeng.roses.core.util.SpringContextHolder; import cn.stylefeng.roses.core.util.SpringContextHolder;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.pojo.node; package cn.stylefeng.guns.base.core.pojo.node;
import cn.stylefeng.roses.kernel.model.enums.YesOrNotEnum; import cn.stylefeng.roses.kernel.model.enums.YesOrNotEnum;
import lombok.Data; import lombok.Data;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.pojo.node; package cn.stylefeng.guns.base.core.pojo.node;
import cn.stylefeng.roses.kernel.model.tree.Tree; import cn.stylefeng.roses.kernel.model.tree.Tree;
import lombok.Data; import lombok.Data;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.pojo.node; package cn.stylefeng.guns.base.core.pojo.node;
import lombok.Data; import lombok.Data;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.pojo.page; package cn.stylefeng.guns.base.core.pojo.page;
import cn.stylefeng.roses.core.util.HttpContext; import cn.stylefeng.roses.core.util.HttpContext;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.pojo.page; package cn.stylefeng.guns.base.core.pojo.page;
import lombok.Data; import lombok.Data;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* specific language governing permissions and limitations * specific language governing permissions and limitations
* under the License. * under the License.
*/ */
package cn.stylefeng.guns.core.shiro; package cn.stylefeng.guns.base.core.shiro;
import org.apache.shiro.subject.Subject; import org.apache.shiro.subject.Subject;
import org.apache.shiro.web.filter.AccessControlFilter; import org.apache.shiro.web.filter.AccessControlFilter;
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro; package cn.stylefeng.guns.base.core.shiro;
import cn.stylefeng.guns.core.shiro.service.UserAuthService; import cn.stylefeng.guns.base.modular.system.entity.User;
import cn.stylefeng.guns.core.shiro.service.impl.UserAuthServiceServiceImpl; import cn.stylefeng.guns.base.core.shiro.service.UserAuthService;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.core.shiro.service.impl.UserAuthServiceServiceImpl;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo; import org.apache.shiro.authc.AuthenticationInfo;
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro; package cn.stylefeng.guns.base.core.shiro;
import cn.stylefeng.guns.core.constant.Const; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.modular.system.entity.User;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.core.constant.Const;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import cn.stylefeng.roses.kernel.model.exception.ServiceException; import cn.stylefeng.roses.kernel.model.exception.ServiceException;
import org.apache.shiro.SecurityUtils; import org.apache.shiro.SecurityUtils;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro; package cn.stylefeng.guns.base.core.shiro;
import lombok.Data; import lombok.Data;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro.annotion; package cn.stylefeng.guns.base.core.shiro.annotion;
import java.lang.annotation.*; import java.lang.annotation.*;
......
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro.aop; package cn.stylefeng.guns.base.core.shiro.aop;
import cn.stylefeng.guns.core.shiro.annotion.Permission; import cn.stylefeng.guns.base.core.shiro.annotion.Permission;
import cn.stylefeng.guns.core.shiro.service.PermissionCheckService; import cn.stylefeng.guns.base.core.shiro.service.PermissionCheckService;
import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Aspect;
...@@ -39,7 +39,7 @@ public class PermissionAop { ...@@ -39,7 +39,7 @@ public class PermissionAop {
@Autowired @Autowired
private PermissionCheckService check; private PermissionCheckService check;
@Pointcut(value = "@annotation(cn.stylefeng.guns.core.shiro.annotion.Permission)") @Pointcut(value = "@annotation(cn.stylefeng.guns.base.core.shiro.annotion.Permission)")
private void cutPermission() { private void cutPermission() {
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro.service; package cn.stylefeng.guns.base.core.shiro.service;
/** /**
* 检查用接口 * 检查用接口
......
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro.service; package cn.stylefeng.guns.base.core.shiro.service;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.modular.system.entity.User;
import org.apache.shiro.authc.SimpleAuthenticationInfo; import org.apache.shiro.authc.SimpleAuthenticationInfo;
import java.util.List; import java.util.List;
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro.service.impl; package cn.stylefeng.guns.base.core.shiro.service.impl;
import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.collection.CollectionUtil;
import cn.stylefeng.guns.core.listener.ConfigListener; import cn.stylefeng.guns.base.core.listener.ConfigListener;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.core.shiro.service.PermissionCheckService; import cn.stylefeng.guns.base.core.shiro.service.PermissionCheckService;
import cn.stylefeng.roses.core.util.HttpContext; import cn.stylefeng.roses.core.util.HttpContext;
import org.springframework.context.annotation.DependsOn; import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
......
...@@ -13,18 +13,18 @@ ...@@ -13,18 +13,18 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.shiro.service.impl; package cn.stylefeng.guns.base.core.shiro.service.impl;
import cn.hutool.core.convert.Convert; import cn.hutool.core.convert.Convert;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.constant.state.ManagerStatus; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.service.UserAuthService;
import cn.stylefeng.guns.core.shiro.service.UserAuthService; import cn.stylefeng.guns.base.modular.system.entity.User;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.modular.system.mapper.MenuMapper;
import cn.stylefeng.guns.modular.system.mapper.MenuMapper; import cn.stylefeng.guns.base.core.constant.state.ManagerStatus;
import cn.stylefeng.guns.modular.system.mapper.UserMapper; import cn.stylefeng.guns.base.modular.system.mapper.UserMapper;
import cn.stylefeng.guns.modular.system.service.UserService; import cn.stylefeng.guns.base.modular.system.service.UserService;
import cn.stylefeng.roses.core.util.SpringContextHolder; import cn.stylefeng.roses.core.util.SpringContextHolder;
import org.apache.shiro.authc.CredentialsException; import org.apache.shiro.authc.CredentialsException;
import org.apache.shiro.authc.LockedAccountException; import org.apache.shiro.authc.LockedAccountException;
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.util; package cn.stylefeng.guns.base.core.util;
import cn.stylefeng.guns.config.properties.GunsProperties; import cn.stylefeng.guns.base.config.properties.GunsProperties;
import cn.stylefeng.guns.core.constant.Const; import cn.stylefeng.guns.base.core.pojo.node.MenuNode;
import cn.stylefeng.guns.core.pojo.node.MenuNode; import cn.stylefeng.guns.base.core.constant.Const;
import cn.stylefeng.roses.core.util.SpringContextHolder; import cn.stylefeng.roses.core.util.SpringContextHolder;
import java.util.ArrayList; import java.util.ArrayList;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.util; package cn.stylefeng.guns.base.core.util;
import cn.stylefeng.roses.core.util.SpringContextHolder; import cn.stylefeng.roses.core.util.SpringContextHolder;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.util; package cn.stylefeng.guns.base.core.util;
import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import cn.stylefeng.guns.core.constant.dictmap.base.AbstractDictMap; import cn.stylefeng.guns.base.core.constant.dictmap.base.AbstractDictMap;
import cn.stylefeng.guns.core.constant.dictmap.factory.DictFieldWarpperFactory; import cn.stylefeng.guns.base.core.constant.dictmap.factory.DictFieldWarpperFactory;
import java.beans.PropertyDescriptor; import java.beans.PropertyDescriptor;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
package cn.stylefeng.guns.core.util; package cn.stylefeng.guns.base.core.util;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.BigInteger; import java.math.BigInteger;
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.util; package cn.stylefeng.guns.base.core.util;
import cn.stylefeng.guns.core.listener.ConfigListener; import cn.stylefeng.guns.base.core.listener.ConfigListener;
/** /**
* 获取默认图片地址 * 获取默认图片地址
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.util; package cn.stylefeng.guns.base.core.util;
import cn.stylefeng.guns.core.constant.JwtConstants; import cn.stylefeng.guns.base.core.constant.JwtConstants;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import io.jsonwebtoken.*; import io.jsonwebtoken.*;
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.core.util; package cn.stylefeng.guns.base.core.util;
import cn.stylefeng.guns.config.properties.GunsProperties; import cn.stylefeng.guns.base.config.properties.GunsProperties;
import cn.stylefeng.roses.core.util.SpringContextHolder; import cn.stylefeng.roses.core.util.SpringContextHolder;
/** /**
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.api.aop; package cn.stylefeng.guns.base.modular.api.aop;
import cn.stylefeng.guns.core.constant.JwtConstants; import cn.stylefeng.guns.base.core.constant.JwtConstants;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.guns.core.util.JwtTokenUtil; import cn.stylefeng.guns.base.core.util.JwtTokenUtil;
import cn.stylefeng.roses.core.reqres.response.ErrorResponseData; import cn.stylefeng.roses.core.reqres.response.ErrorResponseData;
import cn.stylefeng.roses.core.util.RenderUtil; import cn.stylefeng.roses.core.util.RenderUtil;
import io.jsonwebtoken.JwtException; import io.jsonwebtoken.JwtException;
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.api.controller; package cn.stylefeng.guns.base.modular.api.controller;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.core.util.JwtTokenUtil; import cn.stylefeng.guns.base.core.util.JwtTokenUtil;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.modular.system.entity.User;
import cn.stylefeng.guns.modular.system.mapper.UserMapper; import cn.stylefeng.guns.base.modular.system.mapper.UserMapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ErrorResponseData; import cn.stylefeng.roses.core.reqres.response.ErrorResponseData;
import org.apache.shiro.authc.SimpleAuthenticationInfo; import org.apache.shiro.authc.SimpleAuthenticationInfo;
......
...@@ -13,22 +13,22 @@ ...@@ -13,22 +13,22 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.shiro.annotion.Permission; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.core.constant.dictmap.DeptDict; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.modular.system.entity.Dept;
import cn.stylefeng.guns.core.pojo.node.TreeviewNode; import cn.stylefeng.guns.base.core.shiro.annotion.Permission;
import cn.stylefeng.guns.core.pojo.node.ZTreeNode; import cn.stylefeng.guns.base.core.constant.dictmap.DeptDict;
import cn.stylefeng.guns.core.pojo.page.LayuiPageFactory; import cn.stylefeng.guns.base.core.pojo.node.TreeviewNode;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.pojo.node.ZTreeNode;
import cn.stylefeng.guns.modular.system.entity.Dept; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.modular.system.model.DeptDto; import cn.stylefeng.guns.base.modular.system.model.DeptDto;
import cn.stylefeng.guns.modular.system.service.DeptService; import cn.stylefeng.guns.base.modular.system.service.DeptService;
import cn.stylefeng.guns.modular.system.warpper.DeptTreeWrapper; import cn.stylefeng.guns.base.modular.system.warpper.DeptTreeWrapper;
import cn.stylefeng.guns.modular.system.warpper.DeptWrapper; import cn.stylefeng.guns.base.modular.system.warpper.DeptWrapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ResponseData; import cn.stylefeng.roses.core.reqres.response.ResponseData;
import cn.stylefeng.roses.core.treebuild.DefaultTreeBuildFactory; import cn.stylefeng.roses.core.treebuild.DefaultTreeBuildFactory;
......
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.stylefeng.guns.core.pojo.node.ZTreeNode; import cn.stylefeng.guns.base.core.pojo.node.ZTreeNode;
import cn.stylefeng.guns.core.pojo.page.LayuiPageInfo; import cn.stylefeng.guns.base.modular.system.entity.Dict;
import cn.stylefeng.guns.modular.system.entity.Dict; import cn.stylefeng.guns.base.modular.system.entity.DictType;
import cn.stylefeng.guns.modular.system.entity.DictType; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.system.model.params.DictParam; import cn.stylefeng.guns.base.modular.system.model.params.DictParam;
import cn.stylefeng.guns.modular.system.model.result.DictResult; import cn.stylefeng.guns.base.modular.system.model.result.DictResult;
import cn.stylefeng.guns.modular.system.service.DictService; import cn.stylefeng.guns.base.modular.system.service.DictService;
import cn.stylefeng.guns.modular.system.service.DictTypeService; import cn.stylefeng.guns.base.modular.system.service.DictTypeService;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ResponseData; import cn.stylefeng.roses.core.reqres.response.ResponseData;
import cn.stylefeng.roses.kernel.model.exception.RequestEmptyException; import cn.stylefeng.roses.kernel.model.exception.RequestEmptyException;
......
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.stylefeng.guns.core.pojo.page.LayuiPageInfo; import cn.stylefeng.guns.base.modular.system.entity.DictType;
import cn.stylefeng.guns.modular.system.entity.DictType; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.system.model.params.DictTypeParam; import cn.stylefeng.guns.base.modular.system.model.params.DictTypeParam;
import cn.stylefeng.guns.modular.system.service.DictTypeService; import cn.stylefeng.guns.base.modular.system.service.DictTypeService;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ResponseData; import cn.stylefeng.roses.core.reqres.response.ResponseData;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.stylefeng.guns.config.properties.GunsProperties; import cn.stylefeng.guns.base.config.properties.GunsProperties;
import cn.stylefeng.roses.core.util.FileUtil; import cn.stylefeng.roses.core.util.FileUtil;
import com.google.code.kaptcha.Constants; import com.google.code.kaptcha.Constants;
import com.google.code.kaptcha.Producer; import com.google.code.kaptcha.Producer;
......
...@@ -13,17 +13,17 @@ ...@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.shiro.annotion.Permission; import cn.stylefeng.guns.base.modular.system.entity.OperationLog;
import cn.stylefeng.guns.core.constant.Const; import cn.stylefeng.guns.base.core.shiro.annotion.Permission;
import cn.stylefeng.guns.core.constant.state.BizLogType; import cn.stylefeng.guns.base.core.constant.Const;
import cn.stylefeng.guns.core.pojo.page.LayuiPageFactory; import cn.stylefeng.guns.base.core.constant.state.BizLogType;
import cn.stylefeng.guns.modular.system.entity.OperationLog; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.modular.system.service.OperationLogService; import cn.stylefeng.guns.base.modular.system.service.OperationLogService;
import cn.stylefeng.guns.modular.system.warpper.LogWrapper; import cn.stylefeng.guns.base.modular.system.warpper.LogWrapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.toolkit.SqlRunner; import com.baomidou.mybatisplus.extension.toolkit.SqlRunner;
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.stylefeng.guns.core.pojo.node.MenuNode; import cn.stylefeng.guns.base.core.log.LogManager;
import cn.stylefeng.guns.core.log.LogManager; import cn.stylefeng.guns.base.core.pojo.node.MenuNode;
import cn.stylefeng.guns.core.log.factory.LogTaskFactory; import cn.stylefeng.guns.base.core.log.factory.LogTaskFactory;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.modular.system.service.UserService; import cn.stylefeng.guns.base.modular.system.service.UserService;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import org.apache.shiro.authc.UsernamePasswordToken; import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject; import org.apache.shiro.subject.Subject;
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.shiro.annotion.Permission; import cn.stylefeng.guns.base.modular.system.service.LoginLogService;
import cn.stylefeng.guns.core.constant.Const; import cn.stylefeng.guns.base.core.shiro.annotion.Permission;
import cn.stylefeng.guns.core.pojo.page.LayuiPageFactory; import cn.stylefeng.guns.base.core.constant.Const;
import cn.stylefeng.guns.modular.system.service.LoginLogService; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.modular.system.warpper.LogWrapper; import cn.stylefeng.guns.base.modular.system.warpper.LogWrapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.toolkit.SqlRunner; import com.baomidou.mybatisplus.extension.toolkit.SqlRunner;
......
...@@ -13,25 +13,25 @@ ...@@ -13,25 +13,25 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.shiro.annotion.Permission; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.guns.core.constant.Const; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.core.constant.dictmap.DeleteDict; import cn.stylefeng.guns.base.modular.system.entity.Menu;
import cn.stylefeng.guns.core.constant.dictmap.MenuDict; import cn.stylefeng.guns.base.modular.system.service.MenuService;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.core.shiro.annotion.Permission;
import cn.stylefeng.guns.core.pojo.node.ZTreeNode; import cn.stylefeng.guns.base.core.constant.Const;
import cn.stylefeng.guns.core.pojo.page.LayuiPageFactory; import cn.stylefeng.guns.base.core.constant.dictmap.DeleteDict;
import cn.stylefeng.guns.core.pojo.page.LayuiPageInfo; import cn.stylefeng.guns.base.core.constant.dictmap.MenuDict;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.pojo.node.ZTreeNode;
import cn.stylefeng.guns.modular.system.entity.Menu; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.modular.system.model.MenuDto; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.system.service.MenuService; import cn.stylefeng.guns.base.modular.system.model.MenuDto;
import cn.stylefeng.guns.modular.system.service.UserService; import cn.stylefeng.guns.base.modular.system.service.UserService;
import cn.stylefeng.guns.modular.system.warpper.MenuWrapper; import cn.stylefeng.guns.base.modular.system.warpper.MenuWrapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ResponseData; import cn.stylefeng.roses.core.reqres.response.ResponseData;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
......
...@@ -13,20 +13,20 @@ ...@@ -13,20 +13,20 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.constant.dictmap.NoticeMap;
import cn.stylefeng.guns.core.constant.dictmap.DeleteDict; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.constant.dictmap.NoticeMap; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.modular.system.entity.Notice;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.pojo.page.LayuiPageFactory; import cn.stylefeng.guns.base.core.constant.dictmap.DeleteDict;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.modular.system.entity.Notice; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.modular.system.service.NoticeService; import cn.stylefeng.guns.base.modular.system.service.NoticeService;
import cn.stylefeng.guns.modular.system.warpper.NoticeWrapper; import cn.stylefeng.guns.base.modular.system.warpper.NoticeWrapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
import cn.stylefeng.roses.kernel.model.exception.ServiceException; import cn.stylefeng.roses.kernel.model.exception.ServiceException;
......
...@@ -13,25 +13,25 @@ ...@@ -13,25 +13,25 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.shiro.annotion.Permission; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.guns.core.constant.Const; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.core.constant.dictmap.DeleteDict; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.constant.dictmap.RoleDict; import cn.stylefeng.guns.base.modular.system.entity.Role;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.modular.system.entity.User;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.modular.system.service.RoleService;
import cn.stylefeng.guns.core.pojo.node.ZTreeNode; import cn.stylefeng.guns.base.core.shiro.annotion.Permission;
import cn.stylefeng.guns.core.pojo.page.LayuiPageFactory; import cn.stylefeng.guns.base.core.constant.Const;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.constant.dictmap.DeleteDict;
import cn.stylefeng.guns.modular.system.entity.Role; import cn.stylefeng.guns.base.core.constant.dictmap.RoleDict;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.core.pojo.node.ZTreeNode;
import cn.stylefeng.guns.modular.system.model.RoleDto; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.modular.system.service.RoleService; import cn.stylefeng.guns.base.modular.system.model.RoleDto;
import cn.stylefeng.guns.modular.system.service.UserService; import cn.stylefeng.guns.base.modular.system.service.UserService;
import cn.stylefeng.guns.modular.system.warpper.RoleWrapper; import cn.stylefeng.guns.base.modular.system.warpper.RoleWrapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ResponseData; import cn.stylefeng.roses.core.reqres.response.ResponseData;
import cn.stylefeng.roses.core.util.ToolUtil; import cn.stylefeng.roses.core.util.ToolUtil;
......
...@@ -13,19 +13,19 @@ ...@@ -13,19 +13,19 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.stylefeng.guns.config.properties.GunsProperties; import cn.stylefeng.guns.base.config.properties.GunsProperties;
import cn.stylefeng.guns.core.constant.factory.ConstantFactory; import cn.stylefeng.guns.base.core.constant.factory.ConstantFactory;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.modular.system.entity.Notice;
import cn.stylefeng.guns.core.shiro.ShiroUser; import cn.stylefeng.guns.base.modular.system.entity.User;
import cn.stylefeng.guns.modular.system.entity.Notice; import cn.stylefeng.guns.base.modular.system.service.FileInfoService;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.modular.system.service.FileInfoService; import cn.stylefeng.guns.base.core.shiro.ShiroUser;
import cn.stylefeng.guns.modular.system.service.NoticeService; import cn.stylefeng.guns.base.modular.system.service.NoticeService;
import cn.stylefeng.guns.modular.system.service.UserService; import cn.stylefeng.guns.base.modular.system.service.UserService;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ResponseData; import cn.stylefeng.roses.core.reqres.response.ResponseData;
import cn.stylefeng.roses.core.reqres.response.SuccessResponseData; import cn.stylefeng.roses.core.reqres.response.SuccessResponseData;
......
...@@ -13,22 +13,22 @@ ...@@ -13,22 +13,22 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package cn.stylefeng.guns.modular.system.controller; package cn.stylefeng.guns.base.modular.system.controller;
import cn.stylefeng.guns.config.properties.GunsProperties; import cn.stylefeng.guns.base.config.properties.GunsProperties;
import cn.stylefeng.guns.core.log.annotion.BussinessLog; import cn.stylefeng.guns.base.core.exception.enums.BizExceptionEnum;
import cn.stylefeng.guns.core.shiro.annotion.Permission; import cn.stylefeng.guns.base.modular.system.entity.User;
import cn.stylefeng.guns.core.constant.Const; import cn.stylefeng.guns.base.core.log.annotion.BussinessLog;
import cn.stylefeng.guns.core.constant.dictmap.UserDict; import cn.stylefeng.guns.base.core.shiro.annotion.Permission;
import cn.stylefeng.guns.core.constant.state.ManagerStatus; import cn.stylefeng.guns.base.core.constant.Const;
import cn.stylefeng.guns.core.exception.enums.BizExceptionEnum; import cn.stylefeng.guns.base.core.constant.dictmap.UserDict;
import cn.stylefeng.guns.core.pojo.page.LayuiPageFactory; import cn.stylefeng.guns.base.core.constant.state.ManagerStatus;
import cn.stylefeng.guns.core.log.LogObjectHolder; import cn.stylefeng.guns.base.core.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.core.shiro.ShiroKit; import cn.stylefeng.guns.base.core.log.LogObjectHolder;
import cn.stylefeng.guns.modular.system.entity.User; import cn.stylefeng.guns.base.core.shiro.ShiroKit;
import cn.stylefeng.guns.modular.system.model.UserDto; import cn.stylefeng.guns.base.modular.system.model.UserDto;
import cn.stylefeng.guns.modular.system.service.UserService; import cn.stylefeng.guns.base.modular.system.service.UserService;
import cn.stylefeng.guns.modular.system.warpper.UserWrapper; import cn.stylefeng.guns.base.modular.system.warpper.UserWrapper;
import cn.stylefeng.roses.core.base.controller.BaseController; import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.datascope.DataScope; import cn.stylefeng.roses.core.datascope.DataScope;
import cn.stylefeng.roses.core.reqres.response.ResponseData; import cn.stylefeng.roses.core.reqres.response.ResponseData;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
......
package cn.stylefeng.guns.modular.system.entity; package cn.stylefeng.guns.base.modular.system.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment