This commit is contained in:
parent
5c91720431
commit
fd041da9f7
|
|
@ -0,0 +1,45 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="bonus-common-log" />
|
||||
<module name="HnRealNameMw" />
|
||||
<module name="ldlz-common" />
|
||||
<module name="bonus-common-datascope" />
|
||||
<module name="bonus-common-sensitive" />
|
||||
<module name="bonus-common-security" />
|
||||
<module name="ldlz-quartz" />
|
||||
<module name="bonus-gateway" />
|
||||
<module name="hn_czl_screen" />
|
||||
<module name="bonus-common-core" />
|
||||
<module name="HnRealNameBmw" />
|
||||
<module name="ldlz-framework" />
|
||||
<module name="bonus-common-redis" />
|
||||
<module name="ldlz-admin" />
|
||||
<module name="bonus-common-datasource" />
|
||||
<module name="ldlz-system" />
|
||||
<module name="bonus-common-config" />
|
||||
<module name="ldlz-generator" />
|
||||
<module name="hn-czl-service" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
<bytecodeTargetLevel>
|
||||
<module name="bonus-api" target="1.8" />
|
||||
<module name="bonus-api-system" target="1.8" />
|
||||
<module name="hn-ldlz" target="1.8" />
|
||||
<module name="hn_cloud_service" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="HnRealNameBmw" options="-parameters" />
|
||||
<module name="HnRealNameMw" options="-parameters" />
|
||||
<module name="hn-czl-service" options="-parameters" />
|
||||
<module name="hn_czl_screen" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/HnRealNameBmw/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/HnRealNameBmw/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/HnRealNameMw/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/HnRealNameMw/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-czl-service/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-czl-service/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-api/bonus-api-system/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-api/bonus-api-system/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-api/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-api/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-config/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-config/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-core/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-core/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-datascope/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-datascope/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-datasource/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-datasource/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-log/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-log/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-redis/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-redis/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-security/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-security/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-sensitive/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/bonus-common-sensitive/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-gateway/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/bonus-gateway/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-gateway/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-framework/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-framework/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-generator/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-generator/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-quartz/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-quartz/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-system/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/ldlz-system/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn-ldlz/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn_czl_screen/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hn_czl_screen/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="public" />
|
||||
<option name="name" value="aliyun nexus" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="osgeo-snapshot" />
|
||||
<option name="name" value="OSGeo Snapshot Repository" />
|
||||
<option name="url" value="https://repo.osgeo.org/repository/snapshot/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="osgeo" />
|
||||
<option name="name" value="OSGeo Release Repository" />
|
||||
<option name="url" value="https://repo.osgeo.org/repository/release/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/hn_ldlz/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/hn-gateway/bonus-gateway/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/hn-gateway/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/hn-ldlz/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/hn-czl-service/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/HnRealNameMw/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/HnRealNameBmw/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/hn_czl_screen/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="ignoredFiles">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$/hn-gateway/bonus-api/pom.xml" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
</project>
|
||||
|
|
@ -1,824 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<module version="4" relativePaths="false" type="JAVA_MODULE">
|
||||
<component name="NewModuleRootManager">
|
||||
<exclude-output/>
|
||||
<orderEntry type="inheritedJdk"/>
|
||||
<!-- output url="file://$$MODULE_DIR$$/${maven.build.dest}"/ -->
|
||||
<!-- output-test url="file://$$MODULE_DIR$$/${maven.test.dest}"/ -->
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<!-- sourceFolder url="file://$$MODULE_DIR$$/${pom.build.sourceDirectory}" isTestSource="false"/ -->
|
||||
<!-- sourceFolder url="file://$$MODULE_DIR$$/${pom.build.testSourceDirectory}" isTestSource="true"/ -->
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false"/>
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false"/>
|
||||
<excludeFolder url="file://$MODULE_DIR$/target"/>
|
||||
</content>
|
||||
<orderEntry type="sourceFolder" forTests="false"/>
|
||||
<!-- Next include each dependency:
|
||||
<orderEntry type="module" module-name="${dep.artifactId}"/>
|
||||
<orderEntry type="module-library">
|
||||
<library name="${dep.artifactId}">
|
||||
<CLASSES>
|
||||
<root url="jar://${lib.path}!/"/>
|
||||
</CLASSES>
|
||||
<JAVADOC/>
|
||||
<SOURCES/>
|
||||
</library>
|
||||
</orderEntry>
|
||||
-->
|
||||
<output url="file://$MODULE_DIR$/target/classes"/>
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes"/>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-starter-bootstrap/3.0.3/spring-cloud-starter-bootstrap-3.0.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-starter/2.1.1.RELEASE/spring-cloud-starter-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter/2.1.1.RELEASE/spring-boot-starter-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot/2.1.1.RELEASE/spring-boot-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-core/5.1.3.RELEASE/spring-core-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-jcl/5.1.3.RELEASE/spring-jcl-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-context/5.1.3.RELEASE/spring-context-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-aop/5.1.3.RELEASE/spring-aop-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-beans/5.1.3.RELEASE/spring-beans-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-expression/5.1.3.RELEASE/spring-expression-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-autoconfigure/2.1.1.RELEASE/spring-boot-autoconfigure-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter-logging/2.1.1.RELEASE/spring-boot-starter-logging-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/logging/log4j/log4j-to-slf4j/2.11.1/log4j-to-slf4j-2.11.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-context/2.1.1.RELEASE/spring-cloud-context-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/security/spring-security-crypto/5.1.2.RELEASE/spring-security-crypto-5.1.2.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-commons/2.1.1.RELEASE/spring-cloud-commons-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/security/spring-security-rsa/1.0.7.RELEASE/spring-security-rsa-1.0.7.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/bouncycastle/bcpkix-jdk15on/1.60/bcpkix-jdk15on-1.60.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="bonus-common-core"/>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-starter-openfeign/2.1.1.RELEASE/spring-cloud-starter-openfeign-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-openfeign-core/2.1.1.RELEASE/spring-cloud-openfeign-core-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-netflix-ribbon/2.1.1.RELEASE/spring-cloud-netflix-ribbon-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-netflix-archaius/2.1.1.RELEASE/spring-cloud-netflix-archaius-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter-aop/2.1.1.RELEASE/spring-boot-starter-aop-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/aspectj/aspectjweaver/1.9.2/aspectjweaver-1.9.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/github/openfeign/form/feign-form-spring/3.5.0/feign-form-spring-3.5.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/github/openfeign/form/feign-form/3.5.0/feign-form-3.5.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-web/5.1.3.RELEASE/spring-web-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/commons-io/commons-io/2.13.0/commons-io-2.13.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/github/openfeign/feign-core/10.1.0/feign-core-10.1.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/github/openfeign/feign-slf4j/10.1.0/feign-slf4j-10.1.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/github/openfeign/feign-hystrix/10.1.0/feign-hystrix-10.1.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/netflix/archaius/archaius-core/0.7.6/archaius-core-0.7.6.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/commons-configuration/commons-configuration/1.8/commons-configuration-1.8.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/commons-lang/commons-lang/2.6/commons-lang-2.6.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/google/guava/guava/19.0/guava-19.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/fasterxml/jackson/core/jackson-core/2.9.7/jackson-core-2.9.7.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/fasterxml/jackson/core/jackson-databind/2.9.7/jackson-databind-2.9.7.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/netflix/hystrix/hystrix-core/1.5.18/hystrix-core-1.5.18.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/reactivex/rxjava/1.2.0/rxjava-1.2.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/hdrhistogram/HdrHistogram/2.1.9/HdrHistogram-2.1.9.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/freemarker/freemarker/2.3.28/freemarker-2.3.28.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-starter-loadbalancer/2.2.0.RELEASE/spring-cloud-starter-loadbalancer-2.2.0.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-loadbalancer/2.1.1.RELEASE/spring-cloud-loadbalancer-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/projectreactor/reactor-core/3.2.3.RELEASE/reactor-core-3.2.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/projectreactor/addons/reactor-extra/3.2.0.RELEASE/reactor-extra-3.2.0.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter-cache/2.1.1.RELEASE/spring-boot-starter-cache-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-context-support/5.1.3.RELEASE/spring-context-support-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/stoyanr/evictor/1.0.0/evictor-1.0.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/alibaba/transmittable-thread-local/2.14.4/transmittable-thread-local-2.14.4.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/github/pagehelper/pagehelper-spring-boot-starter/2.0.0/pagehelper-spring-boot-starter-2.0.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/mybatis/spring/boot/mybatis-spring-boot-starter/2.3.1/mybatis-spring-boot-starter-2.3.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter-jdbc/2.1.1.RELEASE/spring-boot-starter-jdbc-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/zaxxer/HikariCP/3.2.0/HikariCP-3.2.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-jdbc/5.1.3.RELEASE/spring-jdbc-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-tx/5.1.3.RELEASE/spring-tx-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/2.3.1/mybatis-spring-boot-autoconfigure-2.3.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/mybatis/mybatis/3.5.13/mybatis-3.5.13.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/mybatis/mybatis-spring/2.1.1/mybatis-spring-2.1.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/github/pagehelper/pagehelper-spring-boot-autoconfigure/2.0.0/pagehelper-spring-boot-autoconfigure-2.0.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/github/pagehelper/pagehelper/6.0.0/pagehelper-6.0.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/github/jsqlparser/jsqlparser/4.5/jsqlparser-4.5.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter-validation/2.1.1.RELEASE/spring-boot-starter-validation-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/tomcat/embed/tomcat-embed-el/9.0.13/tomcat-embed-el-9.0.13.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/hibernate/validator/hibernate-validator/6.0.13.Final/hibernate-validator-6.0.13.Final.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/fasterxml/classmate/1.4.0/classmate-1.4.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/alibaba/fastjson2/fastjson2/2.0.43/fastjson2-2.0.43.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/jsonwebtoken/jjwt/0.9.1/jjwt-0.9.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/cn/hutool/hutool-all/5.8.22/hutool-all-5.8.22.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/poi/poi-ooxml/4.1.2/poi-ooxml-4.1.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/poi/poi/4.1.2/poi-4.1.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/commons-codec/commons-codec/1.11/commons-codec-1.11.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/poi/poi-ooxml-schemas/4.1.2/poi-ooxml-schemas-4.1.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/xmlbeans/xmlbeans/3.1.0/xmlbeans-3.1.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/commons/commons-compress/1.19/commons-compress-1.19.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/swagger/swagger-annotations/1.6.2/swagger-annotations-1.6.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/projectlombok/lombok/1.18.4/lombok-1.18.4.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/alibaba/nacos/nacos-client/1.1.1/nacos-client-1.1.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/alibaba/nacos/nacos-common/1.1.1/nacos-common-1.1.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/alibaba/nacos/nacos-api/1.1.1/nacos-api-1.1.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/alibaba/fastjson/1.2.47/fastjson-1.2.47.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/io/prometheus/simpleclient/0.5.0/simpleclient-0.5.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/jfree/jfreechart/1.5.3/jfreechart-1.5.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/itextpdf/itextpdf/5.5.9/itextpdf-5.5.9.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/itextpdf/itext-asian/5.2.0/itext-asian-5.2.0.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
<component name="ModuleRootManager"/>
|
||||
<!-- If it's a war project:
|
||||
<component name="WebModuleProperties">
|
||||
<containerElement type="module" name="${dep.artifactId}">
|
||||
<attribute name="method" value="1" />
|
||||
<attribute name="URI" value="/WEB-INF/classes" />
|
||||
</containerElement>
|
||||
<containerElement type="library" level="module" name="${dep.artifactId}">
|
||||
<attribute name="method" value="1" />
|
||||
<attribute name="URI" value="/WEB-INF/lib/${dep.systemPath.name}" />
|
||||
</containerElement>
|
||||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/${pom.build.warSourceDirectory}/WEB-INF/web.xml" version="" />
|
||||
<webroots>
|
||||
<root url="file://$MODULE_DIR$/${pom.build.warSourceDirectory}" relative="/" />
|
||||
</webroots>
|
||||
</component>
|
||||
-->
|
||||
</module>
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.bonus</groupId>
|
||||
<artifactId>bonus-api</artifactId>
|
||||
<version>24.12.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>bonus-api-system</artifactId>
|
||||
|
||||
<description>
|
||||
bonus-api-system系统接口模块
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- bonus Common Core-->
|
||||
<dependency>
|
||||
<groupId>com.bonus</groupId>
|
||||
<artifactId>bonus-common-core</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.projectlombok</groupId>-->
|
||||
<!-- <artifactId>lombok</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
</dependencies>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>bns-releases</id>
|
||||
<url>http://192.168.0.56:8081/repository/maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>bns-snapshots</id>
|
||||
<url>http://192.168.0.56:8081/repository/maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
</project>
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysConfig;
|
||||
import com.bonus.system.api.factory.RemoteConfigFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteConfigService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteConfigFallbackFactory.class)
|
||||
public interface RemoteConfigService {
|
||||
/**
|
||||
* 根据条件获取参数配置列表
|
||||
*
|
||||
* @param config 参数的查询条件,如参数名称,参数键名,参数类型(系统内置 Y or N),检索开始时间和结束时间
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 获取分页参数配置信息
|
||||
*/
|
||||
@PostMapping(value = "/config/list")
|
||||
public TableDataInfo list(SysConfig config, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据参数编号获取详细信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @param configId 参数编号(数据库表主键id 如1,2...)
|
||||
* @return 获取参数信息
|
||||
*/
|
||||
@GetMapping(value = "/config/{configId}")
|
||||
public AjaxResult getInfo(@PathVariable("configId") Long configId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据参数键名查询参数值
|
||||
*
|
||||
* @param configKey 参数键名
|
||||
* @return 获取参数信息
|
||||
*/
|
||||
@GetMapping(value = "/config/configKey/{configKey}")
|
||||
public AjaxResult getConfigKey(@PathVariable("configKey") String configKey);
|
||||
|
||||
/**
|
||||
* 新增参数配置
|
||||
*
|
||||
* @param config 参数属性
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 新增成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping(value = "/config")
|
||||
public AjaxResult add(@Validated @RequestBody SysConfig config, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改参数配置
|
||||
* @param config 参数属性
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping(value = "/config/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysConfig config, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 删除参数配置
|
||||
* @param configIds 参数编号
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 成功或出错信息
|
||||
*/
|
||||
@PostMapping("/delete/{configIds}")
|
||||
public AjaxResult remove(@PathVariable("configIds") Long[] configIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.system.api.domain.SysDept;
|
||||
import com.bonus.system.api.factory.RemoteDeptFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteDeptService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteDeptFallbackFactory.class)
|
||||
public interface RemoteDeptService {
|
||||
/**
|
||||
* 根据部门id或上级部门id或部门名或状态(正常或停用)获取当前登录用户数据权限范围内的部门信息
|
||||
*
|
||||
* @param dept 部门的查询条件
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 满足条件的部门信息
|
||||
*/
|
||||
@GetMapping("/dept/list")
|
||||
public AjaxResult list(SysDept dept, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据部门编号获取详细信息
|
||||
* @param deptId 部门编号
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 部门信息
|
||||
*/
|
||||
@GetMapping("/dept/{deptId}")
|
||||
public AjaxResult getInfo(@PathVariable("deptId") Long deptId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增部门
|
||||
* @param dept 部门信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 新增成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping("/dept")
|
||||
public AjaxResult add(@Validated @RequestBody SysDept dept, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改部门
|
||||
* @param dept 部门信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping("/dept/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysDept dept, @RequestHeader(SecurityConstants.FROM_SOURCE)String source);
|
||||
|
||||
/**
|
||||
* 删除部门
|
||||
* @param deptId 部门编号
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 成功或出错信息
|
||||
*/
|
||||
@PostMapping("/dept/delete/{deptId}")
|
||||
public AjaxResult remove(@PathVariable("deptId") Long deptId, @RequestHeader(SecurityConstants.FROM_SOURCE)String source);
|
||||
}
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysDictData;
|
||||
import com.bonus.system.api.factory.RemoteDictDataFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteDictDataService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteDictDataFallbackFactory.class)
|
||||
public interface RemoteDictDataService {
|
||||
|
||||
/**
|
||||
* 根据字典标签或字典类型或状态查询字典数据列表
|
||||
* @param dictData 字典数据的查询条件
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 满足结果的字典数据
|
||||
*/
|
||||
@GetMapping("/dict/data/list")
|
||||
public TableDataInfo list(SysDictData dictData, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据字典编码 查询字典数据详细
|
||||
* @param dictCode 字典数据编码
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 字典数据
|
||||
*/
|
||||
@GetMapping(value = "/dict/data/{dictCode}")
|
||||
public AjaxResult getInfo(@PathVariable("dictCode") Long dictCode, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据字典类型查询正常状态的字典数据信息
|
||||
* @param dictType 字典类型
|
||||
* @return 字典数据
|
||||
*/
|
||||
@GetMapping(value = "/dict/data/type/{dictType}")
|
||||
public AjaxResult dictType(@PathVariable("dictType") String dictType, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增字典数据
|
||||
* @param dict 新增字典数据
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 新增成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping(value = "/dict/data")
|
||||
public AjaxResult add(@Validated @RequestBody SysDictData dict, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改字典数据
|
||||
* @param dict 修改的字典数据
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping(value = "/dict/data/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysDictData dict, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 删除字典数据
|
||||
* @param dictCodes 待删除的字典数据编码
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 成功或出错信息
|
||||
*/
|
||||
@PostMapping("/dict/data/delete/{dictCodes}")
|
||||
public AjaxResult remove(@PathVariable("dictCodes") Long[] dictCodes, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysDictType;
|
||||
import com.bonus.system.api.factory.RemoteDictTypeFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteDictTypeService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteDictTypeFallbackFactory.class)
|
||||
public interface RemoteDictTypeService {
|
||||
|
||||
/**
|
||||
* 根据字典标签或字典类型或状态查询字典数据列表
|
||||
* @param dictType 字典类型的查询条件,如字典名称,字典类型或状态(启用或停用),创建时间范围
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 满足条件的字典类型列表分页信息
|
||||
*/
|
||||
@GetMapping("/dict/type/list")
|
||||
public TableDataInfo list(SysDictType dictType, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据字典类型id 查询字典类型详细
|
||||
* @param dictId 字典类型id
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 字典类型详细
|
||||
*/
|
||||
@GetMapping(value = "/dict/type/{dictId}")
|
||||
public AjaxResult getInfo(@PathVariable("dictId") Long dictId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增字典类型
|
||||
* @param dict 新增的字典类型
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 新增成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping(value = "/dict/type")
|
||||
public AjaxResult add(@Validated @RequestBody SysDictType dict, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改字典类型
|
||||
* @param dict 修改的字典类型
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping(value = "/dict/type/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysDictType dict, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 删除字典类型
|
||||
* @param dictIds 字段类型id列表
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 成功或出错信息
|
||||
*/
|
||||
@PostMapping("/dict/type/delete/{dictIds}")
|
||||
public AjaxResult remove(@PathVariable("dictIds") Long[] dictIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 获取所有字典类型
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 成功或出错信息
|
||||
*/
|
||||
@GetMapping("/dict/type/optionselect")
|
||||
public AjaxResult optionselect(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RequestPart;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.domain.R;
|
||||
import com.bonus.system.api.domain.SysFile;
|
||||
import com.bonus.system.api.factory.RemoteFileFallbackFactory;
|
||||
|
||||
/**
|
||||
* 文件服务
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@FeignClient(contextId = "remoteFileService", value = ServiceNameConstants.FILE_SERVICE, fallbackFactory = RemoteFileFallbackFactory.class)
|
||||
public interface RemoteFileService
|
||||
{
|
||||
/**
|
||||
* 上传文件
|
||||
* @param file 文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
@PostMapping(value = "/upload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
public AjaxResult upload(@RequestPart(value = "file") MultipartFile file);
|
||||
|
||||
/**
|
||||
* 多文件上传
|
||||
* @param files 多个文件流
|
||||
* @return 文件信息
|
||||
*/
|
||||
@PostMapping(value = "/uploadFiles", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
public AjaxResult uploadFile(@RequestPart(value = "files") MultipartFile[] files);
|
||||
|
||||
/**
|
||||
* 文件删除
|
||||
* 从各个存储平台删除文件
|
||||
* @param objectKey * @param objectKey,除mongodb 存fileid之外,其他均存上传文件的网络路径
|
||||
* @return 成功或失败信息
|
||||
*/
|
||||
@PostMapping("/deleteFile")
|
||||
public AjaxResult deleteFile(@RequestParam("objectKey") String objectKey);
|
||||
}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.system.api.domain.SysLogsVo;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestHeader;
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.domain.R;
|
||||
import com.bonus.system.api.domain.SysLogininfor;
|
||||
import com.bonus.system.api.domain.SysOperLog;
|
||||
import com.bonus.system.api.factory.RemoteLogFallbackFactory;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 日志服务
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@FeignClient(contextId = "remoteLogService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteLogFallbackFactory.class)
|
||||
public interface RemoteLogService
|
||||
{
|
||||
/**
|
||||
* 保存系统日志
|
||||
*
|
||||
* @param sysOperLog 日志实体
|
||||
* @param source 请求来源
|
||||
* @throws Exception 异常
|
||||
* @return 结果
|
||||
*/
|
||||
// @PostMapping("/operlog")
|
||||
// public R<Boolean> saveLog(@RequestBody SysOperLog sysOperLog, @RequestHeader(SecurityConstants.FROM_SOURCE) String source) throws Exception;
|
||||
//
|
||||
|
||||
/**
|
||||
* 保存日志
|
||||
*
|
||||
* @param sysLogsVo 日志实体
|
||||
* @param source 请求来源
|
||||
* @throws Exception 异常
|
||||
* @return 结果
|
||||
*/
|
||||
@PostMapping("/operlog/addLogs")
|
||||
public R<Boolean> addLogs(@RequestBody SysLogsVo sysLogsVo, @RequestHeader(SecurityConstants.FROM_SOURCE) String source) throws Exception;
|
||||
|
||||
/**
|
||||
* 获取菜单信息
|
||||
* @param sysLogsVo
|
||||
* @param source
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@PostMapping("/operlog/getLogsModule")
|
||||
public Map<String,String> getLogsModule(@RequestBody SysLogsVo sysLogsVo, @RequestHeader(SecurityConstants.FROM_SOURCE) String source) throws Exception;
|
||||
/**
|
||||
* 保存登录日志
|
||||
*
|
||||
* @param sysLogininfor 访问实体
|
||||
* @param source 请求来源
|
||||
* @return 结果
|
||||
*/
|
||||
@PostMapping("/logininfor")
|
||||
public R<Boolean> saveLogininfor(@RequestBody SysLogininfor sysLogininfor, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.system.api.domain.SysMenu;
|
||||
import com.bonus.system.api.factory.RemoteMenuFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteMenuService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteMenuFallbackFactory.class)
|
||||
public interface RemoteMenuService {
|
||||
|
||||
/**
|
||||
* 根据菜单名或状态(显示或隐藏)或状态(正常或停用)获取菜单列表
|
||||
* @param menu 菜单的查询条件,如菜单名或状态(显示或隐藏)或状态(正常或停用)
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 满足要求的菜单列表
|
||||
*/
|
||||
@GetMapping("/menu/list")
|
||||
public AjaxResult list(SysMenu menu, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据菜单编号获取详细信息
|
||||
* @param menuId 菜单id列表
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 菜单详情
|
||||
*
|
||||
*/
|
||||
@GetMapping(value = "/menu/{menuId}")
|
||||
public AjaxResult getInfo(@PathVariable("menuId") Long menuId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据菜单的查询条件,如菜单名或状态(显示或隐藏)或状态(正常或停用),获取菜单下拉树列表
|
||||
* @param menu 菜单的查询条件,如菜单名或状态(显示或隐藏)或状态(正常或停用)
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 菜单下拉树列表
|
||||
*/
|
||||
@GetMapping("/menu/treeselect")
|
||||
public AjaxResult treeselect(SysMenu menu, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 加载对应角色菜单列表树
|
||||
* @param roleId 角色id
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 结果
|
||||
*/
|
||||
@GetMapping(value = "/menu/roleMenuTreeselect/{roleId}")
|
||||
public AjaxResult roleMenuTreeselect(@PathVariable("roleId") Long roleId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增菜单
|
||||
* @param menu 新增的菜单信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 新增成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping("/menu")
|
||||
public AjaxResult add(@Validated @RequestBody SysMenu menu, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改菜单
|
||||
* @param menu 修改的菜单信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改成功影响的行数或错误码和错误消息
|
||||
*/
|
||||
@PostMapping("/menu/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysMenu menu, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 查询当前登录用户的菜单树信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 当前登录用户的菜单树信息
|
||||
*/
|
||||
@GetMapping("/menu/getRouters")
|
||||
public AjaxResult getRouters(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysNotice;
|
||||
import com.bonus.system.api.factory.RemoteNoticeFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteNoticeService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteNoticeFallbackFactory.class)
|
||||
public interface RemoteNoticeService {
|
||||
/**
|
||||
* 根据公告标题或类型或创建人获取通知公告列表
|
||||
* @param notice 公告标题或类型(1通知,2公告)或创建人信息
|
||||
* @param source 内部请求的请求头标志,使用SecurityConstants.INNER
|
||||
* @return 公告列表或错误信息
|
||||
*/
|
||||
@GetMapping("/notice/list")
|
||||
public TableDataInfo list(SysNotice notice, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据通知公告编号获取详细信息
|
||||
* @param noticeId 公告编号
|
||||
* @param source 内部请求的请求头标志,使用SecurityConstants.INNER
|
||||
* @return 公告列表或错误信息
|
||||
*/
|
||||
@GetMapping(value = "/notice/{noticeId}")
|
||||
public AjaxResult getInfo(@PathVariable("noticeId") Long noticeId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增通知公告
|
||||
* @param notice 新增的通知公告
|
||||
* @param source 内部请求的请求头标志,使用SecurityConstants.INNER
|
||||
* @return 新增公告影响行数或错误信息
|
||||
*/
|
||||
@PostMapping(value = "/notice")
|
||||
public AjaxResult add(@Validated @RequestBody SysNotice notice, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改通知公告
|
||||
* @param notice 修改的通知公告
|
||||
* @param source 内部请求的请求头标志,使用SecurityConstants.INNER
|
||||
* @return 修改公告影响行数或错误信息
|
||||
*/
|
||||
@PostMapping(value = "/notice/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysNotice notice, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 删除通知公告
|
||||
* @param noticeIds 删除的通知id
|
||||
* @param source 内部请求的请求头标志,使用SecurityConstants.INNER
|
||||
* @return 删除公告影响行数或错误信息
|
||||
*/
|
||||
@PostMapping("/notice/delete/{noticeIds}")
|
||||
public AjaxResult remove(@PathVariable("noticeIds") Long[] noticeIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysPost;
|
||||
import com.bonus.system.api.factory.RemotePostFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remotePostService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemotePostFallbackFactory.class)
|
||||
public interface RemotePostService {
|
||||
/**
|
||||
* 获取岗位列表
|
||||
* @param post 岗位条件,如岗位编号,岗位名称和状态(0正常,1停用)
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 岗位列表
|
||||
*/
|
||||
@GetMapping("/post/list")
|
||||
public TableDataInfo list(SysPost post, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据岗位id获取详细信息
|
||||
* @param postId 岗位id
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 岗位信息或错误信息
|
||||
*/
|
||||
@GetMapping(value = "/post/{postId}")
|
||||
public AjaxResult getInfo(@PathVariable("postId") Long postId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增岗位
|
||||
* @param post 新增的岗位信息
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 新增岗位影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/post")
|
||||
public AjaxResult add(@Validated @RequestBody SysPost post, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改岗位
|
||||
* @param post 修改的岗位信息
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 修改岗位影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/post/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysPost post, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 删除岗位
|
||||
* @param postIds 删除的岗位id列表
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 删除岗位影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/post/delete/{postIds}")
|
||||
public AjaxResult remove(@PathVariable("postIds") Long[] postIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
|
||||
/**
|
||||
* 获取所有岗位列表
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 所有岗位列表
|
||||
*/
|
||||
@GetMapping("/optionselect")
|
||||
public AjaxResult optionselect(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.system.api.domain.SysUser;
|
||||
import com.bonus.system.api.factory.RemoteRoleFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteProfileService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteRoleFallbackFactory.class)
|
||||
public interface RemoteProfileService {
|
||||
/**
|
||||
* 获取当前登录用户个人信息
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 岗位列表
|
||||
*/
|
||||
@GetMapping("/user/profile")
|
||||
public AjaxResult profile(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改当前登录用户的个人信息
|
||||
* @param user 修改后的个人信息,包括昵称,邮箱,手机号码,性别
|
||||
* @param source 内部请求标志,使用SecurityConstants.INNER
|
||||
* @return 岗位列表
|
||||
*/
|
||||
@PostMapping("/user/profile/edit")
|
||||
public AjaxResult updateProfile(@RequestBody SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,146 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysRole;
|
||||
import com.bonus.system.api.domain.SysUser;
|
||||
import com.bonus.system.api.domain.SysUserRole;
|
||||
import com.bonus.system.api.factory.RemoteRoleFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangvivi
|
||||
*/
|
||||
@FeignClient(contextId = "remoteRoleService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteRoleFallbackFactory.class)
|
||||
public interface RemoteRoleService {
|
||||
/**
|
||||
* 获取当前登录用户数据权限范围内的角色列表
|
||||
* @param role 角色信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 角色列表
|
||||
*/
|
||||
@GetMapping("/role/list")
|
||||
public TableDataInfo list(SysRole role, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据角色id获取角色详细信息
|
||||
* @param roleId 角色id
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 角色列表
|
||||
*/
|
||||
@GetMapping(value = "/role/{roleId}")
|
||||
public AjaxResult getInfo(@PathVariable("roleId") Long roleId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增角色
|
||||
* @param role 新增的角色信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 新增角色影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/role")
|
||||
public AjaxResult add(@Validated @RequestBody SysRole role, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改角色
|
||||
* @param role 修改的角色信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改角色影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/role/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysRole role, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改保存数据权限
|
||||
* @param role 修改的角色信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改角色影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/role/dataScope")
|
||||
public AjaxResult dataScope(@RequestBody SysRole role, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 状态修改
|
||||
* @param role 修改的角色信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 修改角色状态影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/role/changeStatus")
|
||||
public AjaxResult changeStatus(@RequestBody SysRole role, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 删除角色
|
||||
* @param roleIds 删除的角色id列表
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 删除角色影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/role/delete/{roleIds}")
|
||||
public AjaxResult remove(@PathVariable("roleIds") Long[] roleIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 获取所有角色
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 删除角色影响的行数或错误信息
|
||||
*/
|
||||
@GetMapping("/role/optionselect")
|
||||
public AjaxResult optionselect(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 查询登录用户数据权限内的已分配用户角色列表
|
||||
* @param user 查询条件
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 角色列表
|
||||
*/
|
||||
@GetMapping("/role/authUser/allocatedList")
|
||||
public TableDataInfo allocatedList(SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 查询登录用户数据权限内的未分配用户角色列表
|
||||
* @param user 查询条件
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 角色列表
|
||||
*/
|
||||
@GetMapping("/role/authUser/unallocatedList")
|
||||
public TableDataInfo unallocatedList(SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 取消授权用户
|
||||
* @param userRole 查询条件
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 取消用户的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/role/authUser/cancel")
|
||||
public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 批量取消授权用户
|
||||
* @param roleId 取消角色id
|
||||
* @param userIds 取消的用户id列表
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 成功或失败消息
|
||||
*/
|
||||
@PostMapping("/role/authUser/cancelAll")
|
||||
public AjaxResult cancelAuthUserAll(@PathVariable("roleId")Long roleId, @PathVariable("userIds")Long[] userIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 批量选择用户授权
|
||||
* @param roleId 授权角色id
|
||||
* @param userIds 授权的用户id列表
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 成功或失败消息
|
||||
*/
|
||||
@PostMapping("/role/authUser/selectAll")
|
||||
public AjaxResult selectAuthUserAll(@PathVariable("roleId")Long roleId, @PathVariable("userIds")Long[] userIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 获取对应角色的部门树列表
|
||||
* @param roleId 角色id
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 部门树列表或错误消息
|
||||
*/
|
||||
@GetMapping(value = "/role/deptTree/{roleId}")
|
||||
public AjaxResult deptTree(@PathVariable("roleId") Long roleId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,191 +0,0 @@
|
|||
package com.bonus.system.api;
|
||||
|
||||
import com.bonus.common.core.constant.SecurityConstants;
|
||||
import com.bonus.common.core.constant.ServiceNameConstants;
|
||||
import com.bonus.common.core.domain.R;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysDept;
|
||||
import com.bonus.system.api.domain.SysUser;
|
||||
import com.bonus.system.api.factory.RemoteUserFallbackFactory;
|
||||
import com.bonus.system.api.model.LoginUser;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* 用户服务
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@FeignClient(contextId = "remoteUserService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteUserFallbackFactory.class)
|
||||
public interface RemoteUserService {
|
||||
|
||||
/**
|
||||
* 根据条件如用户名,手机号码,状态(停用或正常)和创建时间获取当前登录用户数据权限范围内的用户信息
|
||||
*
|
||||
* @param user 角色信息
|
||||
* @param source 请求来源,使用SecurityConstants.INNER
|
||||
* @return 满足条件的用户信息分页信息
|
||||
*/
|
||||
@GetMapping("/user/list}")
|
||||
public TableDataInfo list(SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
|
||||
/**
|
||||
* 通过用户名查询用户信息
|
||||
*
|
||||
* @param username 用户名
|
||||
* @param source 请求来源
|
||||
* @return 结果
|
||||
*/
|
||||
@GetMapping("/user/info/{username}")
|
||||
public R<LoginUser> getUserInfo(@PathVariable("username") String username, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 通过用户名查询用户信息
|
||||
*
|
||||
* @param phone 手机号
|
||||
* @param source 请求来源
|
||||
* @return 结果
|
||||
*/
|
||||
@GetMapping("/user/infoPhoto/{phone}")
|
||||
public R<LoginUser> getUserInfoByPhone(@PathVariable("phone") String phone, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
|
||||
/**
|
||||
* 通过用户名查询用户信息
|
||||
*
|
||||
* @param email 邮箱
|
||||
* @param source 请求来源
|
||||
* @return 结果
|
||||
*/
|
||||
@GetMapping("/user/infoEmail/{email}")
|
||||
public R<LoginUser> getUserInfoByEmail(@PathVariable("email") String email, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 注册用户信息
|
||||
*
|
||||
* @param sysUser 用户信息
|
||||
* @param source 请求来源
|
||||
* @return 结果
|
||||
*/
|
||||
@PostMapping("/user/register")
|
||||
public R<Boolean> registerUserInfo(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 获取当前登录用户权限内的角色和权限集合
|
||||
*
|
||||
* @param source 请求来源
|
||||
* @return 用户信息
|
||||
*/
|
||||
@GetMapping("/user/getInfo")
|
||||
public AjaxResult getInfo(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据用户编号获取详细信息,用户权限内的角色和权限集合
|
||||
*
|
||||
* @param userId 用户id
|
||||
* @param source 请求来源
|
||||
* @return 用户信息
|
||||
*/
|
||||
@GetMapping(value = "/user/{userId}")
|
||||
public AjaxResult getInfo(@PathVariable(value = "userId", required = false) Long userId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
@GetMapping(value = "/user/ids/{userIds}")
|
||||
public AjaxResult getUsers(@PathVariable("userIds") Long[] userIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
@PostMapping("/user/")
|
||||
public AjaxResult add(@Validated @RequestBody SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改用户
|
||||
*
|
||||
* @param user 修改用户的用户信息
|
||||
* @param source 请求来源
|
||||
* @return 修改用户影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/user/edit")
|
||||
public AjaxResult edit(@Validated @RequestBody SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改用户
|
||||
*
|
||||
* @param user 修改用户的用户信息
|
||||
* @param source 请求来源
|
||||
* @return 修改用户影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/user/systemUpdateUser")
|
||||
public AjaxResult systemUpdateUser(@Validated @RequestBody SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 删除用户
|
||||
*
|
||||
* @param userIds 删除用户id列表
|
||||
* @param source 请求来源
|
||||
* @return 删除用户影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/user/delete/{userIds}")
|
||||
public AjaxResult remove(@PathVariable("userIds") Long[] userIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 状态修改
|
||||
*
|
||||
* @param user 修改用户的信息
|
||||
* @param source 请求来源
|
||||
* @return 修改用户状态的影响的行数或错误信息
|
||||
*/
|
||||
@PostMapping("/user/changeStatus")
|
||||
public AjaxResult changeStatus(@RequestBody SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据用户编号获取授权角色信息
|
||||
*
|
||||
* @param userId 用户id
|
||||
* @param source 请求来源
|
||||
* @return 用户角色信息
|
||||
*/
|
||||
@GetMapping("/user/authRole/{userId}")
|
||||
public AjaxResult authRole(@PathVariable("userId") Long userId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 给定用户id给用户授权角色
|
||||
*
|
||||
* @param userId 用户id
|
||||
* @param roleIds 授权角色id列表
|
||||
* @param source 请求来源
|
||||
* @return 成功授权消息或失败消息,
|
||||
*/
|
||||
@PostMapping("/user/authRole/edit")
|
||||
public AjaxResult insertAuthRole(@PathVariable("userId") Long userId, @PathVariable("roleIds") Long[] roleIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 获取当前登录用户数据权限范围内的部门权限下的部门树列表
|
||||
*
|
||||
* @param dept 部门信息
|
||||
* @param source 请求来源
|
||||
* @return 部门树列表或失败消息
|
||||
*/
|
||||
@GetMapping("/user/deptTree")
|
||||
public AjaxResult deptTree(SysDept dept, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 查询部门人员树列表
|
||||
*
|
||||
* @param sysUser 部门信息
|
||||
* @param source 请求来源
|
||||
* @return 部门人员树列表或失败消息
|
||||
*/
|
||||
@PostMapping("/user/deptUserTree")
|
||||
public AjaxResult deptUserTree(SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 修改用户审批状态
|
||||
*
|
||||
* @param user 用户信息
|
||||
* @param source 请求来源
|
||||
* @return 部门树列表或失败消息
|
||||
*/
|
||||
@PostMapping("/approvalStatus")
|
||||
public AjaxResult approvalStatus(@RequestBody SysUser user, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】对象 sys_address
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2025-01-06
|
||||
*/
|
||||
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
@EqualsAndHashCode(callSuper=false)
|
||||
public class SysAddress extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 自增编号 */
|
||||
private Long id;
|
||||
|
||||
/** 平台ID */
|
||||
@Excel(name = "平台ID")
|
||||
@ApiModelProperty(value = "平台ID")
|
||||
private Long platformId;
|
||||
|
||||
/** 县镇市省编码,省、直辖市两位;普通市、直辖(区、县)两位;普通县两位;镇、乡3位;村委会3位;共12位 */
|
||||
@Excel(name = "县镇市省编码,省、直辖市两位;普通市、直辖", readConverterExp = "区=、县")
|
||||
private String code;
|
||||
|
||||
/** 父级code */
|
||||
@Excel(name = "父级code")
|
||||
@ApiModelProperty(value = "父级code")
|
||||
private String parentCode;
|
||||
|
||||
/** 地区名称 */
|
||||
@Excel(name = "地区名称")
|
||||
@ApiModelProperty(value = "地区名称")
|
||||
private String name;
|
||||
|
||||
/** 纬度 */
|
||||
@Excel(name = "纬度")
|
||||
@ApiModelProperty(value = "纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/** 经度 */
|
||||
@Excel(name = "经度")
|
||||
@ApiModelProperty(value = "经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/** 等级:1省 2市 3县/县级市/区 4镇/街道 5村/社区 */
|
||||
@Excel(name = "等级:1省 2市 3县/县级市/区 4镇/街道 5村/社区")
|
||||
@ApiModelProperty(value = "等级:1省 2市 3县/县级市/区 4镇/街道 5村/社区")
|
||||
private Integer level;
|
||||
|
||||
/** 区域划分 1:华北 2:华东 3:华中 4:华南 5:东北 6:西北 7:西南 8:港澳台 9:海外 */
|
||||
@Excel(name = "区域划分 1:华北 2:华东 3:华中 4:华南 5:东北 6:西北 7:西南 8:港澳台 9:海外")
|
||||
@ApiModelProperty(value = "区域划分 1:华北 2:华东 3:华中 4:华南 5:东北 6:西北 7:西南 8:港澳台 9:海外")
|
||||
private Integer region;
|
||||
|
||||
/** 状态:0启用 2已作废 */
|
||||
private String delFlag;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,116 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
/**
|
||||
* 参数配置表 sys_config
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysConfig extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
//用于excel导出的序号一列,不需要业务逻辑处理
|
||||
@Excel(name = "序号", isSequence = true, type = Excel.Type.EXPORT)
|
||||
int sequence;
|
||||
|
||||
/** 参数主键 */
|
||||
@Excel(name = "参数主键", cellType = ColumnType.NUMERIC)
|
||||
private Long configId;
|
||||
|
||||
/** 参数名称 */
|
||||
@Excel(name = "参数名称")
|
||||
private String configName;
|
||||
|
||||
/** 参数键名 */
|
||||
@Excel(name = "参数键名")
|
||||
private String configKey;
|
||||
|
||||
/** 参数键值 */
|
||||
@Excel(name = "参数键值")
|
||||
private String configValue;
|
||||
|
||||
/** 系统内置(Y是 N否) */
|
||||
@Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
|
||||
private String configType;
|
||||
|
||||
public Long getConfigId()
|
||||
{
|
||||
return configId;
|
||||
}
|
||||
|
||||
public void setConfigId(Long configId)
|
||||
{
|
||||
this.configId = configId;
|
||||
}
|
||||
|
||||
@NotBlank(message = "参数名称不能为空")
|
||||
@Size(min = 0, max = 100, message = "参数名称不能超过100个字符")
|
||||
public String getConfigName()
|
||||
{
|
||||
return configName;
|
||||
}
|
||||
|
||||
public void setConfigName(String configName)
|
||||
{
|
||||
this.configName = configName;
|
||||
}
|
||||
|
||||
@NotBlank(message = "参数键名长度不能为空")
|
||||
@Size(min = 0, max = 100, message = "参数键名长度不能超过100个字符")
|
||||
public String getConfigKey()
|
||||
{
|
||||
return configKey;
|
||||
}
|
||||
|
||||
public void setConfigKey(String configKey)
|
||||
{
|
||||
this.configKey = configKey;
|
||||
}
|
||||
|
||||
@NotBlank(message = "参数键值不能为空")
|
||||
@Size(min = 0, max = 500, message = "参数键值长度不能超过500个字符")
|
||||
public String getConfigValue()
|
||||
{
|
||||
return configValue;
|
||||
}
|
||||
|
||||
public void setConfigValue(String configValue)
|
||||
{
|
||||
this.configValue = configValue;
|
||||
}
|
||||
|
||||
public String getConfigType()
|
||||
{
|
||||
return configType;
|
||||
}
|
||||
|
||||
public void setConfigType(String configType)
|
||||
{
|
||||
this.configType = configType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("configId", getConfigId())
|
||||
.append("configName", getConfigName())
|
||||
.append("configKey", getConfigKey())
|
||||
.append("configValue", getConfigValue())
|
||||
.append("configType", getConfigType())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,433 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import javax.validation.constraints.Email;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 部门表 sys_dept
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysDept extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 部门ID
|
||||
*/
|
||||
private Long deptId;
|
||||
|
||||
/**
|
||||
* 父部门ID
|
||||
*/
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 祖级列表
|
||||
*/
|
||||
private String ancestors;
|
||||
|
||||
/**
|
||||
* 部门名称
|
||||
*/
|
||||
private String deptName;
|
||||
|
||||
/**
|
||||
* 显示顺序
|
||||
*/
|
||||
private Integer orderNum;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
private String leader;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 部门状态:0正常,1停用
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 父部门名称
|
||||
*/
|
||||
private String parentName;
|
||||
|
||||
//权限模版ID
|
||||
private Long menuTemplateId;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 县
|
||||
*/
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 详细地址
|
||||
*/
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 公司简称
|
||||
*/
|
||||
private String deptAbbreviation;
|
||||
|
||||
/**
|
||||
* 公司概述
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* logo
|
||||
*/
|
||||
private String logo;
|
||||
|
||||
//公司管理员用户ID
|
||||
private Long adminUserId;
|
||||
|
||||
/**
|
||||
* 公司用户初始密码
|
||||
*/
|
||||
private String initPassword;
|
||||
|
||||
private SysUser sysUser;
|
||||
|
||||
/**
|
||||
* 所属公司ID
|
||||
*/
|
||||
private Long companyId;
|
||||
|
||||
private Long userCount;
|
||||
|
||||
|
||||
/** 部门类型 1、岗位职务;2、分公司 */
|
||||
private String deptType;
|
||||
|
||||
private String deptTypeName;
|
||||
|
||||
/** 是否为领导 0:否,1:是 */
|
||||
private String isLeader = "0";
|
||||
|
||||
/**
|
||||
*角色名称
|
||||
*/
|
||||
private String roleName;
|
||||
|
||||
private String keyWord;
|
||||
|
||||
public Long getMenuTemplateId() {
|
||||
return menuTemplateId;
|
||||
}
|
||||
|
||||
public void setMenuTemplateId(Long menuTemplateId) {
|
||||
this.menuTemplateId = menuTemplateId;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getDistrict() {
|
||||
return district;
|
||||
}
|
||||
|
||||
public void setDistrict(String district) {
|
||||
this.district = district;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getDeptAbbreviation() {
|
||||
return deptAbbreviation;
|
||||
}
|
||||
|
||||
public void setDeptAbbreviation(String deptAbbreviation) {
|
||||
this.deptAbbreviation = deptAbbreviation;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getLogo() {
|
||||
return logo;
|
||||
}
|
||||
|
||||
public void setLogo(String logo) {
|
||||
this.logo = logo;
|
||||
}
|
||||
|
||||
public Long getAdminUserId() {
|
||||
return adminUserId;
|
||||
}
|
||||
|
||||
public void setAdminUserId(Long adminUserId) {
|
||||
this.adminUserId = adminUserId;
|
||||
}
|
||||
|
||||
public String getInitPassword() {
|
||||
return initPassword;
|
||||
}
|
||||
|
||||
public void setInitPassword(String initPassword) {
|
||||
this.initPassword = initPassword;
|
||||
}
|
||||
|
||||
public SysUser getSysUser() {
|
||||
return sysUser;
|
||||
}
|
||||
|
||||
public void setSysUser(SysUser sysUser) {
|
||||
this.sysUser = sysUser;
|
||||
}
|
||||
|
||||
public Long getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Long companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
public Long getUserCount() {
|
||||
return userCount;
|
||||
}
|
||||
|
||||
public void setUserCount(Long userCount) {
|
||||
this.userCount = userCount;
|
||||
}
|
||||
|
||||
public String getRoleName() {
|
||||
return roleName;
|
||||
}
|
||||
|
||||
public void setRoleName(String roleName) {
|
||||
this.roleName = roleName;
|
||||
}
|
||||
|
||||
public String getKeyWord() {
|
||||
return keyWord;
|
||||
}
|
||||
|
||||
public void setKeyWord(String keyWord) {
|
||||
this.keyWord = keyWord;
|
||||
}
|
||||
|
||||
/**
|
||||
* 子部门
|
||||
*/
|
||||
private List<SysDept> children = new ArrayList<SysDept>();
|
||||
|
||||
private Integer level;
|
||||
|
||||
public Integer getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public Long getDeptId() {
|
||||
return deptId;
|
||||
}
|
||||
|
||||
public void setDeptId(Long deptId) {
|
||||
this.deptId = deptId;
|
||||
}
|
||||
|
||||
public Long getParentId() {
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setParentId(Long parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getAncestors() {
|
||||
return ancestors;
|
||||
}
|
||||
|
||||
public void setAncestors(String ancestors) {
|
||||
this.ancestors = ancestors;
|
||||
}
|
||||
|
||||
@NotBlank(message = "部门名称不能为空")
|
||||
@Size(min = 0, max = 30, message = "部门名称长度不能超过30个字符")
|
||||
public String getDeptName() {
|
||||
return deptName;
|
||||
}
|
||||
|
||||
public void setDeptName(String deptName) {
|
||||
this.deptName = deptName;
|
||||
}
|
||||
|
||||
@NotNull(message = "显示顺序不能为空")
|
||||
public Integer getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(Integer orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public String getLeader() {
|
||||
return leader;
|
||||
}
|
||||
|
||||
public void setLeader(String leader) {
|
||||
this.leader = leader;
|
||||
}
|
||||
|
||||
@Size(min = 0, max = 11, message = "联系电话长度不能超过11个字符")
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
@Email(message = "邮箱格式不正确")
|
||||
@Size(min = 0, max = 50, message = "邮箱长度不能超过50个字符")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getParentName() {
|
||||
return parentName;
|
||||
}
|
||||
|
||||
public void setParentName(String parentName) {
|
||||
this.parentName = parentName;
|
||||
}
|
||||
|
||||
public List<SysDept> getChildren() {
|
||||
return children;
|
||||
}
|
||||
|
||||
public void setChildren(List<SysDept> children) {
|
||||
this.children = children;
|
||||
}
|
||||
|
||||
public String getDeptType() {
|
||||
return deptType;
|
||||
}
|
||||
|
||||
public void setDeptType(String deptType) {
|
||||
this.deptType = deptType;
|
||||
}
|
||||
|
||||
public String getIsLeader() {
|
||||
return isLeader;
|
||||
}
|
||||
|
||||
public void setIsLeader(String isLeader) {
|
||||
this.isLeader = isLeader;
|
||||
}
|
||||
|
||||
public String getDeptTypeName() {
|
||||
return deptTypeName;
|
||||
}
|
||||
|
||||
public void setDeptTypeName(String deptTypeName) {
|
||||
this.deptTypeName = deptTypeName;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("deptId", getDeptId())
|
||||
.append("parentId", getParentId())
|
||||
.append("ancestors", getAncestors())
|
||||
.append("deptName", getDeptName())
|
||||
.append("orderNum", getOrderNum())
|
||||
.append("leader", getLeader())
|
||||
.append("phone", getPhone())
|
||||
.append("email", getEmail())
|
||||
.append("status", getStatus())
|
||||
.append("delFlag", getDelFlag())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("level", getLevel())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,180 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.constant.UserConstants;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 字典数据表 sys_dict_data
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysDictData extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
//用于excel导出的序号一列,不需要业务逻辑处理
|
||||
@Excel(name = "序号", isSequence = true, type = Excel.Type.EXPORT)
|
||||
int sequence;
|
||||
|
||||
/** 字典编码 */
|
||||
@Excel(name = "字典编码", cellType = ColumnType.NUMERIC)
|
||||
private Long dictCode;
|
||||
|
||||
/** 字典排序 */
|
||||
@Excel(name = "字典排序", cellType = ColumnType.NUMERIC)
|
||||
private Long dictSort;
|
||||
|
||||
/** 字典标签 */
|
||||
@Excel(name = "字典标签")
|
||||
private String dictLabel;
|
||||
|
||||
/** 字典键值 */
|
||||
@Excel(name = "字典键值")
|
||||
private String dictValue;
|
||||
|
||||
/** 字典类型 */
|
||||
@Excel(name = "字典类型")
|
||||
private String dictType;
|
||||
|
||||
/** 样式属性(其他样式扩展) */
|
||||
private String cssClass;
|
||||
|
||||
/** 表格字典样式 */
|
||||
private String listClass;
|
||||
|
||||
/** 是否默认(Y是 N否) */
|
||||
@Excel(name = "是否默认", readConverterExp = "Y=是,N=否")
|
||||
private String isDefault;
|
||||
|
||||
/** 状态(0正常 1停用) */
|
||||
@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
||||
private String status;
|
||||
|
||||
public Long getDictCode()
|
||||
{
|
||||
return dictCode;
|
||||
}
|
||||
|
||||
public void setDictCode(Long dictCode)
|
||||
{
|
||||
this.dictCode = dictCode;
|
||||
}
|
||||
|
||||
public Long getDictSort()
|
||||
{
|
||||
return dictSort;
|
||||
}
|
||||
|
||||
public void setDictSort(Long dictSort)
|
||||
{
|
||||
this.dictSort = dictSort;
|
||||
}
|
||||
|
||||
@NotBlank(message = "字典标签不能为空")
|
||||
@Size(min = 0, max = 100, message = "字典标签长度不能超过100个字符")
|
||||
public String getDictLabel()
|
||||
{
|
||||
return dictLabel;
|
||||
}
|
||||
|
||||
public void setDictLabel(String dictLabel)
|
||||
{
|
||||
this.dictLabel = dictLabel;
|
||||
}
|
||||
|
||||
@NotBlank(message = "字典键值不能为空")
|
||||
@Size(min = 0, max = 100, message = "字典键值长度不能超过100个字符")
|
||||
public String getDictValue()
|
||||
{
|
||||
return dictValue;
|
||||
}
|
||||
|
||||
public void setDictValue(String dictValue)
|
||||
{
|
||||
this.dictValue = dictValue;
|
||||
}
|
||||
|
||||
@NotBlank(message = "字典类型不能为空")
|
||||
@Size(min = 0, max = 100, message = "字典类型长度不能超过100个字符")
|
||||
public String getDictType()
|
||||
{
|
||||
return dictType;
|
||||
}
|
||||
|
||||
public void setDictType(String dictType)
|
||||
{
|
||||
this.dictType = dictType;
|
||||
}
|
||||
|
||||
@Size(min = 0, max = 100, message = "样式属性长度不能超过100个字符")
|
||||
public String getCssClass()
|
||||
{
|
||||
return cssClass;
|
||||
}
|
||||
|
||||
public void setCssClass(String cssClass)
|
||||
{
|
||||
this.cssClass = cssClass;
|
||||
}
|
||||
|
||||
public String getListClass()
|
||||
{
|
||||
return listClass;
|
||||
}
|
||||
|
||||
public void setListClass(String listClass)
|
||||
{
|
||||
this.listClass = listClass;
|
||||
}
|
||||
|
||||
public boolean getDefault()
|
||||
{
|
||||
return UserConstants.YES.equals(this.isDefault);
|
||||
}
|
||||
|
||||
public String getIsDefault()
|
||||
{
|
||||
return isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(String isDefault)
|
||||
{
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("dictCode", getDictCode())
|
||||
.append("dictSort", getDictSort())
|
||||
.append("dictLabel", getDictLabel())
|
||||
.append("dictValue", getDictValue())
|
||||
.append("dictType", getDictType())
|
||||
.append("cssClass", getCssClass())
|
||||
.append("listClass", getListClass())
|
||||
.append("isDefault", getIsDefault())
|
||||
.append("status", getStatus())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,100 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 字典类型表 sys_dict_type
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysDictType extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
//用于excel导出的序号一列,不需要业务逻辑处理
|
||||
@Excel(name = "序号", isSequence = true, type = Excel.Type.EXPORT)
|
||||
int sequence;
|
||||
|
||||
/** 字典主键 */
|
||||
@Excel(name = "字典主键", cellType = ColumnType.NUMERIC)
|
||||
private Long dictId;
|
||||
|
||||
/** 字典名称 */
|
||||
@Excel(name = "字典名称")
|
||||
private String dictName;
|
||||
|
||||
/** 字典类型 */
|
||||
@Excel(name = "字典类型")
|
||||
private String dictType;
|
||||
|
||||
/** 状态(0正常 1停用) */
|
||||
@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
||||
private String status;
|
||||
|
||||
public Long getDictId()
|
||||
{
|
||||
return dictId;
|
||||
}
|
||||
|
||||
public void setDictId(Long dictId)
|
||||
{
|
||||
this.dictId = dictId;
|
||||
}
|
||||
|
||||
@NotBlank(message = "字典名称不能为空")
|
||||
@Size(min = 0, max = 100, message = "字典类型名称长度不能超过100个字符")
|
||||
public String getDictName()
|
||||
{
|
||||
return dictName;
|
||||
}
|
||||
|
||||
public void setDictName(String dictName)
|
||||
{
|
||||
this.dictName = dictName;
|
||||
}
|
||||
|
||||
@NotBlank(message = "字典类型不能为空")
|
||||
@Size(min = 0, max = 100, message = "字典类型类型长度不能超过100个字符")
|
||||
@Pattern(regexp = "^[a-z][a-z0-9_]*$", message = "字典类型必须以字母开头,且只能为(小写字母,数字,下滑线)")
|
||||
public String getDictType()
|
||||
{
|
||||
return dictType;
|
||||
}
|
||||
|
||||
public void setDictType(String dictType)
|
||||
{
|
||||
this.dictType = dictType;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("dictId", getDictId())
|
||||
.append("dictName", getDictName())
|
||||
.append("dictType", getDictType())
|
||||
.append("status", getStatus())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import lombok.Builder;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 文件信息
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Builder
|
||||
public class SysFile
|
||||
{
|
||||
/**
|
||||
* 文件名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 文件地址,除mongodb 存fileid之外,其他均存上传文件的网络路径
|
||||
*/
|
||||
private String url;
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getUrl()
|
||||
{
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url)
|
||||
{
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("name", getName())
|
||||
.append("url", getUrl())
|
||||
.toString();
|
||||
}
|
||||
|
||||
// public String getStorageType() {
|
||||
// return storageType;
|
||||
// }
|
||||
//
|
||||
// public void setStorageType(String storageType) {
|
||||
// this.storageType = storageType;
|
||||
// }
|
||||
}
|
||||
|
|
@ -1,149 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 系统访问记录表 sys_logininfor
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysLogininfor extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** ID */
|
||||
@Excel(name = "序号", cellType = ColumnType.NUMERIC)
|
||||
private Long infoId;
|
||||
|
||||
/** 用户账号 */
|
||||
@Excel(name = "用户账号")
|
||||
private String userName;
|
||||
|
||||
@Excel(name = "用户名")
|
||||
private String nickName;
|
||||
/** 状态 0成功 1失败 */
|
||||
@Excel(name = "状态", readConverterExp = "0=成功,1=失败")
|
||||
private String status;
|
||||
|
||||
/** 地址 */
|
||||
@Excel(name = "地址")
|
||||
private String ipaddr;
|
||||
|
||||
/** 登录地点 */
|
||||
@Excel(name = "登录地点")
|
||||
private String loginLocation;
|
||||
|
||||
/** 浏览器类型 */
|
||||
@Excel(name = "浏览器")
|
||||
private String browser;
|
||||
|
||||
/** 操作系统 */
|
||||
@Excel(name = "操作系统")
|
||||
private String os;
|
||||
|
||||
/** 描述 */
|
||||
@Excel(name = "描述")
|
||||
private String msg;
|
||||
|
||||
/** 访问时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "访问时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date accessTime;
|
||||
|
||||
|
||||
public Long getInfoId()
|
||||
{
|
||||
return infoId;
|
||||
}
|
||||
|
||||
public void setInfoId(Long infoId)
|
||||
{
|
||||
this.infoId = infoId;
|
||||
}
|
||||
|
||||
public String getUserName()
|
||||
{
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName)
|
||||
{
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getIpaddr()
|
||||
{
|
||||
return ipaddr;
|
||||
}
|
||||
|
||||
public void setIpaddr(String ipaddr)
|
||||
{
|
||||
this.ipaddr = ipaddr;
|
||||
}
|
||||
|
||||
public String getMsg()
|
||||
{
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg)
|
||||
{
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Date getAccessTime()
|
||||
{
|
||||
return accessTime;
|
||||
}
|
||||
|
||||
public void setAccessTime(Date accessTime)
|
||||
{
|
||||
this.accessTime = accessTime;
|
||||
}
|
||||
|
||||
public String getNickName() {
|
||||
return nickName;
|
||||
}
|
||||
|
||||
public void setNickName(String nickName) {
|
||||
this.nickName = nickName;
|
||||
}
|
||||
|
||||
public String getLoginLocation() {
|
||||
return loginLocation;
|
||||
}
|
||||
|
||||
public void setLoginLocation(String loginLocation) {
|
||||
this.loginLocation = loginLocation;
|
||||
}
|
||||
|
||||
public String getBrowser() {
|
||||
return browser;
|
||||
}
|
||||
|
||||
public void setBrowser(String browser) {
|
||||
this.browser = browser;
|
||||
}
|
||||
|
||||
public String getOs() {
|
||||
return os;
|
||||
}
|
||||
|
||||
public void setOs(String os) {
|
||||
this.os = os;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,203 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import com.bonus.common.core.utils.DateUtils;
|
||||
import com.bonus.common.core.utils.ServletUtils;
|
||||
import com.bonus.common.core.utils.StringUtils;
|
||||
import com.bonus.common.core.utils.ip.IpUtils;
|
||||
|
||||
import com.bonus.system.api.model.LoginUser;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
import org.apache.ibatis.type.Alias;
|
||||
import org.aspectj.lang.JoinPoint;
|
||||
import org.aspectj.lang.ProceedingJoinPoint;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.validation.BindingResult;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* 日志实体
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Data
|
||||
@Alias("SysLogsVo")
|
||||
public class SysLogsVo {
|
||||
|
||||
/**
|
||||
* 日志id
|
||||
*/
|
||||
@ApiModelProperty(value = "日志ID")
|
||||
private String logId;
|
||||
/**
|
||||
* 操作人名称
|
||||
*/
|
||||
private String operaUserName;
|
||||
/**
|
||||
* 访问ip
|
||||
*/
|
||||
@ApiModelProperty(value = "操作ip")
|
||||
private String ip;
|
||||
/**
|
||||
* 操作人id
|
||||
*/
|
||||
@ApiModelProperty(value = "操作人ID")
|
||||
private String userId;
|
||||
/**
|
||||
* 操作模块
|
||||
*/
|
||||
@ApiModelProperty(value = "操作模块")
|
||||
private String model;
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@ApiModelProperty(value = "操作时间")
|
||||
private String operTime;
|
||||
/**
|
||||
* 操作详情
|
||||
*/
|
||||
@ApiModelProperty(value = "操作详情")
|
||||
private String operateDetail;
|
||||
/**
|
||||
*操作类型
|
||||
*/
|
||||
@ApiModelProperty(value = "操作类型 增删改查 登录 登出")
|
||||
private String operType;
|
||||
/**
|
||||
* 操作方法
|
||||
*/
|
||||
@ApiModelProperty(value = "执行方法")
|
||||
private String method;
|
||||
/**
|
||||
*请求路径
|
||||
*/
|
||||
@ApiModelProperty(value = "操作页面路径URI")
|
||||
private String operUri;
|
||||
/**
|
||||
* 日志类型 1 业务日志 0 系统日志 2异常日志
|
||||
*/
|
||||
@ApiModelProperty(value = "日志类型 1 业务日志 0 系统日志 2异常日志")
|
||||
private int logType;
|
||||
/**
|
||||
* 执行结果
|
||||
*/
|
||||
@ApiModelProperty(value = "执行结果(1.成功/2.失败)")
|
||||
private String result;
|
||||
// private String fruit;
|
||||
/**
|
||||
* 执行时间
|
||||
*/
|
||||
@ApiModelProperty(value = "执行时间(秒/ms)")
|
||||
private String times;
|
||||
/**
|
||||
* 失败原因
|
||||
*/
|
||||
@ApiModelProperty(value = "失败原因")
|
||||
private String failureReason;
|
||||
/**
|
||||
* 异常等级
|
||||
*/
|
||||
@ApiModelProperty(value = "异常事件等级(高、中、低")
|
||||
private String grade;
|
||||
/**
|
||||
* 异常类型(ip异常/越权)
|
||||
*/
|
||||
@ApiModelProperty(value = "异常类型(ip异常/越权)")
|
||||
private String errType;
|
||||
/**
|
||||
* 方法类型
|
||||
*/
|
||||
private String methodType;
|
||||
/**
|
||||
* 模块名称
|
||||
*/
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty(value = "操作参数")
|
||||
private String params;
|
||||
/**
|
||||
* 返回的数据
|
||||
*/
|
||||
private String resultData;
|
||||
|
||||
|
||||
|
||||
private int num;
|
||||
|
||||
/**
|
||||
* 排序字段 1,2,3,4,5,6,7,8,
|
||||
*/
|
||||
private String logSort;
|
||||
/**
|
||||
* 倒序 1 正序 2
|
||||
*/
|
||||
private String logDesc;
|
||||
|
||||
private String startTime;
|
||||
|
||||
private String endTime;
|
||||
|
||||
//查询类型 1 按日志类型 2 按操作类型 3 按操作人
|
||||
private String type;
|
||||
|
||||
private String capacity;
|
||||
/**
|
||||
* 0未处理,1已处理
|
||||
*/
|
||||
private String warningStatus;
|
||||
|
||||
/**
|
||||
* 越权记录
|
||||
* @param loginUser
|
||||
* @return
|
||||
*/
|
||||
public static SysLogsVo getExceedAuthorithSysLogsVo(LoginUser loginUser, ProceedingJoinPoint joinPoint) {
|
||||
SysLogsVo vo=new SysLogsVo();
|
||||
try{
|
||||
String uuid= UUID.randomUUID().toString().replace("-","").toUpperCase();
|
||||
vo.setLogId(uuid);
|
||||
String ip = loginUser.getIpaddr();
|
||||
vo.setIp(ip);
|
||||
// 设置方法名称
|
||||
String className = joinPoint.getTarget().getClass().getName();
|
||||
String methodName = joinPoint.getSignature().getName();
|
||||
//方法
|
||||
vo.setMethod(className + "." + methodName + "()");
|
||||
//请求方法
|
||||
vo.setMethodType(ServletUtils.getRequest().getMethod());
|
||||
//void->无参数返回的
|
||||
vo.setResult("成功");
|
||||
vo.setFailureReason("操作未授权");
|
||||
vo.setGrade("高");
|
||||
vo.setErrType("越权访问");
|
||||
vo.setOperUri(StringUtils.substring(ServletUtils.getRequest().getRequestURI(), 0, 255));
|
||||
vo.setOperTime(DateUtils.getTime());
|
||||
vo.setLogType(2);
|
||||
//
|
||||
if (StringUtils.isNotBlank(loginUser.getUsername())){
|
||||
vo.setOperaUserName(loginUser.getUsername());
|
||||
}
|
||||
Long userId=loginUser.getUserid();
|
||||
if (userId!=null && userId!=0L) {
|
||||
vo.setUserId(userId.toString());
|
||||
}
|
||||
return vo;
|
||||
}catch (Exception e){
|
||||
System.err.println("越权记录");
|
||||
}
|
||||
return vo;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,284 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import org.apache.ibatis.type.Alias;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 菜单权限表 sys_menu
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Alias("SysMenu")
|
||||
public class SysMenu extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 菜单ID */
|
||||
private Long menuId;
|
||||
|
||||
/** 菜单名称 */
|
||||
private String menuName;
|
||||
|
||||
/** 父菜单名称 */
|
||||
private String parentName;
|
||||
|
||||
/** 父菜单ID */
|
||||
private Long parentId;
|
||||
|
||||
/** 显示顺序 */
|
||||
private Integer orderNum;
|
||||
|
||||
/** 路由地址 */
|
||||
private String path;
|
||||
|
||||
/** 组件路径 */
|
||||
private String component;
|
||||
|
||||
/** 路由参数 */
|
||||
private String query;
|
||||
|
||||
/** 是否为外链(0是 1否) */
|
||||
private String isFrame;
|
||||
|
||||
/** 是否缓存(0缓存 1不缓存) */
|
||||
private String isCache;
|
||||
|
||||
/** 类型(M目录 C菜单 F按钮) */
|
||||
private String menuType;
|
||||
|
||||
/** 显示状态(0显示 1隐藏) */
|
||||
private String visible;
|
||||
|
||||
/** 菜单状态(0正常 1停用) */
|
||||
private String status;
|
||||
|
||||
/** 权限字符串 */
|
||||
private String perms;
|
||||
|
||||
/** 菜单图标 */
|
||||
private String icon;
|
||||
|
||||
/** 子菜单 */
|
||||
private List<SysMenu> children = new ArrayList<SysMenu>();
|
||||
|
||||
/** 系统类型 */
|
||||
private String systemType;
|
||||
|
||||
private Long templateId;
|
||||
|
||||
public Long getMenuId()
|
||||
{
|
||||
return menuId;
|
||||
}
|
||||
|
||||
public void setMenuId(Long menuId)
|
||||
{
|
||||
this.menuId = menuId;
|
||||
}
|
||||
|
||||
@NotBlank(message = "菜单名称不能为空")
|
||||
@Size(min = 0, max = 50, message = "菜单名称长度不能超过50个字符")
|
||||
public String getMenuName()
|
||||
{
|
||||
return menuName;
|
||||
}
|
||||
|
||||
public void setMenuName(String menuName)
|
||||
{
|
||||
this.menuName = menuName;
|
||||
}
|
||||
|
||||
public String getParentName()
|
||||
{
|
||||
return parentName;
|
||||
}
|
||||
|
||||
public void setParentName(String parentName)
|
||||
{
|
||||
this.parentName = parentName;
|
||||
}
|
||||
|
||||
public Long getParentId()
|
||||
{
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setParentId(Long parentId)
|
||||
{
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
@NotNull(message = "显示顺序不能为空")
|
||||
public Integer getOrderNum()
|
||||
{
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(Integer orderNum)
|
||||
{
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
@Size(min = 0, max = 200, message = "路由地址不能超过200个字符")
|
||||
public String getPath()
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
public void setPath(String path)
|
||||
{
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
@Size(min = 0, max = 200, message = "组件路径不能超过255个字符")
|
||||
public String getComponent()
|
||||
{
|
||||
return component;
|
||||
}
|
||||
|
||||
public void setComponent(String component)
|
||||
{
|
||||
this.component = component;
|
||||
}
|
||||
|
||||
public String getQuery()
|
||||
{
|
||||
return query;
|
||||
}
|
||||
|
||||
public void setQuery(String query)
|
||||
{
|
||||
this.query = query;
|
||||
}
|
||||
|
||||
public String getIsFrame()
|
||||
{
|
||||
return isFrame;
|
||||
}
|
||||
|
||||
public void setIsFrame(String isFrame)
|
||||
{
|
||||
this.isFrame = isFrame;
|
||||
}
|
||||
|
||||
public String getIsCache()
|
||||
{
|
||||
return isCache;
|
||||
}
|
||||
|
||||
public void setIsCache(String isCache)
|
||||
{
|
||||
this.isCache = isCache;
|
||||
}
|
||||
|
||||
@NotBlank(message = "菜单类型不能为空")
|
||||
public String getMenuType()
|
||||
{
|
||||
return menuType;
|
||||
}
|
||||
|
||||
public void setMenuType(String menuType)
|
||||
{
|
||||
this.menuType = menuType;
|
||||
}
|
||||
|
||||
public String getVisible()
|
||||
{
|
||||
return visible;
|
||||
}
|
||||
|
||||
public void setVisible(String visible)
|
||||
{
|
||||
this.visible = visible;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Size(min = 0, max = 100, message = "权限标识长度不能超过100个字符")
|
||||
public String getPerms()
|
||||
{
|
||||
return perms;
|
||||
}
|
||||
|
||||
public void setPerms(String perms)
|
||||
{
|
||||
this.perms = perms;
|
||||
}
|
||||
|
||||
public String getIcon()
|
||||
{
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon)
|
||||
{
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public List<SysMenu> getChildren()
|
||||
{
|
||||
return children;
|
||||
}
|
||||
|
||||
public void setChildren(List<SysMenu> children)
|
||||
{
|
||||
this.children = children;
|
||||
}
|
||||
|
||||
public String getSystemType() {
|
||||
return systemType;
|
||||
}
|
||||
|
||||
public void setSystemType(String systemType) {
|
||||
this.systemType = systemType;
|
||||
}
|
||||
|
||||
public Long getTemplateId() {
|
||||
return templateId;
|
||||
}
|
||||
|
||||
public void setTemplateId(Long templateId) {
|
||||
this.templateId = templateId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("menuId", getMenuId())
|
||||
.append("menuName", getMenuName())
|
||||
.append("parentId", getParentId())
|
||||
.append("orderNum", getOrderNum())
|
||||
.append("path", getPath())
|
||||
.append("component", getComponent())
|
||||
.append("isFrame", getIsFrame())
|
||||
.append("IsCache", getIsCache())
|
||||
.append("menuType", getMenuType())
|
||||
.append("visible", getVisible())
|
||||
.append("status ", getStatus())
|
||||
.append("perms", getPerms())
|
||||
.append("icon", getIcon())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.append("systemType", getSystemType())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,150 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import com.bonus.common.core.xss.Xss;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
/**
|
||||
* 通知公告表 sys_notice
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysNotice extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 公告ID */
|
||||
private Long noticeId;
|
||||
|
||||
/** 公告标题 */
|
||||
private String noticeTitle;
|
||||
|
||||
/** 公告类型(1通知 2公告) */
|
||||
private String noticeType;
|
||||
|
||||
/** 公告内容 */
|
||||
private String noticeContent;
|
||||
|
||||
/** 公告状态(0正常 1关闭) */
|
||||
private String status;
|
||||
private Long userId; // 登录用户
|
||||
|
||||
|
||||
private String isRead = "0"; // 是否已读 0 未读 1 已读
|
||||
private String fileUrls; // 文件地址
|
||||
private String showType = "1"; // 1:所有人员可见;2:部分人员可见
|
||||
private String receiveUserIds; // 接收人员ID
|
||||
|
||||
public Long getNoticeId()
|
||||
{
|
||||
return noticeId;
|
||||
}
|
||||
|
||||
public void setNoticeId(Long noticeId)
|
||||
{
|
||||
this.noticeId = noticeId;
|
||||
}
|
||||
|
||||
public void setNoticeTitle(String noticeTitle)
|
||||
{
|
||||
this.noticeTitle = noticeTitle;
|
||||
}
|
||||
|
||||
@Xss(message = "公告标题不能包含脚本字符")
|
||||
@NotBlank(message = "公告标题不能为空")
|
||||
@Size(min = 0, max = 50, message = "公告标题不能超过50个字符")
|
||||
public String getNoticeTitle()
|
||||
{
|
||||
return noticeTitle;
|
||||
}
|
||||
|
||||
public void setNoticeType(String noticeType)
|
||||
{
|
||||
this.noticeType = noticeType;
|
||||
}
|
||||
|
||||
public String getNoticeType()
|
||||
{
|
||||
return noticeType;
|
||||
}
|
||||
|
||||
public void setNoticeContent(String noticeContent)
|
||||
{
|
||||
this.noticeContent = noticeContent;
|
||||
}
|
||||
|
||||
public String getNoticeContent()
|
||||
{
|
||||
return noticeContent;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public String getIsRead() {
|
||||
return isRead;
|
||||
}
|
||||
|
||||
public void setIsRead(String isRead) {
|
||||
this.isRead = isRead;
|
||||
}
|
||||
|
||||
public String getFileUrls() {
|
||||
return fileUrls;
|
||||
}
|
||||
|
||||
public void setFileUrls(String fileUrls) {
|
||||
this.fileUrls = fileUrls;
|
||||
}
|
||||
|
||||
public String getShowType() {
|
||||
return showType;
|
||||
}
|
||||
|
||||
public void setShowType(String showType) {
|
||||
this.showType = showType;
|
||||
}
|
||||
|
||||
public String getReceiveUserIds() {
|
||||
return receiveUserIds;
|
||||
}
|
||||
|
||||
public void setReceiveUserIds(String receiveUserIds) {
|
||||
this.receiveUserIds = receiveUserIds;
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("noticeId", getNoticeId())
|
||||
.append("noticeTitle", getNoticeTitle())
|
||||
.append("noticeType", getNoticeType())
|
||||
.append("noticeContent", getNoticeContent())
|
||||
.append("status", getStatus())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,281 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import org.apache.ibatis.type.Alias;
|
||||
|
||||
/**
|
||||
* 操作日志记录表 oper_log
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Alias("SysOperLog")
|
||||
public class SysOperLog extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 日志主键 */
|
||||
@Excel(name = "操作序号", cellType = ColumnType.NUMERIC)
|
||||
private Long operId;
|
||||
|
||||
|
||||
@Excel(name = "操作功能")
|
||||
private String moduleName;
|
||||
|
||||
/** 操作模块 */
|
||||
@Excel(name = "操作模块")
|
||||
private String title;
|
||||
|
||||
/** 业务类型(0其它 1新增 2修改 3删除) */
|
||||
@Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")
|
||||
private Integer businessType;
|
||||
|
||||
/** 业务类型数组 */
|
||||
private Integer[] businessTypes;
|
||||
|
||||
/** 请求方法 */
|
||||
@Excel(name = "请求方法")
|
||||
private String method;
|
||||
|
||||
/** 请求方式 */
|
||||
@Excel(name = "请求方式")
|
||||
private String requestMethod;
|
||||
|
||||
/** 操作类别(0其它 1后台用户 2手机端用户) */
|
||||
@Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
|
||||
private Integer operatorType;
|
||||
|
||||
/** 操作人员 */
|
||||
@Excel(name = "操作人员")
|
||||
private String operName;
|
||||
|
||||
/** 部门名称 */
|
||||
@Excel(name = "部门名称")
|
||||
private String deptName;
|
||||
|
||||
/** 请求url */
|
||||
@Excel(name = "请求地址")
|
||||
private String operUrl;
|
||||
|
||||
/** 操作地址 */
|
||||
@Excel(name = "操作地址")
|
||||
private String operIp;
|
||||
|
||||
/** 请求参数 */
|
||||
@Excel(name = "请求参数")
|
||||
private String operParam;
|
||||
|
||||
/** 返回参数 */
|
||||
@Excel(name = "返回参数")
|
||||
private String jsonResult;
|
||||
|
||||
/** 操作状态(0正常 1异常) */
|
||||
@Excel(name = "状态", readConverterExp = "0=正常,1=异常")
|
||||
private Integer status;
|
||||
|
||||
/** 错误消息 */
|
||||
@Excel(name = "错误消息")
|
||||
private String errorMsg;
|
||||
|
||||
/** 操作时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date operTime;
|
||||
|
||||
/** 消耗时间 */
|
||||
@Excel(name = "消耗时间", suffix = "毫秒")
|
||||
private Long costTime;
|
||||
|
||||
/** 操作地点 */
|
||||
// @Excel(name = "操作地点")
|
||||
private String operLocation;
|
||||
|
||||
public String getModuleName() {
|
||||
return moduleName;
|
||||
}
|
||||
|
||||
public void setModuleName(String moduleName) {
|
||||
this.moduleName = moduleName;
|
||||
}
|
||||
|
||||
public String getOperLocation() {
|
||||
return operLocation;
|
||||
}
|
||||
|
||||
public void setOperLocation(String operLocation) {
|
||||
this.operLocation = operLocation;
|
||||
}
|
||||
|
||||
public Long getOperId()
|
||||
{
|
||||
return operId;
|
||||
}
|
||||
|
||||
public void setOperId(Long operId)
|
||||
{
|
||||
this.operId = operId;
|
||||
}
|
||||
|
||||
public String getTitle()
|
||||
{
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public Integer getBusinessType()
|
||||
{
|
||||
return businessType;
|
||||
}
|
||||
|
||||
public void setBusinessType(Integer businessType)
|
||||
{
|
||||
this.businessType = businessType;
|
||||
}
|
||||
|
||||
public Integer[] getBusinessTypes()
|
||||
{
|
||||
return businessTypes;
|
||||
}
|
||||
|
||||
public void setBusinessTypes(Integer[] businessTypes)
|
||||
{
|
||||
this.businessTypes = businessTypes;
|
||||
}
|
||||
|
||||
public String getMethod()
|
||||
{
|
||||
return method;
|
||||
}
|
||||
|
||||
public void setMethod(String method)
|
||||
{
|
||||
this.method = method;
|
||||
}
|
||||
|
||||
public String getRequestMethod()
|
||||
{
|
||||
return requestMethod;
|
||||
}
|
||||
|
||||
public void setRequestMethod(String requestMethod)
|
||||
{
|
||||
this.requestMethod = requestMethod;
|
||||
}
|
||||
|
||||
public Integer getOperatorType()
|
||||
{
|
||||
return operatorType;
|
||||
}
|
||||
|
||||
public void setOperatorType(Integer operatorType)
|
||||
{
|
||||
this.operatorType = operatorType;
|
||||
}
|
||||
|
||||
public String getOperName()
|
||||
{
|
||||
return operName;
|
||||
}
|
||||
|
||||
public void setOperName(String operName)
|
||||
{
|
||||
this.operName = operName;
|
||||
}
|
||||
|
||||
public String getDeptName()
|
||||
{
|
||||
return deptName;
|
||||
}
|
||||
|
||||
public void setDeptName(String deptName)
|
||||
{
|
||||
this.deptName = deptName;
|
||||
}
|
||||
|
||||
public String getOperUrl()
|
||||
{
|
||||
return operUrl;
|
||||
}
|
||||
|
||||
public void setOperUrl(String operUrl)
|
||||
{
|
||||
this.operUrl = operUrl;
|
||||
}
|
||||
|
||||
public String getOperIp()
|
||||
{
|
||||
return operIp;
|
||||
}
|
||||
|
||||
public void setOperIp(String operIp)
|
||||
{
|
||||
this.operIp = operIp;
|
||||
}
|
||||
|
||||
public String getOperParam()
|
||||
{
|
||||
return operParam;
|
||||
}
|
||||
|
||||
public void setOperParam(String operParam)
|
||||
{
|
||||
this.operParam = operParam;
|
||||
}
|
||||
|
||||
public String getJsonResult()
|
||||
{
|
||||
return jsonResult;
|
||||
}
|
||||
|
||||
public void setJsonResult(String jsonResult)
|
||||
{
|
||||
this.jsonResult = jsonResult;
|
||||
}
|
||||
|
||||
public Integer getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getErrorMsg()
|
||||
{
|
||||
return errorMsg;
|
||||
}
|
||||
|
||||
public void setErrorMsg(String errorMsg)
|
||||
{
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
|
||||
public Date getOperTime()
|
||||
{
|
||||
return operTime;
|
||||
}
|
||||
|
||||
public void setOperTime(Date operTime)
|
||||
{
|
||||
this.operTime = operTime;
|
||||
}
|
||||
|
||||
public Long getCostTime()
|
||||
{
|
||||
return costTime;
|
||||
}
|
||||
|
||||
public void setCostTime(Long costTime)
|
||||
{
|
||||
this.costTime = costTime;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,140 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
/**
|
||||
* 岗位表 sys_post
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysPost extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
//用于excel导出的序号一列,不需要业务逻辑处理
|
||||
@Excel(name = "序号", isSequence = true, type = Excel.Type.EXPORT)
|
||||
int sequence;
|
||||
|
||||
/** 岗位序号 */
|
||||
@Excel(name = "岗位序号", cellType = ColumnType.NUMERIC)
|
||||
private Long postId;
|
||||
|
||||
/** 岗位编码 */
|
||||
@Excel(name = "岗位编码")
|
||||
private String postCode;
|
||||
|
||||
/** 岗位名称 */
|
||||
@Excel(name = "岗位名称")
|
||||
private String postName;
|
||||
|
||||
/** 所属公司ID */
|
||||
private Long companyId;
|
||||
|
||||
/** 岗位排序 */
|
||||
@Excel(name = "岗位排序")
|
||||
private Integer postSort;
|
||||
|
||||
/** 状态(0正常 1停用) */
|
||||
@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
||||
private String status;
|
||||
|
||||
/** 用户是否存在此岗位标识 默认不存在 */
|
||||
private boolean flag = false;
|
||||
|
||||
public Long getPostId()
|
||||
{
|
||||
return postId;
|
||||
}
|
||||
|
||||
public void setPostId(Long postId)
|
||||
{
|
||||
this.postId = postId;
|
||||
}
|
||||
|
||||
@NotBlank(message = "岗位编码不能为空")
|
||||
@Size(min = 0, max = 64, message = "岗位编码长度不能超过64个字符")
|
||||
public String getPostCode()
|
||||
{
|
||||
return postCode;
|
||||
}
|
||||
|
||||
public void setPostCode(String postCode)
|
||||
{
|
||||
this.postCode = postCode;
|
||||
}
|
||||
|
||||
@NotBlank(message = "岗位名称不能为空")
|
||||
@Size(min = 0, max = 50, message = "岗位名称长度不能超过50个字符")
|
||||
public String getPostName()
|
||||
{
|
||||
return postName;
|
||||
}
|
||||
|
||||
public void setPostName(String postName)
|
||||
{
|
||||
this.postName = postName;
|
||||
}
|
||||
|
||||
public Long getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Long companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
@NotNull(message = "显示顺序不能为空")
|
||||
public Integer getPostSort()
|
||||
{
|
||||
return postSort;
|
||||
}
|
||||
|
||||
public void setPostSort(Integer postSort)
|
||||
{
|
||||
this.postSort = postSort;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public boolean isFlag()
|
||||
{
|
||||
return flag;
|
||||
}
|
||||
|
||||
public void setFlag(boolean flag)
|
||||
{
|
||||
this.flag = flag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("postId", getPostId())
|
||||
.append("postCode", getPostCode())
|
||||
.append("postName", getPostName())
|
||||
.append("postSort", getPostSort())
|
||||
.append("status", getStatus())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,289 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import java.util.Set;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 角色表 sys_role
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysRole extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
//用于excel导出的序号一列,不需要业务逻辑处理
|
||||
@Excel(name = "序号", isSequence = true, type = Excel.Type.EXPORT)
|
||||
int sequence;
|
||||
|
||||
/** 角色ID */
|
||||
@Excel(name = "角色序号", cellType = ColumnType.NUMERIC)
|
||||
private Long roleId;
|
||||
|
||||
/** 角色名称 */
|
||||
@Excel(name = "角色名称")
|
||||
private String roleName;
|
||||
|
||||
/** 角色权限 */
|
||||
@Excel(name = "角色权限")
|
||||
private String roleKey;
|
||||
|
||||
/** 角色排序 */
|
||||
@Excel(name = "角色排序")
|
||||
private Integer roleSort;
|
||||
|
||||
/** 数据范围(1:所有数据权限;2:自定义数据权限;3:本部门数据权限;4:本部门及以下数据权限;5:仅本人数据权限) */
|
||||
@Excel(name = "数据范围", readConverterExp = "1=所有数据权限,2=自定义数据权限,3=本部门数据权限,4=本部门及以下数据权限,5=仅本人数据权限")
|
||||
private String dataScope;
|
||||
|
||||
private String dataScopeName;
|
||||
|
||||
/** 菜单树选择项是否关联显示( 0:父子不互相关联显示 1:父子互相关联显示) */
|
||||
private boolean menuCheckStrictly;
|
||||
|
||||
/** 部门树选择项是否关联显示(0:父子不互相关联显示 1:父子互相关联显示 ) */
|
||||
private boolean deptCheckStrictly;
|
||||
|
||||
/** 角色状态(0正常 1停用) */
|
||||
@Excel(name = "角色状态", readConverterExp = "0=正常,1=停用")
|
||||
private String status;
|
||||
|
||||
/** 删除标志(0代表存在 2代表删除) */
|
||||
private String delFlag;
|
||||
|
||||
private Integer userCount;
|
||||
|
||||
/** 用户是否存在此角色标识 默认不存在 */
|
||||
private boolean flag = false;
|
||||
|
||||
/** 菜单组 */
|
||||
private Long[] menuIds;
|
||||
|
||||
/** 部门组(数据权限) */
|
||||
private Long[] deptIds;
|
||||
|
||||
/**
|
||||
* 所属公司ID
|
||||
*/
|
||||
private Long companyId;
|
||||
|
||||
/** 角色菜单权限 */
|
||||
private Set<String> permissions;
|
||||
|
||||
/**是否内置,0内置,1非内置*/
|
||||
private String isBuiltIn;
|
||||
|
||||
public SysRole()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public SysRole(Long roleId)
|
||||
{
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public Long getRoleId()
|
||||
{
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(Long roleId)
|
||||
{
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public boolean isAdmin()
|
||||
{
|
||||
return isAdmin(this.roleId);
|
||||
}
|
||||
|
||||
public static boolean isAdmin(Long roleId)
|
||||
{
|
||||
return roleId != null && 1L == roleId;
|
||||
}
|
||||
|
||||
@NotBlank(message = "角色名称不能为空")
|
||||
@Size(min = 0, max = 30, message = "角色名称长度不能超过30个字符")
|
||||
public String getRoleName()
|
||||
{
|
||||
return roleName;
|
||||
}
|
||||
|
||||
public void setRoleName(String roleName)
|
||||
{
|
||||
this.roleName = roleName;
|
||||
}
|
||||
|
||||
@NotBlank(message = "权限字符不能为空")
|
||||
@Size(min = 0, max = 100, message = "权限字符长度不能超过100个字符")
|
||||
public String getRoleKey()
|
||||
{
|
||||
return roleKey;
|
||||
}
|
||||
|
||||
public void setRoleKey(String roleKey)
|
||||
{
|
||||
this.roleKey = roleKey;
|
||||
}
|
||||
|
||||
@NotNull(message = "显示顺序不能为空")
|
||||
public Integer getRoleSort()
|
||||
{
|
||||
return roleSort;
|
||||
}
|
||||
|
||||
public void setRoleSort(Integer roleSort)
|
||||
{
|
||||
this.roleSort = roleSort;
|
||||
}
|
||||
|
||||
public String getDataScope()
|
||||
{
|
||||
return dataScope;
|
||||
}
|
||||
|
||||
public void setDataScope(String dataScope)
|
||||
{
|
||||
this.dataScope = dataScope;
|
||||
}
|
||||
|
||||
public boolean isMenuCheckStrictly()
|
||||
{
|
||||
return menuCheckStrictly;
|
||||
}
|
||||
|
||||
public void setMenuCheckStrictly(boolean menuCheckStrictly)
|
||||
{
|
||||
this.menuCheckStrictly = menuCheckStrictly;
|
||||
}
|
||||
|
||||
public boolean isDeptCheckStrictly()
|
||||
{
|
||||
return deptCheckStrictly;
|
||||
}
|
||||
|
||||
public void setDeptCheckStrictly(boolean deptCheckStrictly)
|
||||
{
|
||||
this.deptCheckStrictly = deptCheckStrictly;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getDelFlag()
|
||||
{
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag)
|
||||
{
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public boolean isFlag()
|
||||
{
|
||||
return flag;
|
||||
}
|
||||
|
||||
public void setFlag(boolean flag)
|
||||
{
|
||||
this.flag = flag;
|
||||
}
|
||||
|
||||
public Long[] getMenuIds()
|
||||
{
|
||||
return menuIds;
|
||||
}
|
||||
|
||||
public void setMenuIds(Long[] menuIds)
|
||||
{
|
||||
this.menuIds = menuIds;
|
||||
}
|
||||
|
||||
public Long[] getDeptIds()
|
||||
{
|
||||
return deptIds;
|
||||
}
|
||||
|
||||
public void setDeptIds(Long[] deptIds)
|
||||
{
|
||||
this.deptIds = deptIds;
|
||||
}
|
||||
|
||||
public Long getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Long companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
public Set<String> getPermissions()
|
||||
{
|
||||
return permissions;
|
||||
}
|
||||
|
||||
public void setPermissions(Set<String> permissions)
|
||||
{
|
||||
this.permissions = permissions;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("roleId", getRoleId())
|
||||
.append("roleName", getRoleName())
|
||||
.append("roleKey", getRoleKey())
|
||||
.append("roleSort", getRoleSort())
|
||||
.append("dataScope", getDataScope())
|
||||
.append("menuCheckStrictly", isMenuCheckStrictly())
|
||||
.append("deptCheckStrictly", isDeptCheckStrictly())
|
||||
.append("status", getStatus())
|
||||
.append("delFlag", getDelFlag())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
|
||||
public String getIsBuiltIn() {
|
||||
return isBuiltIn;
|
||||
}
|
||||
|
||||
public void setIsBuiltIn(String isBuiltIn) {
|
||||
this.isBuiltIn = isBuiltIn;
|
||||
}
|
||||
|
||||
public Integer getUserCount() {
|
||||
return userCount;
|
||||
}
|
||||
|
||||
public void setUserCount(Integer userCount) {
|
||||
this.userCount = userCount;
|
||||
}
|
||||
|
||||
public String getDataScopeName() {
|
||||
return dataScopeName;
|
||||
}
|
||||
|
||||
public void setDataScopeName(String dataScopeName) {
|
||||
this.dataScopeName = dataScopeName;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 权限模板对象 sys_template
|
||||
*
|
||||
* @author bonus
|
||||
* @date 2020-07-09
|
||||
*/
|
||||
@Data
|
||||
public class SysTemplate extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 模板名称 */
|
||||
@Excel(name = "模板名称")
|
||||
private String name;
|
||||
|
||||
private List<Long> menuIds;
|
||||
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 系统模板菜单表(SysTempMenu)实体类
|
||||
*
|
||||
* @author bonus
|
||||
* @since 2020-07-09 13:38:36
|
||||
*/
|
||||
public class SysTemplateMenu implements Serializable {
|
||||
private static final long serialVersionUID = 904598953972609708L;
|
||||
/**
|
||||
* 模板ID
|
||||
*/
|
||||
private Long tempId;
|
||||
/**
|
||||
* 菜单ID
|
||||
*/
|
||||
private Long menuId;
|
||||
|
||||
|
||||
public Long getTempId() {
|
||||
return tempId;
|
||||
}
|
||||
|
||||
public void setTempId(Long tempId) {
|
||||
this.tempId = tempId;
|
||||
}
|
||||
|
||||
public Long getMenuId() {
|
||||
return menuId;
|
||||
}
|
||||
|
||||
public void setMenuId(Long menuId) {
|
||||
this.menuId = menuId;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,432 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import com.bonus.common.core.annotation.Excel.ColumnType;
|
||||
import com.bonus.common.core.annotation.Excel.Type;
|
||||
import com.bonus.common.core.annotation.Excels;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
import com.bonus.common.core.xss.Xss;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import javax.validation.constraints.Email;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户对象 sys_user
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysUser extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
//用于excel导出的序号一列,不需要业务逻辑处理
|
||||
@Excel(name = "序号", isSequence = true, type = Excel.Type.EXPORT)
|
||||
int sequence;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@Excel(name = "用户序号", type = Type.EXPORT, cellType = ColumnType.NUMERIC, prompt = "用户编号")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 部门ID
|
||||
*/
|
||||
@Excel(name = "部门编号", type = Type.IMPORT)
|
||||
private Long deptId;
|
||||
|
||||
/**
|
||||
* 公司ID
|
||||
*/
|
||||
@Excel(name = "公司编号", type = Type.IMPORT)
|
||||
private Long companyId;
|
||||
|
||||
/**
|
||||
* 用户账号
|
||||
*/
|
||||
@Excel(name = "登录名称")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 用户昵称
|
||||
*/
|
||||
@Excel(name = "用户名称")
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* 用户邮箱
|
||||
*/
|
||||
@Excel(name = "用户邮箱")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
@Excel(name = "手机号码", cellType = ColumnType.TEXT)
|
||||
private String phonenumber;
|
||||
|
||||
/**
|
||||
* 用户性别
|
||||
*/
|
||||
@Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
|
||||
private String sex;
|
||||
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 帐号状态(0正常 1停用)
|
||||
*/
|
||||
@Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 最后登录IP
|
||||
*/
|
||||
@Excel(name = "最后登录IP", type = Type.EXPORT)
|
||||
private String loginIp;
|
||||
|
||||
/**
|
||||
* 最后登录时间
|
||||
*/
|
||||
@Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
|
||||
private Date loginDate;
|
||||
|
||||
/**
|
||||
* 部门对象
|
||||
*/
|
||||
@Excels({
|
||||
@Excel(name = "部门名称", targetAttr = "deptName", type = Type.EXPORT),
|
||||
@Excel(name = "部门负责人", targetAttr = "leader", type = Type.EXPORT)
|
||||
})
|
||||
private SysDept dept;
|
||||
|
||||
/**
|
||||
* 角色对象
|
||||
*/
|
||||
private List<SysRole> roles;
|
||||
|
||||
/**
|
||||
* 角色组
|
||||
*/
|
||||
private Long[] roleIds;
|
||||
|
||||
/**
|
||||
* 岗位组
|
||||
*/
|
||||
private Long[] postIds;
|
||||
|
||||
/**
|
||||
* 角色ID
|
||||
*/
|
||||
private Long roleId;
|
||||
|
||||
/**
|
||||
* 登录权限
|
||||
*/
|
||||
private String loginType;
|
||||
/**
|
||||
* 审批状态
|
||||
*/
|
||||
private String approvalStatus;
|
||||
/**
|
||||
* 长期和临时用户标识
|
||||
*/
|
||||
private String isPermanent;
|
||||
|
||||
/**是否内置,0内置,1非内置*/
|
||||
private String isBuiltIn = "1";
|
||||
|
||||
/** 是否为领导 0:否,1:是 */
|
||||
private String isLeader = "0";
|
||||
|
||||
private String roleName;
|
||||
|
||||
private Integer leaderOrderNum;
|
||||
|
||||
/** 正职 1,副职 2 */
|
||||
private String zfType;
|
||||
|
||||
public String getZfType() {
|
||||
return zfType;
|
||||
}
|
||||
|
||||
public void setZfType(String zfType) {
|
||||
this.zfType = zfType;
|
||||
}
|
||||
|
||||
public SysUser() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
public SysUser(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public boolean isAdmin() {
|
||||
return isAdmin(this.userId);
|
||||
}
|
||||
|
||||
public static boolean isAdmin(Long userId) {
|
||||
return userId != null && 1L == userId;
|
||||
}
|
||||
|
||||
public Long getDeptId() {
|
||||
return deptId;
|
||||
}
|
||||
|
||||
public void setDeptId(Long deptId) {
|
||||
this.deptId = deptId;
|
||||
}
|
||||
|
||||
public Long getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Long companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
@Xss(message = "用户昵称不能包含脚本字符")
|
||||
@Size(min = 0, max = 20, message = "用户昵称长度不能超过20个字符")
|
||||
public String getNickName() {
|
||||
return nickName;
|
||||
}
|
||||
|
||||
public void setNickName(String nickName) {
|
||||
this.nickName = nickName;
|
||||
}
|
||||
|
||||
@Xss(message = "用户账号不能包含脚本字符")
|
||||
@NotBlank(message = "用户账号不能为空")
|
||||
@Size(min = 0, max = 20, message = "用户账号长度不能超过20个字符")
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
@Email(message = "邮箱格式不正确")
|
||||
@Size(min = 0, max = 50, message = "邮箱长度不能超过50个字符")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
@Pattern(regexp = "^\\d{11}$", message = "手机号码只能包含11位数字")
|
||||
public String getPhonenumber() {
|
||||
return phonenumber;
|
||||
}
|
||||
|
||||
public void setPhonenumber(String phonenumber) {
|
||||
this.phonenumber = phonenumber;
|
||||
}
|
||||
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getLoginIp() {
|
||||
return loginIp;
|
||||
}
|
||||
|
||||
public void setLoginIp(String loginIp) {
|
||||
this.loginIp = loginIp;
|
||||
}
|
||||
|
||||
public Date getLoginDate() {
|
||||
return loginDate;
|
||||
}
|
||||
|
||||
public void setLoginDate(Date loginDate) {
|
||||
this.loginDate = loginDate;
|
||||
}
|
||||
|
||||
public SysDept getDept() {
|
||||
return dept;
|
||||
}
|
||||
|
||||
public void setDept(SysDept dept) {
|
||||
this.dept = dept;
|
||||
}
|
||||
|
||||
public List<SysRole> getRoles() {
|
||||
return roles;
|
||||
}
|
||||
|
||||
public void setRoles(List<SysRole> roles) {
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
public Long[] getRoleIds() {
|
||||
return roleIds;
|
||||
}
|
||||
|
||||
public void setRoleIds(Long[] roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
|
||||
public Long[] getPostIds() {
|
||||
return postIds;
|
||||
}
|
||||
|
||||
public void setPostIds(Long[] postIds) {
|
||||
this.postIds = postIds;
|
||||
}
|
||||
|
||||
public Long getRoleId() {
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(Long roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getLoginType() {
|
||||
return loginType;
|
||||
}
|
||||
|
||||
public void setLoginType(String loginType) {
|
||||
this.loginType = loginType;
|
||||
}
|
||||
|
||||
public String getApprovalStatus() {
|
||||
return approvalStatus;
|
||||
}
|
||||
|
||||
public void setApprovalStatus(String approvalStatus) {
|
||||
this.approvalStatus = approvalStatus;
|
||||
}
|
||||
|
||||
public String getIsPermanent() {
|
||||
return isPermanent;
|
||||
}
|
||||
|
||||
public void setIsPermanent(String isPermanent) {
|
||||
this.isPermanent = isPermanent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("userId", getUserId())
|
||||
.append("deptId", getDeptId())
|
||||
.append("userName", getUserName())
|
||||
.append("nickName", getNickName())
|
||||
.append("email", getEmail())
|
||||
.append("phonenumber", getPhonenumber())
|
||||
.append("sex", getSex())
|
||||
.append("avatar", getAvatar())
|
||||
.append("password", getPassword())
|
||||
.append("status", getStatus())
|
||||
.append("delFlag", getDelFlag())
|
||||
.append("loginIp", getLoginIp())
|
||||
.append("loginDate", getLoginDate())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.append("dept", getDept())
|
||||
.append("loginType", getLoginType())
|
||||
.toString();
|
||||
}
|
||||
|
||||
public String getIsBuiltIn() {
|
||||
return isBuiltIn;
|
||||
}
|
||||
|
||||
public void setIsBuiltIn(String isBuiltIn) {
|
||||
this.isBuiltIn = isBuiltIn;
|
||||
}
|
||||
|
||||
public String getIsLeader() {
|
||||
return isLeader;
|
||||
}
|
||||
|
||||
public void setIsLeader(String isLeader) {
|
||||
this.isLeader = isLeader;
|
||||
}
|
||||
|
||||
public String getRoleName() {
|
||||
return roleName;
|
||||
}
|
||||
|
||||
public void setRoleName(String roleName) {
|
||||
this.roleName = roleName;
|
||||
}
|
||||
|
||||
public Integer getLeaderOrderNum() {
|
||||
return leaderOrderNum;
|
||||
}
|
||||
|
||||
public void setLeaderOrderNum(Integer leaderOrderNum) {
|
||||
this.leaderOrderNum = leaderOrderNum;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 用户和角色关联 sys_user_role
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class SysUserRole
|
||||
{
|
||||
/** 用户ID */
|
||||
private Long userId;
|
||||
|
||||
/** 角色ID */
|
||||
private Long roleId;
|
||||
|
||||
public Long getUserId()
|
||||
{
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId)
|
||||
{
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getRoleId()
|
||||
{
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(Long roleId)
|
||||
{
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("userId", getUserId())
|
||||
.append("roleId", getRoleId())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
package com.bonus.system.api.domain;
|
||||
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Tree基类
|
||||
*
|
||||
* @author ldlv
|
||||
*/
|
||||
public class TreeEntity extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 父菜单名称 */
|
||||
private String parentName;
|
||||
|
||||
/** 父菜单ID */
|
||||
private Long parentId;
|
||||
|
||||
/** 显示顺序 */
|
||||
private Integer orderNum;
|
||||
|
||||
/** 祖级列表 */
|
||||
private String ancestors;
|
||||
|
||||
/** 子部门 */
|
||||
private List<?> children = new ArrayList<>();
|
||||
|
||||
public String getParentName()
|
||||
{
|
||||
return parentName;
|
||||
}
|
||||
|
||||
public void setParentName(String parentName)
|
||||
{
|
||||
this.parentName = parentName;
|
||||
}
|
||||
|
||||
public Long getParentId()
|
||||
{
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setParentId(Long parentId)
|
||||
{
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getOrderNum()
|
||||
{
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(Integer orderNum)
|
||||
{
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public String getAncestors()
|
||||
{
|
||||
return ancestors;
|
||||
}
|
||||
|
||||
public void setAncestors(String ancestors)
|
||||
{
|
||||
this.ancestors = ancestors;
|
||||
}
|
||||
|
||||
public List<?> getChildren()
|
||||
{
|
||||
return children;
|
||||
}
|
||||
|
||||
public void setChildren(List<?> children)
|
||||
{
|
||||
this.children = children;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.constant.HttpStatus;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.RemoteConfigService;
|
||||
import com.bonus.system.api.domain.SysConfig;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
//import org.springframework.cloud.openfeign.FallbackFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteConfigFallbackFactory implements FallbackFactory<RemoteConfigService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteConfigFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteConfigService create(Throwable throwable)
|
||||
{
|
||||
log.error("系统服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteConfigService()
|
||||
{
|
||||
@Override
|
||||
public TableDataInfo list(SysConfig config, String source){
|
||||
return getDataTableError(new ArrayList<SysConfig>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long configId, String source){
|
||||
return AjaxResult.error("根据参数编号获取参数配置列表失败:" + throwable.getMessage());
|
||||
}
|
||||
@Override
|
||||
public AjaxResult getConfigKey(String configKey){
|
||||
return AjaxResult.error("根据参数键名获取参数配置列表失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysConfig config, String source){
|
||||
return AjaxResult.error("新增参数配置失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysConfig config, String source){
|
||||
return AjaxResult.error("修改参数配置失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long[] configIds, String source){
|
||||
return AjaxResult.error("删除参数配置失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
* 响应请求分页数据
|
||||
*/
|
||||
private TableDataInfo getDataTableError(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.ERROR);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("系统错误,请联系管理员");
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.system.api.RemoteDeptService;
|
||||
import com.bonus.system.api.domain.SysDept;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteDeptFallbackFactory implements FallbackFactory<RemoteDeptService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteDeptFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteDeptService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteDeptService()
|
||||
{
|
||||
|
||||
@Override
|
||||
public AjaxResult list(SysDept dept, String source){
|
||||
return AjaxResult.error("获取部门列表失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long deptId, String source){
|
||||
return AjaxResult.error("根据部门编号获取部门失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysDept dept, String source){
|
||||
return AjaxResult.error("添加部门失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysDept dept, String source){
|
||||
return AjaxResult.error("修改部门失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long deptId, String source){
|
||||
return AjaxResult.error("删除部门失败:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.constant.HttpStatus;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.RemoteDictDataService;
|
||||
import com.bonus.system.api.domain.SysDictData;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteDictDataFallbackFactory implements FallbackFactory<RemoteDictDataService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteDictDataFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteDictDataService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteDictDataService()
|
||||
{
|
||||
|
||||
@Override
|
||||
public TableDataInfo list(SysDictData dictData, String source) {
|
||||
return getDataTableError(new ArrayList<SysDictData>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long dictCode, String source) {
|
||||
return AjaxResult.error("根据条件获取字典数据失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult dictType(String dictType, String source) {
|
||||
return AjaxResult.error("根据字典类型获取字典数据失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysDictData dict, String source) {
|
||||
return AjaxResult.error("新增字典数据失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysDictData dict, String source) {
|
||||
return AjaxResult.error("修改字典数据失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long[] dictCodes, String source) {
|
||||
return AjaxResult.error("删除字典数据失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
private TableDataInfo getDataTableError(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.ERROR);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("系统错误,请联系管理员");
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,75 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.constant.HttpStatus;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.RemoteDictTypeService;
|
||||
import com.bonus.system.api.domain.SysDictType;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteDictTypeFallbackFactory implements FallbackFactory<RemoteDictTypeService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteDictTypeFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteDictTypeService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteDictTypeService()
|
||||
{
|
||||
|
||||
@Override
|
||||
public TableDataInfo list(SysDictType dictType, String source) {
|
||||
return getDataTableError(new ArrayList<SysDictType>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long dictId, String source) {
|
||||
return AjaxResult.error("根据字典类型id获取字典类型失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysDictType dict, String source) {
|
||||
return AjaxResult.error("新增字典类型失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysDictType dict, String source) {
|
||||
return AjaxResult.error("修改字典类型失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long[] dictIds, String source) {
|
||||
return AjaxResult.error("删除字典类型失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult optionselect(String source) {
|
||||
return AjaxResult.error("获取字典类型失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
private TableDataInfo getDataTableError(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.ERROR);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("系统错误,请联系管理员");
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import com.bonus.common.core.domain.R;
|
||||
import com.bonus.system.api.RemoteFileService;
|
||||
import com.bonus.system.api.domain.SysFile;
|
||||
|
||||
/**
|
||||
* 文件服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteFileFallbackFactory implements FallbackFactory<RemoteFileService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteFileFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteFileService create(Throwable throwable)
|
||||
{
|
||||
log.error("文件服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteFileService()
|
||||
{
|
||||
@Override
|
||||
public AjaxResult upload(MultipartFile file)
|
||||
{
|
||||
return AjaxResult.error("单上传文件失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult uploadFile(MultipartFile[] files) {
|
||||
return AjaxResult.error("多上传文件失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult deleteFile(String objectKey) {
|
||||
return AjaxResult.error("删除文件失败:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
//import com.alibaba.nacos.shaded.com.google.common.collect.Maps;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
|
||||
|
||||
import com.bonus.system.api.domain.SysLogsVo;
|
||||
import com.google.common.collect.Maps;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import com.bonus.common.core.domain.R;
|
||||
import com.bonus.system.api.RemoteLogService;
|
||||
import com.bonus.system.api.domain.SysLogininfor;
|
||||
import com.bonus.system.api.domain.SysOperLog;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 日志服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteLogFallbackFactory implements FallbackFactory<RemoteLogService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteLogFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteLogService create(Throwable throwable)
|
||||
{
|
||||
log.error("日志服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteLogService()
|
||||
{
|
||||
// @Override
|
||||
// public R<Boolean> saveLog(SysOperLog sysOperLog, String source)
|
||||
// {
|
||||
// return R.fail("保存操作日志失败:" + throwable.getMessage());
|
||||
// }
|
||||
|
||||
@Override
|
||||
public R<Boolean> addLogs(SysLogsVo sysLogsVo, String source) throws Exception {
|
||||
return R.fail("保存操作日志失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String,String> getLogsModule(SysLogsVo sysLogsVo, String source) throws Exception {
|
||||
Map<String,String> map= Maps.newHashMap();
|
||||
map.put("code","400");
|
||||
map.put("mgs","查询日志失败:throwable.getMessage()");
|
||||
return map;
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> saveLogininfor(SysLogininfor sysLogininfor, String source)
|
||||
{
|
||||
return R.fail("保存登录日志失败:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.system.api.RemoteMenuService;
|
||||
import com.bonus.system.api.domain.SysMenu;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteMenuFallbackFactory implements FallbackFactory<RemoteMenuService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteMenuFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteMenuService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteMenuService()
|
||||
{
|
||||
|
||||
@Override
|
||||
public AjaxResult list(SysMenu menu, String source) {
|
||||
return AjaxResult.error("根据条件获取菜单列表失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long menuId, String source) {
|
||||
return AjaxResult.error("根据ID获取菜单信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult treeselect(SysMenu menu, String source) {
|
||||
return AjaxResult.error("根据条件获取菜单树失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult roleMenuTreeselect(Long roleId, String source) {
|
||||
return AjaxResult.error("根据角色ID获取菜单树失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysMenu menu, String source) {
|
||||
return AjaxResult.error("新增菜单失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysMenu menu, String source) {
|
||||
return AjaxResult.error("修改菜单失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getRouters(String source) {
|
||||
return AjaxResult.error("获取登录用户的菜单树失败:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,69 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.constant.HttpStatus;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.RemoteNoticeService;
|
||||
import com.bonus.system.api.domain.SysNotice;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteNoticeFallbackFactory implements FallbackFactory<RemoteNoticeService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteNoticeFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteNoticeService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteNoticeService()
|
||||
{
|
||||
@Override
|
||||
public TableDataInfo list(SysNotice notice, String source) {
|
||||
return getDataTableError(new ArrayList<SysNotice>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long noticeId, String source) {
|
||||
return AjaxResult.error("根据公告id获取公告信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysNotice notice, String source) {
|
||||
return AjaxResult.error("新增公告失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysNotice notice, String source) {
|
||||
return AjaxResult.error("修改公告失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long[] noticeIds, String source) {
|
||||
return AjaxResult.error("删除公告失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
private TableDataInfo getDataTableError(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.ERROR);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("系统错误,请联系管理员");
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.constant.HttpStatus;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.RemotePostService;
|
||||
import com.bonus.system.api.domain.SysPost;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemotePostFallbackFactory implements FallbackFactory<RemotePostService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemotePostFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemotePostService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemotePostService()
|
||||
{
|
||||
@Override
|
||||
public TableDataInfo list(SysPost post, String source) {
|
||||
return getDataTableError(new ArrayList<SysPost>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long postId, String source) {
|
||||
return AjaxResult.error("根据岗位id获取岗位信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysPost post, String source) {
|
||||
return AjaxResult.error("新增岗位失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysPost post, String source) {
|
||||
return AjaxResult.error("修改岗位失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long[] postIds, String source) {
|
||||
return AjaxResult.error("删除岗位失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult optionselect(String source) {
|
||||
return AjaxResult.warn("获取所有岗位列表失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
private TableDataInfo getDataTableError(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.ERROR);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("系统错误,请联系管理员");
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.system.api.RemoteProfileService;
|
||||
import com.bonus.system.api.domain.SysUser;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteProfileFallbackFactory implements FallbackFactory<RemoteProfileService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteProfileFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteProfileService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteProfileService()
|
||||
{
|
||||
@Override
|
||||
public AjaxResult profile(String source) {
|
||||
return AjaxResult.error("获取当前登录用户个人信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult updateProfile(SysUser user, String source) {
|
||||
return AjaxResult.error("修改当前登录用户个人信息失败:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,127 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.constant.HttpStatus;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.RemoteRoleService;
|
||||
import com.bonus.system.api.domain.SysRole;
|
||||
import com.bonus.system.api.domain.SysUser;
|
||||
import com.bonus.system.api.domain.SysUserRole;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteRoleFallbackFactory implements FallbackFactory<RemoteRoleService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteRoleFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteRoleService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteRoleService()
|
||||
{
|
||||
@Override
|
||||
public TableDataInfo list(SysRole role, String source) {
|
||||
return getDataTableError(new ArrayList<SysRole>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long roleId, String source) {
|
||||
return AjaxResult.error("根据角色id获取角色信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysRole role, String source) {
|
||||
return AjaxResult.error("新增角色失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysRole role, String source) {
|
||||
return AjaxResult.error("修改角色失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult dataScope(SysRole role, String source) {
|
||||
return AjaxResult.error("修改角色数据权限失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult changeStatus(SysRole role, String source) {
|
||||
return AjaxResult.error("修改角色状态失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long[] roleIds, String source) {
|
||||
return AjaxResult.error("删除角色失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult optionselect(String source) {
|
||||
return AjaxResult.error("获取角色下拉列表失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableDataInfo allocatedList(SysUser user, String source) {
|
||||
return getDataTableError(new ArrayList<SysUser>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableDataInfo unallocatedList(SysUser user, String source) {
|
||||
return getDataTableError(new ArrayList<SysUser>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult cancelAuthUser(SysUserRole userRole, String source) {
|
||||
return AjaxResult.error("取消授权失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds, String source) {
|
||||
return AjaxResult.error("批量取消授权失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds, String source) {
|
||||
return AjaxResult.error("批量选择授权失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult deptTree(Long roleId, String source) {
|
||||
return AjaxResult.error("获取角色部门树失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
private TableDataInfo getDataTableError(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.ERROR);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("系统错误,请联系管理员");
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
// @Override
|
||||
// public R<LoginUser> getUserInfo(String username, String source)
|
||||
// {
|
||||
// return R.fail("获取用户失败:" + throwable.getMessage());
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public R<Boolean> registerUserInfo(SysUser sysUser, String source)
|
||||
// {
|
||||
// return R.fail("注册用户失败:" + throwable.getMessage());
|
||||
// }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,160 +0,0 @@
|
|||
package com.bonus.system.api.factory;
|
||||
|
||||
import com.bonus.common.core.constant.HttpStatus;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.system.api.domain.SysDept;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import feign.hystrix.FallbackFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
import com.bonus.common.core.domain.R;
|
||||
import com.bonus.system.api.RemoteUserService;
|
||||
import com.bonus.system.api.domain.SysUser;
|
||||
import com.bonus.system.api.model.LoginUser;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户服务降级处理
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
@Component
|
||||
public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserService>
|
||||
{
|
||||
private static final Logger log = LoggerFactory.getLogger(RemoteUserFallbackFactory.class);
|
||||
|
||||
@Override
|
||||
public RemoteUserService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
return new RemoteUserService()
|
||||
{
|
||||
@Override
|
||||
public TableDataInfo list(SysUser user, String source) {
|
||||
return getDataTableError(new ArrayList<SysUser>());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<LoginUser> getUserInfo(String username, String source)
|
||||
{
|
||||
return R.fail("获取用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过用户名查询用户信息
|
||||
*
|
||||
* @param phone 手机号
|
||||
* @param source 请求来源
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public R<LoginUser> getUserInfoByPhone(String phone, String source) {
|
||||
return R.fail("获取用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过用户名查询用户信息
|
||||
*
|
||||
* @param email 邮箱
|
||||
* @param source 请求来源
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public R<LoginUser> getUserInfoByEmail(String email, String source) {
|
||||
return R.fail("获取用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> registerUserInfo(SysUser sysUser, String source)
|
||||
{
|
||||
return R.fail("注册用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(String source) {
|
||||
return AjaxResult.error("获取当前登录用户权限内的角色和权限集合失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfo(Long userId, String source) {
|
||||
return AjaxResult.error("根据用户编号获取详细信息,用户权限内的角色和权限集合失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getUsers(Long[] userIds, String source) {
|
||||
return AjaxResult.error("根据用户编号列表获取用户列表,用户权限内的角色和权限集合失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult add(SysUser user, String source) {
|
||||
return AjaxResult.error("新增用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult edit(SysUser user, String source) {
|
||||
return AjaxResult.error("修改用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改用户
|
||||
*
|
||||
* @param user 修改用户的用户信息
|
||||
* @param source 请求来源
|
||||
* @return 修改用户影响的行数或错误信息
|
||||
*/
|
||||
@Override
|
||||
public AjaxResult systemUpdateUser(SysUser user, String source) {
|
||||
return AjaxResult.error("修改用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult remove(Long[] userIds, String source) {
|
||||
return AjaxResult.error("删除用户失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult changeStatus(SysUser user, String source) {
|
||||
return AjaxResult.error("修改用户状态失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult authRole(Long userId, String source) {
|
||||
return AjaxResult.error("根据用户编号获取授权角色信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult insertAuthRole(Long userId, Long[] roleIds, String source) {
|
||||
return AjaxResult.error("给定用户id给用户授权角色失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult deptTree(SysDept dept, String source) {
|
||||
return AjaxResult.error("获取部门权限下的部门树列表:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult deptUserTree(SysUser sysUser, String source) {
|
||||
return AjaxResult.error("查询部门人员树列表:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult approvalStatus(SysUser user, String source) {
|
||||
return AjaxResult.error("修改用户审批状态失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
private TableDataInfo getDataTableError(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.ERROR);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("系统错误,请联系管理员");
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -1,204 +0,0 @@
|
|||
package com.bonus.system.api.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Set;
|
||||
import com.bonus.system.api.domain.SysUser;
|
||||
|
||||
/**
|
||||
* 用户信息
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class LoginUser implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 用户唯一标识
|
||||
*/
|
||||
private String token;
|
||||
|
||||
/**
|
||||
* 用户名id
|
||||
*/
|
||||
private Long userid;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 登录时间
|
||||
*/
|
||||
private Long loginTime;
|
||||
|
||||
/**
|
||||
* 过期时间
|
||||
*/
|
||||
private Long expireTime;
|
||||
|
||||
/**
|
||||
* 登录IP地址
|
||||
*/
|
||||
private String ipaddr;
|
||||
|
||||
/**
|
||||
* 权限列表
|
||||
*/
|
||||
private Set<String> permissions;
|
||||
|
||||
/**
|
||||
* 角色列表
|
||||
*/
|
||||
private Set<String> roles;
|
||||
|
||||
/**
|
||||
* 用户信息
|
||||
*/
|
||||
private SysUser sysUser;
|
||||
|
||||
/**
|
||||
* 浏览器类型
|
||||
*/
|
||||
private String browser;
|
||||
|
||||
/**
|
||||
* 操作系统
|
||||
*/
|
||||
private String os;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 部门ID
|
||||
*/
|
||||
private Long deptId;
|
||||
|
||||
/**
|
||||
* 登录地点
|
||||
*/
|
||||
private String loginLocation;
|
||||
|
||||
public Long getDeptId() {
|
||||
return deptId;
|
||||
}
|
||||
|
||||
public void setDeptId(Long deptId) {
|
||||
this.deptId = deptId;
|
||||
}
|
||||
|
||||
public String getToken()
|
||||
{
|
||||
return token;
|
||||
}
|
||||
|
||||
public void setToken(String token)
|
||||
{
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public Long getUserid()
|
||||
{
|
||||
return userid;
|
||||
}
|
||||
|
||||
public void setUserid(Long userid)
|
||||
{
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
public String getUsername()
|
||||
{
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username)
|
||||
{
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public Long getLoginTime()
|
||||
{
|
||||
return loginTime;
|
||||
}
|
||||
|
||||
public void setLoginTime(Long loginTime)
|
||||
{
|
||||
this.loginTime = loginTime;
|
||||
}
|
||||
|
||||
public Long getExpireTime()
|
||||
{
|
||||
return expireTime;
|
||||
}
|
||||
|
||||
public void setExpireTime(Long expireTime)
|
||||
{
|
||||
this.expireTime = expireTime;
|
||||
}
|
||||
|
||||
public String getIpaddr()
|
||||
{
|
||||
return ipaddr;
|
||||
}
|
||||
|
||||
public void setIpaddr(String ipaddr)
|
||||
{
|
||||
this.ipaddr = ipaddr;
|
||||
}
|
||||
|
||||
public Set<String> getPermissions()
|
||||
{
|
||||
return permissions;
|
||||
}
|
||||
|
||||
public void setPermissions(Set<String> permissions)
|
||||
{
|
||||
this.permissions = permissions;
|
||||
}
|
||||
|
||||
public Set<String> getRoles()
|
||||
{
|
||||
return roles;
|
||||
}
|
||||
|
||||
public void setRoles(Set<String> roles)
|
||||
{
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
public SysUser getSysUser()
|
||||
{
|
||||
return sysUser;
|
||||
}
|
||||
|
||||
public void setSysUser(SysUser sysUser)
|
||||
{
|
||||
this.sysUser = sysUser;
|
||||
}
|
||||
|
||||
public String getLoginLocation() {
|
||||
return loginLocation;
|
||||
}
|
||||
|
||||
public void setLoginLocation(String loginLocation) {
|
||||
this.loginLocation = loginLocation;
|
||||
}
|
||||
|
||||
public String getBrowser() {
|
||||
return browser;
|
||||
}
|
||||
|
||||
public void setBrowser(String browser) {
|
||||
this.browser = browser;
|
||||
}
|
||||
|
||||
public String getOs() {
|
||||
return os;
|
||||
}
|
||||
|
||||
public void setOs(String os) {
|
||||
this.os = os;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
com.bonus.system.api.factory.RemoteUserFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteLogFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteFileFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteConfigFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteDeptFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteDictTypeFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteDictDataFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteMenuFallbackFactory
|
||||
com.bonus.system.api.factory.RemotePostFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteRoleFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteNoticeFallbackFactory
|
||||
com.bonus.system.api.factory.RemoteProfileFallbackFactory
|
||||
|
|
@ -1,247 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<module version="4" relativePaths="false" type="JAVA_MODULE">
|
||||
<component name="NewModuleRootManager">
|
||||
<exclude-output/>
|
||||
<orderEntry type="inheritedJdk"/>
|
||||
<!-- output url="file://$$MODULE_DIR$$/${maven.build.dest}"/ -->
|
||||
<!-- output-test url="file://$$MODULE_DIR$$/${maven.test.dest}"/ -->
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<!-- sourceFolder url="file://$$MODULE_DIR$$/${pom.build.sourceDirectory}" isTestSource="false"/ -->
|
||||
<!-- sourceFolder url="file://$$MODULE_DIR$$/${pom.build.testSourceDirectory}" isTestSource="true"/ -->
|
||||
<excludeFolder url="file://$MODULE_DIR$/target"/>
|
||||
</content>
|
||||
<orderEntry type="sourceFolder" forTests="false"/>
|
||||
<!-- Next include each dependency:
|
||||
<orderEntry type="module" module-name="${dep.artifactId}"/>
|
||||
<orderEntry type="module-library">
|
||||
<library name="${dep.artifactId}">
|
||||
<CLASSES>
|
||||
<root url="jar://${lib.path}!/"/>
|
||||
</CLASSES>
|
||||
<JAVADOC/>
|
||||
<SOURCES/>
|
||||
</library>
|
||||
</orderEntry>
|
||||
-->
|
||||
<output url="file://$MODULE_DIR$/target/classes"/>
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes"/>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-starter-bootstrap/3.0.3/spring-cloud-starter-bootstrap-3.0.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-starter/2.1.1.RELEASE/spring-cloud-starter-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter/2.1.1.RELEASE/spring-boot-starter-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot/2.1.1.RELEASE/spring-boot-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-core/5.1.3.RELEASE/spring-core-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-jcl/5.1.3.RELEASE/spring-jcl-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-context/5.1.3.RELEASE/spring-context-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-aop/5.1.3.RELEASE/spring-aop-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-beans/5.1.3.RELEASE/spring-beans-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/spring-expression/5.1.3.RELEASE/spring-expression-5.1.3.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-autoconfigure/2.1.1.RELEASE/spring-boot-autoconfigure-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/boot/spring-boot-starter-logging/2.1.1.RELEASE/spring-boot-starter-logging-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/logging/log4j/log4j-to-slf4j/2.11.1/log4j-to-slf4j-2.11.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-context/2.1.1.RELEASE/spring-cloud-context-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/security/spring-security-crypto/5.1.2.RELEASE/spring-security-crypto-5.1.2.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/cloud/spring-cloud-commons/2.1.1.RELEASE/spring-cloud-commons-2.1.1.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/springframework/security/spring-security-rsa/1.0.7.RELEASE/spring-security-rsa-1.0.7.RELEASE.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/bouncycastle/bcpkix-jdk15on/1.60/bcpkix-jdk15on-1.60.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://D:/apache-maven-3.6.3-bin/zhgdRepo/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar!/"/>
|
||||
</CLASSES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
<component name="ModuleRootManager"/>
|
||||
<!-- If it's a war project:
|
||||
<component name="WebModuleProperties">
|
||||
<containerElement type="module" name="${dep.artifactId}">
|
||||
<attribute name="method" value="1" />
|
||||
<attribute name="URI" value="/WEB-INF/classes" />
|
||||
</containerElement>
|
||||
<containerElement type="library" level="module" name="${dep.artifactId}">
|
||||
<attribute name="method" value="1" />
|
||||
<attribute name="URI" value="/WEB-INF/lib/${dep.systemPath.name}" />
|
||||
</containerElement>
|
||||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/${pom.build.warSourceDirectory}/WEB-INF/web.xml" version="" />
|
||||
<webroots>
|
||||
<root url="file://$MODULE_DIR$/${pom.build.warSourceDirectory}" relative="/" />
|
||||
</webroots>
|
||||
</component>
|
||||
-->
|
||||
</module>
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.bonus</groupId>
|
||||
<artifactId>hn-gateway</artifactId>
|
||||
<version>24.12.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<modules>
|
||||
<module>bonus-api-system</module>
|
||||
</modules>
|
||||
|
||||
<artifactId>bonus-api</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<description>
|
||||
bonus-api系统接口
|
||||
</description>
|
||||
|
||||
</project>
|
||||
|
|
@ -88,6 +88,16 @@
|
|||
<groupId>com.bonus</groupId>
|
||||
<artifactId>bonus-common-config</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.bonus</groupId>
|
||||
<artifactId>bonus-common-core</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<artifactId>hn-gateway</artifactId>
|
||||
<version>24.12.0-SNAPSHOT</version>
|
||||
|
||||
<name>hn-gateway</name>
|
||||
<name>bonus</name>
|
||||
<url>http://www.ahbonus.cn</url>
|
||||
<description>博诺思微服务系统</description>
|
||||
|
||||
|
|
@ -79,6 +79,12 @@
|
|||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- FastDFS 分布式文件系统 -->
|
||||
<dependency>
|
||||
<groupId>com.github.tobato</groupId>
|
||||
<artifactId>fastdfs-client</artifactId>
|
||||
<version>${tobato.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Swagger 依赖配置 -->
|
||||
<dependency>
|
||||
|
|
@ -185,6 +191,12 @@
|
|||
<version>${bonus.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 分布式事务 -->
|
||||
<dependency>
|
||||
<groupId>com.bonus</groupId>
|
||||
<artifactId>bonus-common-seata</artifactId>
|
||||
<version>${bonus.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 日志记录 -->
|
||||
<dependency>
|
||||
|
|
@ -222,9 +234,7 @@
|
|||
|
||||
<modules>
|
||||
<module>bonus-gateway</module>
|
||||
<module>bonus-api</module>
|
||||
<module>bonus-common</module>
|
||||
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
|
|
@ -269,29 +279,29 @@
|
|||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<!-- <repositories>-->
|
||||
<!-- <repository>-->
|
||||
<!-- <id>public</id>-->
|
||||
<!-- <name>aliyun nexus</name>-->
|
||||
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
|
||||
<!-- <releases>-->
|
||||
<!-- <enabled>true</enabled>-->
|
||||
<!-- </releases>-->
|
||||
<!-- </repository>-->
|
||||
<!-- </repositories>-->
|
||||
<!-- <repositories>-->
|
||||
<!-- <repository>-->
|
||||
<!-- <id>public</id>-->
|
||||
<!-- <name>aliyun nexus</name>-->
|
||||
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
|
||||
<!-- <releases>-->
|
||||
<!-- <enabled>true</enabled>-->
|
||||
<!-- </releases>-->
|
||||
<!-- </repository>-->
|
||||
<!-- </repositories>-->
|
||||
|
||||
<!-- <pluginRepositories>-->
|
||||
<!-- <pluginRepository>-->
|
||||
<!-- <id>public</id>-->
|
||||
<!-- <name>aliyun nexus</name>-->
|
||||
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
|
||||
<!-- <releases>-->
|
||||
<!-- <enabled>true</enabled>-->
|
||||
<!-- </releases>-->
|
||||
<!-- <snapshots>-->
|
||||
<!-- <enabled>false</enabled>-->
|
||||
<!-- </snapshots>-->
|
||||
<!-- </pluginRepository>-->
|
||||
<!-- </pluginRepositories>-->
|
||||
<!-- <pluginRepositories>-->
|
||||
<!-- <pluginRepository>-->
|
||||
<!-- <id>public</id>-->
|
||||
<!-- <name>aliyun nexus</name>-->
|
||||
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
|
||||
<!-- <releases>-->
|
||||
<!-- <enabled>true</enabled>-->
|
||||
<!-- </releases>-->
|
||||
<!-- <snapshots>-->
|
||||
<!-- <enabled>false</enabled>-->
|
||||
<!-- </snapshots>-->
|
||||
<!-- </pluginRepository>-->
|
||||
<!-- </pluginRepositories>-->
|
||||
|
||||
</project>
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue