From e86cfb5f587e1412032a13afce29802fd788f016 Mon Sep 17 00:00:00 2001 From: 1821349743@qq.com <1821349743@qq.com> Date: 星期四, 06 四月 2023 15:38:35 +0800 Subject: [PATCH] Revert "init" --- /dev/null | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index d71aa48..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <annotationProcessing> - <profile default="true" name="Default" enabled="true" /> - <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="product-server-web" /> - <module name="picc-server-admin" /> - </profile> - </annotationProcessing> - </component> - <component name="JavacSettings"> - <option name="ADDITIONAL_OPTIONS_OVERRIDE"> - <module name="picc-server-admin" options="-parameters" /> - <module name="product-server-web" options="-parameters" /> - </option> - </component> -</project> \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml deleted file mode 100644 index af3454a..0000000 --- a/.idea/dataSources.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="DataSourceManagerImpl" format="xml" multifile-model="true"> - <data-source source="LOCAL" name="200picc_db" uuid="3519c233-1d68-4729-a716-81755a859558"> - <driver-ref>mysql.8</driver-ref> - <synchronize>true</synchronize> - <jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver> - <jdbc-url>jdbc:mysql://192.168.0.200:3306/picc_product_db_v2.0.0</jdbc-url> - <working-dir>$ProjectFileDir$</working-dir> - </data-source> - </component> -</project> \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index 2e97686..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="Encoding" native2AsciiForPropertiesFiles="true" defaultCharsetForPropertiesFiles="UTF-8"> - <file url="file://$PROJECT_DIR$/picc-server-admin/src/main/java" charset="UTF-8" /> - <file url="file://$PROJECT_DIR$/product-server-web/src/main/java" charset="UTF-8" /> - <file url="PROJECT" charset="UTF-8" /> - </component> -</project> \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml deleted file mode 100644 index abb532a..0000000 --- a/.idea/jarRepositories.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="RemoteRepositoriesConfiguration"> - <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="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="central" /> - <option name="name" value="Central Repository" /> - <option name="url" value="https://maven.aliyun.com/repository/public" /> - </remote-repository> - </component> -</project> \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index d5cd614..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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" /> - </list> - </option> - </component> - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" /> -</project> \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 797acea..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="RunConfigurationProducerService"> - <option name="ignoredProducers"> - <set> - <option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" /> - </set> - </option> - </component> -</project> \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 8854cbb..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/product-server-web" vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/lucene/indexDir/segments_1 b/lucene/indexDir/segments_1 deleted file mode 100644 index 1ef3e5c..0000000 --- a/lucene/indexDir/segments_1 +++ /dev/null Binary files differ diff --git a/lucene/indexDir/write.lock b/lucene/indexDir/write.lock deleted file mode 100644 index e69de29..0000000 --- a/lucene/indexDir/write.lock +++ /dev/null diff --git a/picc-server-admin/pom.xml b/picc-server-admin/pom.xml deleted file mode 100644 index 21e463b..0000000 --- a/picc-server-admin/pom.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>com.lx</groupId> - <artifactId>product-server</artifactId> - <version>1.1.0-SNAPSHOT</version> - </parent> - <artifactId>picc-server-admin</artifactId> - <name>picc-server-admin</name> - <url>http://maven.apache.org</url> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - <dependencies> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-common</artifactId> - <version>1.1.0-SNAPSHOT</version> - </dependency> - <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime --> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-core</artifactId> - <version>1.0.0-releases</version> - </dependency> - </dependencies> -</project> \ No newline at end of file diff --git a/picc-server-admin/src/main/java/com/picc/admin/config/CmnConst.java b/picc-server-admin/src/main/java/com/picc/admin/config/CmnConst.java deleted file mode 100644 index fafac4a..0000000 --- a/picc-server-admin/src/main/java/com/picc/admin/config/CmnConst.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.picc.admin.config; - -public class CmnConst { - - - -} diff --git a/picc-server-admin/src/main/java/com/picc/admin/config/ErrorCode.java b/picc-server-admin/src/main/java/com/picc/admin/config/ErrorCode.java deleted file mode 100644 index 876b363..0000000 --- a/picc-server-admin/src/main/java/com/picc/admin/config/ErrorCode.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.picc.admin.config; - -import com.product.common.enums.IEnum; -import com.product.common.enums.ModuleEnum; - -/** - * Copyright 漏 2019. - * - * @Title: INSURECode - * @Project:LX - * @Date: 2019-05-13 13:39 - * @Author: Dave.Luo - * @Description: 绯荤粺璁剧疆杩斿洖鐮佸畾涔� - */ - -public enum ErrorCode implements IEnum { - - INSURE_OPERATION_SUCCESS("鎴愬姛", "200"), - INSURE_FORM_NODATA("璇锋眰鍙傛暟涓虹┖", ModuleEnum.INSURE.getValue() + "001"), - ; - - private String text; - private String value; - - private ErrorCode(String text, String value) { - this.text = text; - this.value = value; - } - - public String getText() { - return text; - } - - public String getValue() { - return value; - } -} diff --git a/picc-server-admin/src/main/java/com/picc/admin/service/ipml/PermissionManagerService.java b/picc-server-admin/src/main/java/com/picc/admin/service/ipml/PermissionManagerService.java deleted file mode 100644 index 88fccee..0000000 --- a/picc-server-admin/src/main/java/com/picc/admin/service/ipml/PermissionManagerService.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.picc.admin.service.ipml; - -import com.product.common.lang.StringUtils; -import com.product.core.dao.BaseDao; -import com.product.core.entity.DataTableEntity; -import com.product.core.entity.FieldSetEntity; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import com.product.core.permission.PermissionService; -import com.product.core.spring.context.SpringMVCContextHolder; -import com.product.module.sys.entity.SystemUser; - -/** - * 鏉冮檺绠$悊 - * - * @author - */ -@Service -public class PermissionManagerService extends PermissionService { - @Autowired - private BaseDao baseDao; - - /** - * 鍔犺浇鐢ㄦ埛鐨勬潈闄� - * 缁甸槼甯傜湅鎵�鏈夊強瀛愬叕鍙革紝瀛愬叕鍙哥湅鑷凡鍏徃锛岃鏈夊洟闃熷彧鑳界湅鍏徃鑼冨洿鍐呯殑鍥㈤槦鐨勬暟鎹� - * 姣忎釜琛ㄤ腑蹇呴』瑕佹湁 org_level_code瀛楁 team_code瀛楁 - * @param tableName - * @return - */ - public String loadPermission(String tableName) { - boolean orgLevelCodeFlag = false; - boolean teamCodeFlag = false; - if (!StringUtils.isEmpty(tableName)) { - StringBuilder sql = new StringBuilder(256); - sql.append("\nselect group_concat(field_name) all_field_name"); - sql.append("\nfrom product_sys_datamodel_field f"); - sql.append("\ninner join product_sys_datamodel_table t on f.table_uuid=t.uuid and t.table_name=?"); - sql.append("\nwhere field_name in ('org_level_code','team_code');"); - FieldSetEntity fse = baseDao.getFieldSetEntityBySQL(sql.toString(), new Object[]{tableName}, false); - String allFieldName = fse.getString("all_field_name"); - orgLevelCodeFlag = !StringUtils.isEmpty(allFieldName) && allFieldName.contains("org_level_code"); - teamCodeFlag = !StringUtils.isEmpty(allFieldName) && allFieldName.contains("team_code"); - } - if (!orgLevelCodeFlag && !teamCodeFlag) { - return ""; - } - SystemUser user = SpringMVCContextHolder.getCurrentUser(); - if(user==null) { - return " 1=2 "; - } - StringBuilder filter=new StringBuilder(); - String tricode=user.getOrg_level_code(); - String team=null; - if(!user.isManager() && user.getCurrentStaff()!=null) { - team=user.getCurrentStaff().getString("team_code"); - } - if (orgLevelCodeFlag) { - filter.append("org_level_code like '").append(tricode).append("%'"); - } - if(team != null && teamCodeFlag) { - if (filter.length() > 0) { - filter.append(" and "); - } - filter.append("team_code=").append(team); - filter.insert(0,"(").append(")"); - } - return filter.toString(); - } - - public String loadPermission() { - return loadPermission(null); - } -} diff --git a/picc-server-admin/src/test/java/com/product/test/ApplyTest.java b/picc-server-admin/src/test/java/com/product/test/ApplyTest.java deleted file mode 100644 index 5ffd27f..0000000 --- a/picc-server-admin/src/test/java/com/product/test/ApplyTest.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.product.test; - -import java.util.HashMap; -import java.util.Map; - -import com.product.common.utils.HttpTest; - -public class ApplyTest extends HttpTest{ - - public static void applyTest() { - logger.info("+++++++1"); - Map<String, Object> m=new HashMap<>(); - m.put("~table~", "product_apply_accept"); - m.put("name","鐖辨睙灞�"); - m.put("phone", "13212312312"); - m.put("email","sfafa"); - m.put("url", "/api/applyinfo/get-apply-info"); - logger.info("+++++++2"); - testPost(m); - logger.info("+++++++3"); - } - - public static void main(String[] args) { - ApplyTest.applyTest(); - } - -} diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 6129efe..0000000 --- a/pom.xml +++ /dev/null @@ -1,722 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-parent</artifactId> - <version>2.1.3.RELEASE</version> - <relativePath/> - </parent> - <groupId>com.lx</groupId> - <artifactId>product-server</artifactId> - <version>2.0.0-SNAPSHOT</version> - <packaging>pom</packaging> - <name>product-server</name> - <description>product-server</description> - <modules> - <module>product-server-web</module> - <module>picc-server-admin</module> - </modules> - <properties> - - <skipTests>true</skipTests> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <finalName>web</finalName><!-- war鍖呯殑鍚嶇О --> - <start-class>com.product.Application</start-class> - <java.version>1.8</java.version> - <commons-io.version>2.11.0</commons-io.version> - <fst.version>2.57</fst.version> - <commons-text.version>1.3</commons-text.version> - <commons-beanutils.version>1.9.3</commons-beanutils.version> - <metadata-extractor.version>2.11.0</metadata-extractor.version> - <blade-patchca.version>1.1.0</blade-patchca.version> - <zxing.version>3.3.2</zxing.version> - <ant.version>1.9.7</ant.version> - <jmimemagic.version>0.1.5</jmimemagic.version> - <jsoup.version>1.11.3</jsoup.version> - <commons-email.version>1.5</commons-email.version> - <activation.version>1.1.1</activation.version> - <UserAgentUtils.version>1.21</UserAgentUtils.version> - <thumbnailator.version>0.4.8</thumbnailator.version> - <twelvemonkeys.version>3.4.1</twelvemonkeys.version> - <poi.version>3.17</poi.version> - <pinyin4j.version>2.5.1</pinyin4j.version> - <mybatis.version>3.4.6</mybatis.version> - <mybatis-spring.version>1.3.2</mybatis-spring.version> - <commons-fileupload.version>1.3.3</commons-fileupload.version> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <!--寮曠敤浜у搧鍏朵粬妯″潡鐨勭増鏈�--> - <product-version>2.0.0-SNAPSHOT</product-version> - <!--浜у搧core鐗堟湰--> - <product-core-version>1.0.0-releases</product-core-version> - </properties> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-core</artifactId> - <version>${product-core-version}</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-admin</artifactId> - <version>${product-version}</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-administration</artifactId> - <version>${product-version}</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-auth</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-badge</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-common</artifactId> - <version>${product-version}</version> - </dependency> - - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-center</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-export-import</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-sync</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-email</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-file</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-lucene</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-mq</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-org-admin</artifactId> - <version>${product-version}</version> - </dependency> - - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-patch</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-print</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-quartz</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-report</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-task</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-text-message</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-dev</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-flow</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-mvc</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-table</artifactId> - <version>${product-version}</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-util</artifactId> - <version>${product-version}</version> - </dependency> - </dependencies> - </dependencyManagement> - <dependencies> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter</artifactId> - <exclusions> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-to-slf4j</artifactId> - </exclusion> - - </exclusions> - </dependency> - <!-- 鍥燼pache鍏竷鐨勬紡娲炲崌绾у埌2.15.0-rc1 log4j 2.0 > <2.15.0 鐨勯兘鏈夊畨鍏ㄩ殣鎮� --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.15.0</version> - </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - <version>2.15.0</version> - </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-to-slf4j</artifactId> - <version>2.15.0</version> - </dependency> - - <!--鏀寔浣跨敤 JDBC 璁块棶鏁版嵁搴� --> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-jdbc</artifactId> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-webmvc</artifactId> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-web</artifactId> - </dependency> - <dependency> - <groupId>redis.clients</groupId> - <artifactId>jedis</artifactId> - <version>2.9.0</version> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-data-redis</artifactId> - </dependency> - - <dependency> - <groupId>org.apache.tomcat</groupId> - <artifactId>tomcat-jdbc</artifactId> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-test</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>javax.servlet-api</artifactId> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jstl</artifactId> - </dependency> - - <!-- Need this to compile JSP <dependency> <groupId>org.apache.tomcat.embed</groupId> - <artifactId>tomcat-embed-jasper</artifactId> <scope>provided</scope> </dependency> --> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - </dependency> - <!-- Java serialization --> - <dependency> - <groupId>de.ruedigermoeller</groupId> - <artifactId>fst</artifactId> - <version>${fst.version}</version> - </dependency> - <!-- Spring begin --> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-beans</artifactId> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-web</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot</artifactId> - <optional>true</optional> - </dependency> - <!-- Spring end --> - <dependency> - <groupId>commons-codec</groupId> - <artifactId>commons-codec</artifactId> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-text</artifactId> - <version>${commons-text.version}</version> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>${commons-io.version}</version> - </dependency> - <!-- https://mvnrepository.com/artifact/commons-collections/commons-collections --> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>3.2.2</version> - </dependency> - <dependency> - <groupId>commons-beanutils</groupId> - <artifactId>commons-beanutils</artifactId> - <version>${commons-beanutils.version}</version> - </dependency> - - <!-- 鍥剧墖楠岃瘉鐮佺敓鎴� --> - <dependency> - <groupId>com.bladejava</groupId> - <artifactId>blade-patchca</artifactId> - <version>${blade-patchca.version}</version> - </dependency> - <!-- 鍥剧墖楠岃瘉鐮佺敓鎴� --> - <dependency> - <groupId>com.github.penggle</groupId> - <artifactId>kaptcha</artifactId> - <version>2.3.2</version> - </dependency> - <!-- 鍥剧墖Meta鑾峰彇 --> - <dependency> - <groupId>com.drewnoakes</groupId> - <artifactId>metadata-extractor</artifactId> - <version>${metadata-extractor.version}</version> - </dependency> - <!-- 鏉″舰鐮併�佷簩缁寸爜鐢熸垚 --> - <dependency> - <groupId>com.google.zxing</groupId> - <artifactId>core</artifactId> - <version>${zxing.version}</version> - </dependency> - <dependency> - <groupId>com.google.zxing</groupId> - <artifactId>javase</artifactId> - <version>${zxing.version}</version> - </dependency> - <!-- Apache Tools Ant Tar Zip --> - <dependency> - <groupId>org.apache.ant</groupId> - <artifactId>ant</artifactId> - <version>${ant.version}</version> - </dependency> - <!-- File MimeType ContentType --> - <dependency> - <groupId>net.sf.jmimemagic</groupId> - <artifactId>jmimemagic</artifactId> - <version>${jmimemagic.version}</version> - <!--<exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> - </exclusion> <exclusion> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-xc</artifactId> - </exclusion> <exclusion> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-jaxrs</artifactId> - </exclusion> <exclusion> <artifactId>log4j</artifactId> <groupId>log4j</groupId> - </exclusion> </exclusions> --> - </dependency> - <!-- Jackson json --> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-databind</artifactId> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.dataformat</groupId> - <artifactId>jackson-dataformat-xml</artifactId> - </dependency> - <!-- Java xml --> - <dependency> - <groupId>dom4j</groupId> - <artifactId>dom4j</artifactId> - </dependency> - - <!-- XPath xml --> - <dependency> - <groupId>jaxen</groupId> - <artifactId>jaxen</artifactId> - </dependency> - - <!-- Snake YAML --> - <dependency> - <groupId>org.yaml</groupId> - <artifactId>snakeyaml</artifactId> - </dependency> - - <!-- Apache HTTP --> - <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpclient</artifactId> - </dependency> - - <!-- Jsoup HTTP --> - <dependency> - <groupId>org.jsoup</groupId> - <artifactId>jsoup</artifactId> - <version>${jsoup.version}</version> - </dependency> - - <!-- Email --> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-email</artifactId> - <version>${commons-email.version}</version> - </dependency> - <dependency> - <groupId>commons-fileupload</groupId> - <artifactId>commons-fileupload</artifactId> - <version>${commons-fileupload.version}</version> - </dependency> - <dependency> - <groupId>javax.activation</groupId> - <artifactId>activation</artifactId> - <version>${activation.version}</version> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-websocket</artifactId> - </dependency> - <!-- User Agent --> - <dependency> - <groupId>eu.bitwalker</groupId> - <artifactId>UserAgentUtils</artifactId> - <version>${UserAgentUtils.version}</version> - </dependency> - <!-- 缂╃暐鍥惧伐鍏� --> - <dependency> - <groupId>net.coobird</groupId> - <artifactId>thumbnailator</artifactId> - <version>${thumbnailator.version}</version> - </dependency> - <!-- 鏀寔CMYK鍥剧墖 --> - <dependency> - <groupId>com.twelvemonkeys.imageio</groupId> - <artifactId>imageio-jpeg</artifactId> - <version>${twelvemonkeys.version}</version> - </dependency> - <!-- POI Office Tools --> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi</artifactId> - <version>${poi.version}</version> - <exclusions> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-to-slf4j</artifactId> - </exclusion> - - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi-ooxml</artifactId> - <version>${poi.version}</version> - <exclusions> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-to-slf4j</artifactId> - </exclusion> - - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi-ooxml-schemas</artifactId> - <version>${poi.version}</version> - <exclusions> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-to-slf4j</artifactId> - </exclusion> - - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi-scratchpad</artifactId> - <version>${poi.version}</version> - <exclusions> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-to-slf4j</artifactId> - </exclusion> - - </exclusions> - </dependency> - <!-- pinyin4j --> - <dependency> - <groupId>com.belerweb</groupId> - <artifactId>pinyin4j</artifactId> - <version>${pinyin4j.version}</version> - </dependency> - - <!-- Logging begin --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - </dependency> - <!-- common-logging 瀹為檯璋冪敤 slf4j --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl-over-slf4j</artifactId> - </dependency> - <!-- jdk logging 瀹為檯璋冪敤 slf4j --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jul-to-slf4j</artifactId> - </dependency> - <!-- log4j 瀹為檯璋冪敤 slf4j --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>log4j-over-slf4j</artifactId> - </dependency> - <!-- slf4j logback 瀹炵幇 --> - <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - </dependency> - <!-- Logging end --> - - <!-- JUnit Test --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-test</artifactId> - </dependency> - <!-- https://mvnrepository.com/artifact/com.google.collections/google-collections - <dependency> <groupId>com.google.collections</groupId> <artifactId>google-collections</artifactId> - <version>1.0</version> </dependency> --> - <dependency> - <groupId>com.adobe.xmp</groupId> - <artifactId>xmpcore</artifactId> - <version>5.1.2</version> - </dependency> - <dependency> - <groupId>com.auth0</groupId> - <artifactId>java-jwt</artifactId> - <version>3.3.0</version> - </dependency> - <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson --> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>fastjson</artifactId> - <version>1.2.56</version> - </dependency> - <dependency> - <groupId>net.sourceforge.nekohtml</groupId> - <artifactId>nekohtml</artifactId> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-thymeleaf</artifactId> - </dependency> - <dependency> - <groupId>org.thymeleaf</groupId> - <artifactId>thymeleaf</artifactId> - </dependency> - <dependency> - <groupId>com.github.theborakompanioni</groupId> - <artifactId>thymeleaf-extras-shiro</artifactId> - <version>1.2.1</version> - </dependency> - <!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt --> - <dependency> - <groupId>io.jsonwebtoken</groupId> - <artifactId>jjwt</artifactId> - <version>0.9.1</version> - </dependency> - <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15 --> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcprov-jdk15</artifactId> - <version>1.46</version> - </dependency> - <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> - <version>2.9.2</version> - </dependency> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> - <version>2.9.2</version> - </dependency> - <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --> - <dependency> - <groupId>mysql</groupId> - <artifactId>mysql-connector-java</artifactId> - <!-- <version>6.0.6</version>--> - <version>8.0.20</version> - </dependency> - <!-- 闃块噷绯荤殑Druid渚濊禆鍖� --> - <!-- https://mvnrepository.com/artifact/com.alibaba/druid --> - <dependency> - <groupId>com.alibaba</groupId> - <artifactId>druid</artifactId> - <version>1.2.2</version> - </dependency> - - <!-- https://mvnrepository.com/artifact/org.fusesource/sigar --> - <dependency> - <groupId>org.fusesource</groupId> - <artifactId>sigar</artifactId> - <version>1.6.4</version> - </dependency> - <!--rabbitmq--> - <dependency> - <groupId>com.rabbitmq</groupId> - <artifactId>amqp-client</artifactId> - <version>5.6.0</version> - </dependency> - <!--mybatis--> - <dependency> - <groupId>org.mybatis.spring.boot</groupId> - <artifactId>mybatis-spring-boot-starter</artifactId> - <version>1.3.0</version> - </dependency> - - - <!-- 閫氱敤mapper --> - <dependency> - <groupId>tk.mybatis</groupId> - <artifactId>mapper-spring-boot-starter</artifactId> - <version>2.0.2</version> - </dependency> - <dependency> - <groupId>io.logz.logback</groupId> - <artifactId>logzio-logback-appender</artifactId> - <version>1.0.24</version> - </dependency> - - <!-- 瀹樻柟鎻愪緵 --> - <!-- https://mvnrepository.com/artifact/com.mashape.unirest/unirest-java --> - <dependency> - <groupId>com.mashape.unirest</groupId> - <artifactId>unirest-java</artifactId> - <version>1.4.9</version> - </dependency> - <!-- mailgun smtp --> - <dependency> - <groupId>com.sun.jersey</groupId> - <artifactId>jersey-client</artifactId> - <version>1.19.4</version> - </dependency> - <!-- hutool宸ュ叿 --> - <dependency> - <groupId>cn.hutool</groupId> - <artifactId>hutool-all</artifactId> - <version>5.7.9</version> - </dependency> - <!--闆嗗悎绫诲簱--> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-collections4</artifactId> - <version>4.1</version> - </dependency> - </dependencies> -</project> diff --git a/product-server-web/.gitignore b/product-server-web/.gitignore deleted file mode 100644 index 2276a29..0000000 --- a/product-server-web/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -lx_file/upload/ -lucene/ -attachment/upload/ -target/ -.classpath -.project -.settings/ -logs/ diff --git "a/product-server-web/doc/\347\263\273\347\273\237\350\256\276\350\256\241" "b/product-server-web/doc/\347\263\273\347\273\237\350\256\276\350\256\241" deleted file mode 100644 index 1be3fcf..0000000 --- "a/product-server-web/doc/\347\263\273\347\273\237\350\256\276\350\256\241" +++ /dev/null @@ -1,975 +0,0 @@ -锘跨増鏈帶鍒讹細 - 褰撳墠浜у搧鐗堟湰1.0.0 - 琛嶇敓椤圭洰鐗堟湰 - 1.1.0 picc锛堢坏闃充汉淇濓級 - 1.2.0 xn - 璇︾粏瑙i噴 - 锛�1锛夌洰鍓嶇殑鐗堟湰鍙峰叡鏈�3绾э紝鏍囧噯鐗堟寜鐓�1.0.0 - 锛�2锛夌涓�浣嶄綔涓轰骇鍝佸ぇ鐗堟湰 - 锛�3锛夌浜屼綅浣滀负瀵瑰簲椤圭洰鐨勭増鏈� - 锛�4锛夌涓変綅浣滀负灏忕増鏈崌绾� - 锛�5锛変緥濡傦紝褰撳墠鐗堟湰涓�1.0.0锛岀敱璇ョ増鏈鐢熺殑A椤圭洰锛屽垯A椤圭洰鐗堟湰涓�1.1.0锛涚户缁鐢熺殑B椤圭洰锛岀増鏈负1.2.0锛涜嫢鏄疉椤圭洰鍗囩骇锛屽垯鍙互灏嗙増鏈洿鏂颁负1.1.1銆� - 锛�6锛変絾鍑¢」鐩崰鐢ㄤ箣鍚庯紝璇ユ暟瀛楀氨涓�鐩村綊璇ラ」鐩娇鐢� - 锛�7锛夊綋浜у搧鐗堟湰鍗囩骇鍒�2.0.0涔嬪悗锛岃鐢熺殑椤圭洰鐗堟湰鍒欎负2.x.0 - -1.鏁版嵁婧� - 蹇呴』閰嶇疆榛樿鐨勬暟鎹簮锛屽悕绉板繀椤讳负default,瑙乤pplication.properties - sourceName=default -2.琛ㄨ璁� - id瀛楁: 绫诲瀷=bigint 锛岄暱搴�11 - uuid瀛楁銆乽uid寮曠敤瀛楁锛氾紝闀垮害閮芥槸80 - 瀛楁绫诲瀷闄や簡閫氱敤String...澶栵紝杩樻湁涓�涓被鍨�:parentuuid,鐢ㄦ瀛楁琛ㄧず涓诲瓙琛ㄧ殑鍏崇郴锛� - 鍚屾椂杩樺繀椤婚厤鍏宠仈鐨勭埗琛ㄥ悕绉帮紝鍚屼竴涓叧鑱旂埗琛紝鍙兘閰嶄竴涓猵arentuuid绫诲瀷鐨勫瓧娈碉紝濡傛灉鏄櫘閫氫富澶栭敭鍏宠仈锛屽氨涓嶇敤parentuuid - 姣斿锛歜utton琛� 鐨勫瓧娈靛畾涔夛紝鐖惰〃function - 瀛楁鍚� 瀛楁绫诲瀷 鍏宠仈涓昏〃 - id - uuid - ...... - function_uuid parentuuid mrbase_sys_datamodel_table(淇濆瓨琛ㄧ殑uuid锛屾樉绀鸿〃鐨勫悕绉帮紝榛樿鍏宠仈涓昏〃鐨剈uid) - 瀛楁鐨勯暱搴︿负涓嬫媺閫夋嫨锛屾牴鎹笉鍚岀殑鏁版嵁绫诲瀷锛屽畾涔変笉鍚岀殑闀垮害閫夐」锛屽锛�10銆�20銆�50銆�100绛� - - 瀛楁绫诲瀷锛� - 闄ゆ爣鍑嗙殑string datetime int double ,杩樻湁鐗规畩锛歱arentuuid(涓诲瓙琛ㄥ叧绯伙紝璁板綍鐖惰〃uuid)銆乧ode(缂栫爜瀛楁 000-000-002)銆乻erialNumber(GXD201209020001) - 瀛楁绫诲瀷=parentuuid鏃讹紝蹇呴』field_relation_table瀛楁濉啓鐖惰〃鐨剈uid鍚﹀垯涔熶笉鑳戒綔涓轰富瀛愯〃淇濆瓨 - - 鎵�鏈夌被鍨嬶細string銆乮nt銆乶umber(灏忔暟)銆乨atetime銆乸arentuuid銆乧ode銆乻erialNumber銆乮dcard銆乽rl銆乮p銆乵ac銆乪mail銆乽serid銆乷rgUuid銆乫ile銆乫lowStatus銆乼able_name - -3.缂撳瓨鏁版嵁 - * 缂撳瓨閰嶇疆琛細SYS_CACHE_CONFIG - * 瀛楁锛欼D銆乽uid銆乧ache_name銆乀ABLENAME(S200)銆丆ACHEFIELD(鍒嗙骇缂撳瓨瀛楁锛岄�楀彿鍒嗛殧),FIELDS(S4000,瀛楁鍚嶏紝閫楀彿鍒嗛殧)銆乫ilter(S4000)銆佸娉ㄨ鏄�.... - * cache_name:鍞竴 - * 甯哥敤鏁版嵁銆佸熀纭�鏁版嵁缂撳瓨 - * 閫氱敤缂撳瓨锛氶�氳繃閰嶇疆琛ㄣ�佸瓧娈碉紙澶氫釜锛夈�佹煡璇㈡潯浠舵潵鎸囧畾瑕佺紦瀛樼殑鏁版嵁鍐呭锛岄噰鐢∕ap灏佽锛宬ey=cache_name锛屽��=DataTableEntity - * 鐗规畩缂撳瓨锛氬崟鐙啓鏂规硶鍔犺浇鏁版嵁骞跺鐞嗘暟鎹紝灏佽鍚岄�氱敤缂撳瓨涓�鏍� - * 鏀寔鍒嗙粍缂撳瓨锛屾棤闄愮骇,鍒嗙粍瀛楁蹇呴』鍦ㄧ紦瀛樺瓧娈甸噷闈� - 鏀寔鍔犺浇瀛愯〃鏁版嵁 - * 缂撳瓨鏁版嵁锛屽瓨鍦ㄦ暟鎹笉涓�鑷撮棶棰橈紝褰撲袱涓繘绋嬪悓鏃跺涓�涓〃鐨勭紦瀛樿繘琛岃鍜屽啓鏃�--------------- - * 鏂板銆佷慨鏀广�佸垹闄ょ紦瀛樿〃鏃讹紝瑕佹洿鏂扮紦瀛�------------------------------------- - * 鍒濆鏁版嵁 - table_name=mrbase_sys_datamodel_table - table_name=mrbase_sys_datamodel_field | cache_fields=* | group_field=table_uuid - table_name=mrbase_sys_datamodel_field | cache_fields=* | filter=field_type='parentUuid' - table_name=mrbase_function_permission | cache_fields=role_uuid,function_uuid,button_uuid | group_field=role_uuid - -*缂撳瓨鍒锋柊锛屾暟鎹柊澧炪�佷慨鏀广�佸垹闄ゆ椂閮戒細鍒锋柊瀵瑰簲鐨勮琛ㄧ殑鎵�鏈夌紦瀛橀厤缃紝杩樺彲浠ヨ皟鑷畾涔夌殑浠g爜杩涜鍒锋柊锛坆ean_name銆乥ean_method(String uuid) 鍙傛暟鏄搷浣滄暟鎹殑uuid ,bean_method() 鍚姩鏃朵細璋冩鏂规硶锛屽繀椤诲畾涔変袱涓柟娉� 锛� -*缂撳瓨鐨勪娇鐢ㄦ煡璇㈡柟娉曪細 - 鏈夊垎缁勶紝鍒嗙粍瀛楁锛屽搴斿�� - 瀵瑰簲缂撳瓨涓搴旂殑鍒嗙粍瀛楁锛屾暣涓弬鏁颁负杩欙紝琛ㄧず娌℃湁鍒嗙粍锛屽彧鑳藉悗闈笉涓虹┖锛屼笉鑳藉墠闈负绌猴紝渚嬪锛� - 缂撳瓨鐨勫垎缁勫瓧娈碉細field1銆乫ield2銆乫ield3 ,鑾峰彇鏃跺弬鏁板�硷紝鍙兘涓夌鎯呭喌锛歿value1,null,null}銆亄value1,value2,null}銆亄value1,value2,value2}, - 涓嶈兘鍑虹幇 {value1,null,value3} 銆亄null,null,value3} 銆亄null,value2,value3} 绛夋儏鍐� - 濡傦細 - DataTableEntity dt=DataPoolCacheImpl.getInstance().getCacheData("鎵�鏈夊瓧娈典俊鎭苟鎸夎〃鍒嗙粍",new String[] {tableUuid}); - 鏈垎缁勶細 - DataTableEntity table=DataPoolCacheImpl.getInstance().getCacheData("鎵�鏈夎〃淇℃伅"); - - 锛�1锛塺edis宸ュ叿绫� - 閰嶇疆鏂囦欢锛歭x-base-server\lx-base-server-cache\src\main\resource\cache.properties - 绫伙細com.lx.base.cache.util.RedisUtil - 浠嬬粛锛� - 鍏ㄩ儴涓洪潤鎬佹柟娉曪紝鏃犻渶娉ㄥ叆锛屽寘鍚簡瀵筴ey浠ュ強5绉嶅熀鏈被鍨嬶紙string,hash,list,set,zset锛夌殑鎿嶄綔锛屾柟娉曞悕绉扮粡杩囩畝鍖栧拰褰掍竴鍖栵紝涓庡師鐢熷懡浠ょ◢鏈変笉鍚岋紱 - 鎸夌収key,string,hash,list,set,zset鐨勯『搴忔帓鍒楁柟娉曪紝涓嶅悓绫诲瀷闂村瓨鍦ㄦ敞閲婂垎鍓诧紝鑻ユ槸鍚庣画鏈夋柊澧烇紝搴斿綋鍐欏湪瀵瑰簲鐨勮寖鍥村唴锛� - 鏂板/淇敼绫荤殑鏂规硶浠dd/set寮�澶达紝鍚庨潰绱ц窡绫诲瀷锛屾渶鍚庤窡鏂规硶鐗规�э紱 - 鑾峰彇绫绘柟娉曚互get寮�澶达紝鍚庨潰绱ц窡绫诲瀷锛屾渶鍚庤窡鏂规硶鐗规�э紱锛堢壒娈婄殑锛屾眰鍙栦氦宸苟闆嗗苟瀛樺偍杩斿洖鐨勬槸涓暟锛夛紱 - 鍒ゅ畾鏄惁瀛樺湪涓篹xists寮�澶达紝鍚庨潰绱ц窡绫诲瀷锛� - 鍒犻櫎绫绘柟娉曚互del寮�澶达紝鍚庨潰绱ц窡绫诲瀷锛屾渶鍚庤窡鏂规硶鐗规�э紱 - 鐩稿鐗规畩鐨勫懡鍚�-clearOutTime锛堢Щ闄よ秴鏃舵椂闂达級锛宺eplaceListAimValue锛坙ist-鏇挎崲鎸囧畾涓嬫爣鐨勫�硷級锛宮oveSet锛坰et-绉诲姩鍊煎埌鎸囧畾key鐨剆et涓級 - 娴嬭瘯绫伙細com.lx.base.cache.TestRedisUtil - 浠嬬粛锛� - 闄ょ涓�涓负鑾峰彇鏁版嵁鏂规硶澶栵紝鍚庨潰鍧囦负鍗曞厓娴嬭瘯锛屽彲浠ュ湪杩欓噷鎵惧埌瀵瑰簲鐨勭ず渚嬩唬鐮侊紱 - 闄ら儴鍒嗙被杞崲鐨勯噸杞芥柟娉曟病鏈夊啓鍗曞厓娴嬭瘯锛屾湁浜涢噸杞界殑鏂规硶鏀惧湪涓�涓崟鍏冩祴璇曞唴锛屽熀纭�鐨勮幏鍙栫被鏂规硶娌℃湁鍗曠嫭鍐欏崟鍏冩祴璇曪紱 - 姣忎竴涓崟鍏冩祴璇曞潎宸查�氳繃锛屼絾鏄竴娆℃�у叏寮�鏃讹紝鏈湴鍗″湪绾︿竴鍗婂锛� - 鍗曞厓娴嬭瘯鐨勬柟娉曞悕涓簍est + 瀹為檯鏂规硶鍚嶏紙棣栧瓧姣嶈浆澶у啓锛夛紱 - 闄edisUtil鏂板鏂规硶鎴栬�呮祴璇曟柟娉曞瓨鍦ㄩ敊璇紝灏介噺涓嶆洿鏂拌绫伙紝鏇存柊鏃讹紝闇�瑕佹敞閲婃墍鏈夊崟鍏冩祴璇曟柟娉曪紱 - -4.json鏁版嵁涓紝瀛楁~type~锛屼笉鏄瓧娈靛悕锛屾槸瀛愯〃鏁版嵁鍦ㄤ慨鏀规椂鍊欑殑鎿嶄綔绫诲瀷锛屾柊澧炪�佷慨鏀广�佸垹闄� - 鏂板锛寀uid娌℃湁鍊硷紝 鍙兘涓嶅啓~type~=xxx - 淇敼,uuid鏈夊�硷紝 鍙兘涓嶅啓~type~=xxx - 鍙湁鍒犻櫎鏃剁敤杩欎釜瀛楁鏉ュ尯鍒�,鍗硚type~=del - 淇敼涓诲瓙琛ㄦ暟鎹� 涓昏〃蹇呴』鏈塽uid瀛楁锛屽瓙琛ㄦ暟鎹腑涓変釜绉嶆儏鍐碉細鏂板 ~type~="",uuid="",淇敼锛殈type~="",uuid="涓嶄负绌�"锛屽垹闄わ細~type~="del",uuid="涓嶄负绌�" - 瀛愯〃鍒楁暟瑕佷竴鑷� - -5.鎵�鏈夊疄浣撶被鍨嬶紝閮藉繀椤绘湁涓瓧娈� table_name锛屽瓨琛ㄥ悕绉� ,鍙互瀹炰綋绫讳腑瀹氫箟鎴愬父閲� - -6.API璇锋眰鍙傛暟 - API璇锋眰json鐨勫弬鏁板悕绉帮細formData锛� Token鍙傛暟灏佽鍦╦son涓紝鍚嶇О锛歛ccessToken - RequestParameterEntity 灏佽鎵�鏈夊弬鏁拌姹傦紝璇︾粏瑙佽绫� - Object bean=request.getAttribute("requestPara"); - String accessToken = null; - if(bean !=null) { - RequestParameterEntity reqp=(RequestParameterEntity)bean; - accessToken=reqp.getToken(); - } - -----鑾峰彇琛ㄥ崟鏁版嵁------ - public FieldSetEntity getFormData() { - return formData; - } - -7.鎵�鏈塩ontroller 蹇呴』缁ф壙 AbstractBaseController - 淇敼銆佸垹闄� 杩斿洖 - OK() - 鐧诲綍杩斿洖 - OK_login - 鏂板杩斿洖 - OK_Add(String uuid) - 鏌ヨ杩斿洖 - OK_List(FieldSetEntity fs) - OK_List(DataTableEntity dt) - - 閫氱敤閿欒杩斿洖锛� 鏂板銆佷慨鏀广�佸垹闄ゃ�佹煡璇㈠け璐� - public String error(String code,String msg ) - -9.鎵�鏈塻ervice 蹇呴』缁ф壙 AbstractBaseService - /** - * 鏁版嵁鏌ヨ ,spring 娉ㄥ叆 - */ - @Autowired - public BaseDao baseDao = null; - -10.~table~ 鍙傛暟鍦ㄦ柊澧炪�佷慨鏀规帴鍙f椂蹇呴』鏀惧埌鏁版嵁鐨勫墠闈紝浠ユ鏉ラ鍏堣幏鍙栧埌 - -13.楂樼骇鍙傜収涓嬫媺妗嗘帴鍙f暟鎹� -{ - "code":200, - "~table~":"xxxxx", - "data":[{"value_field":"xxxx","view_fields":"xxxx","f1":"xxx","f2":"xxxx","f3":"xxx","code":"xxx"} - ,{"value_field":"xxxx","view_fields":"xxxx","f1":"xxx","f2":"xxxx","f3":"xxx","code":"xxx"}], - "pagesize":20, - "cpage":4, - "totalCount":343, - "status":"success", - "msg":"鎴愬姛" -} -鏅�氫笅鎷夋鎺ュ彛 -{ - "code":200, - "~table~":"mrbase_sys_dict", - "data":[{"dict_value":"xxxx","dict_label":"xxxx"} - ,{"dict_value":"xxxx","dict_label":"xxxx"}], - "pagesize":0, - "cpage":0, - "totalCount":0, - "status":"success", - "msg":"鎴愬姛" -} - -14.涓嬫媺鍙傜収閰嶇疆锛屼繚瀛樻椂select_fields蹇呴』澶勭悊鐢熸垚锛寁alue_field+" value_field,"+view_fields+" view_fields "+prompt_fieldxxxxx - prompt_fieldxxxxx,鏄敱prompt_field瀛楁澶勭悊鑰屾垚锛屽锛歠ield1,field2,field3 ,澶勭悊鍚庡彉鎴� ,field1 f1,field2 f2,field3 f3,org_level_code code - 鏈�鍚巗elect_fields=xxxx value_field,xxxx view_fields,field1 f1,field2 f2,field3 f3,鍏朵腑 value_field銆乿iew_fields銆乫1銆乫2銆乫3 鏄浐瀹氬瓧娈� - 鍏朵腑filter瀛楁锛屾槸閰嶇疆浜哄憳鎵嬪啓鐨剆ql鏉′欢锛屽瓧绗︿覆涓彲鑳介厤缃姩鎬佸弬鏁帮紝鏍煎紡涓猴細~鍙傛暟鍚嶇О~锛屽墠绔皟鐢ㄦ鍙傜収鏃讹紝涔熷繀椤讳紶瀵瑰簲鐨勫弬鏁板�� 锛屼緥濡傦細 - 閰嶇疆filter: uuid=~cust_uuid~ and name like '%~cust_name~%' - 鍓嶇鍙傛暟锛歿cust_uuid="sdgeasge",cust_name="涓浗"} - - filter瀛楁涓繕鍙互閰嶇疆绯荤粺鍙橀噺锛屽锛歩s_used=1 and uuid in (select language_uuid from mrbase_sys_company_language where org_level_uuid='{{COMPANY_UUID}}') - {{COMPANY_UUID}}:褰撳墠鐧诲綍浜哄憳鐨勫叕鍙窾UID. - - display_type锛� 1:鍒楄〃 2:鏍戠粨鏋勶紝褰撶瓑浜�2琛ㄧず姝ゅ弬鐓ф暟鎹樉绀烘爲鍨嬶紝鍚屾椂 code_field銆乸arent_code_field 銆乨elay_load瑕佸繀濉紝 - code_field锛氫笂涓嬬骇鍏崇郴琛ㄤ腑鐨� 缂栫爜瀛楁锛�001锛屾瀛楁涔熷鐞嗗悗鏀惧埌select_fields瀛楁涓幓锛氱敓鎴� xxxxx code,姝ゅ墠绔湪鐐瑰嚮涓�涓妭鐐规椂锛屽彇code鐨勫�间紶缁欐帴鍙o紝鎺ヨ繑鍥炲叾涓嬮潰鐨勫瓙鏁版嵁 - parent_code_field锛氱埗缂栫爜瀛楁锛�001 - org_filter_field锛氭牴鎹〃涓殑鍏徃瀛楁杩涜鏁版嵁杩囨护锛屽涓互閫楀彿鍒嗛殧 - usr_filter_field锛氫汉鍛樻暟鎹繃婊ゆ潯浠跺瓧娈碉紝蹇呴』鏄暟鎹簮琛ㄤ腑鐨勪汉鍛樺瓧娈碉紝鍙互澶氫釜锛岄�楀彿鍒嗛殧锛� - -14.1 涓嬫媺鍙傜収(楂樼骇鍙傜収銆佹暟鎹瓧鍏�)鍦ㄥ垪琛ㄤ腑鏄剧ず锛� - 閰嶇疆mrbase_sys_datamodel_field.field_reference瀛楁锛岄厤鍙傜収鍚嶇О鎴栨暟鎹瓧鍏稿悕绉帮紝濡傛灉鏄暟鎹瓧鍏稿悕绉板姞涔﹀悕鍙锋嫭璧锋潵,濡傦細銆奼ender銆� - 鍦ㄥ垪琛ㄧ殑鏌ヨ鏂规硶锛屽鍒楄〃鏁版嵁杩涜灏佽涓�娆★細baseDao.loadPromptData(dt); - -15.token鍙傛暟 token=xxxxxxxx,鏀惧埌json鏁版嵁涓紝鏁翠釜json浣滀负涓�涓弬鏁� formData={"token"="xxxxxxxx",xxxxxxxxx} - -16.鍒涘缓鍗曚綅绠$悊鍛橈紝浣跨敤mrbase_sys_user琛紝is_manamger榛樿涓烘槸 - 鍒涘缓绠$悊鍛樻椂锛屽垎閰嶏紝鍙兘缁欎笅绾х鐞嗗憳鍒嗛厤鑷凡鑼冨洿鍐呯殑鏉冮檺锛屽垵濮嬩竴涓秴绾х鐞嗗憳锛屽垵濮嬩竴涓秴绾х鐞嗗憳瑙掕壊銆傚垎缁欒秴绾х鍛� - 鍒涘缓鍗曚綅绠$悊鍛橈紝鍙兘鍒涘缓涓嬬骇鍗曚綅鐨勭鐞嗗憳锛屽彲浠ュ叧鑱斿涓笅绾у崟浣嶏紝瀵规瘡涓崟浣嶈繘琛屽崟鐙殑鏉冮檺璁剧疆锛屽繀椤诲厛閫夎鑹叉潈闄愶紝 - 鍔熻兘涓爣璇嗘槸鍚︽槸鍚庡彴绠$悊鍔熻兘 锛岀鐞嗗憳鑷韩鐨勬潈闄愬繀椤绘槸鍚庡彴鍔熻兘锛屼负鏅�氫汉鍛樺垎閰嶆潈闄愭椂锛屽繀椤绘槸闈炲悗鍙扮鐞嗗姛鑳� -17.鍔熻兘涓庢寜閽產pi鍚堟垚涓�涓紝閲囩敤涓诲瓙琛ㄦ柟寮忔搷浣� -18.寮�鍙戝姛鑳藉弬鐓ystem宸ョ▼涓殑浠g爜 -19.鑾峰彇application涓殑閰嶇疆鍙傛暟锛屼娇鐢細 - String path = Global.getSystemConfig("upload.file.path", "d:"); -20.寮�鍙戞ā寮� - 涓�涓礋璐d竴涓姛鑳芥ā鍧楃殑寮�鍙戯紝鍖呮嫭鎺ュ彛灞傘�佹湇鍔″眰 -20.鍖呭悕瑙勫垯锛屼互com.lx.+妯″潡鍚嶇О+.controller(service銆乪ntity) - -21.鍏ㄩ儴鍦╨x__Server涓嬮潰鍒涘缓maven妯″潡锛屼笉鏄痬aven宸ョ▼ - <groupId>com.lx</groupId> 涓嶇敤鏀� - <artifactId>-server</artifactId> 浠ュ紑澶达紝鍚庨潰鏄ā鍧楀悕绉� - <version>1.0.0-SNAPSHOT</version> 涓嶇敤鏀� -22.濡傛灉瑕佸紩鐢╦ar锛屽崟鐙湪pom涓坊鍔犱緷璧栵紝鍐呴儴宸ョ▼ 涔熸槸杩欎箞鐩稿紩 -23.spring bean寮曠敤 -private static MenuService menuService = SpringContextHolder.getBean(MenuService.class); - -24.鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛 - SystemUser user = SpringMVCContextHolder.getCurrentUser(); -25.鑾峰彇褰撳墠request銆乺eponse銆乻ession绛� - SpringMVCContextHolder.getHttpxxxx() - -26.瀵规暟鎹殑鎿嶄綔锛屽彲浠ュ弬鑰冧唬鐮侊細JsonUtil锛屽浣曠敓鎴愮殑 FieldSetEnttiy,濡備綍鍦╢s涓幏鍙栧瓙琛紙DataTableEntity锛夛紝濡備綍鑾峰彇fs涓殑瀛楁鍊硷紝濡備綍鍦―ataTableEntity涓幏鍙栦竴鏉¤褰曪紝鍜屼竴鏉¤褰曚腑鐨勫瓧娈靛�� - -27.瀵逛竴鏉¤褰曠殑璇诲啓鎿嶄綔 - -28.瀵规暟鎹泦鐨勮鍐欐搷浣� - 浠庣紦瀛樹腑鑾峰彇鍒版暟鎹泦 - DataTableEntity dt=DataPoolCacheImpl.getInstance().getCacheData("鎵�鏈夊瓧娈典俊鎭苟鎸夎〃鍒嗙粍"); - - DataTableEntity table=DataPoolCacheImpl.getInstance().getCacheData("mrbase_sys_datamodel_table"); - String tableUuid=null; - String subTableUUid=null; - 寰幆姣忎竴鏉℃暟鎹� - for(int i=0;i<table.getRows();i++) { - if(tableUuid != null && subTableUUid != null ) - break; - 鑾峰彇涓�鏉¤褰曚腑鐨勪竴涓瓧娈靛�� - if(tableName.equals(table.getString(i,"table_name"))){ - tableUuid=table.getString(i, "uuid"); - } - if(subTableName.equals(table.getString(i,"table_name"))){ - subTableUUid=table.getString(i, "uuid"); - } - } -29.浜嬪姟鎿嶄綔 - 鎵�鏈夋柊澧炪�佷慨鏀广�佸垹闄ら兘瑕佸仛浜嬪姟 - 鐞嗚涓婁簨鍔″缓绔嬪湪Service灞傦紝涓嶅湪controller灞� - 瀹炵幇鏂瑰紡锛� - ---------------------------------------------------------------- - service绫讳腑瑕佸仛浜嬪姟鐨勬柟娉曟坊鍔犳敞瑙o細@Transactional锛屽涓嬶細 - /*** - * 鏂板瀹㈡埛鏁版嵁浜嬪姟澶勭悊(骞朵笖鍦ㄧ粍缁囨灦鏋勪腑鏂板涓�鏉℃渶椤剁骇鐨勬暟鎹�) - * @param fse 瀹㈡埛鍗曚綅鏁版嵁 - * @return - * @throws BaseException - */ - @Transactional - public String addClient(FieldSetEntity fse) throws BaseException{ - ----------------------------------------------------------------- - 娣诲姞service绫荤殑鎺ュ彛绫伙紝鎺ュ彛绫诲繀椤诲畾涔夎鍋氫簨鍔$殑鏂规硶 - controller蹇呴』缁ф壙AbstractBaseController - ----------------------------------------------------------------- - controller涓殑鍏蜂綋璋冪敤锛� - 鎶� systemClientsService.addClient(fse); 鏀规垚浠ヤ笅浠g爜 - - /**浜嬪姟澶勭悊瀹炵幇**/ - ISystemClientsService service=(ISystemClientsService)getProxyInstance(systemClientsService); - String uuid = service.addClient(fse); - - ISystemClientsService 锛歴ervice绫荤殑鎺ュ彛绫� - systemClientsService锛歴pring娉ㄥ叆鐨剆ervice绫� - ------------------------------------------------------------------- - -30.鏌ヨ鍒楄〃涓寘鍚瓙琛ㄦ暟鎹� - /** - * - * @param tableName - * @param filter - * @param para - * @param fields - * @param orderby - * @param psize - * @param pindex - * @param isMoreSubData 鏄惁鍚屾椂鏌ヨ鎵�鏈夊瓙琛ㄧ殑瀵瑰簲鏁版嵁 - * @return - * @throws BaseException - */ - public DataTableEntity listTable(String tableName,String filter,Object para[],String fields[],String orderby, int psize,int pindex,boolean isMoreSubData) - - - /** - * @ 鏌ヨ鍒楄〃鏁版嵁鐨勬墍鏈夊瓙琛ㄦ暟鎹� String 1=姣忔潯璁板綍uuid锛孲tring 2= 瀛愯〃鍚嶇О - * @param uuids 閫楀彿鍒嗛殧 鐖跺垪琛╱uids - * @param table_name - * @return - */ - public Map <String,Map<String,DataTableEntity>> listSubData(String uuids,String tableName ) throws BaseException; -31.鍏充簬闄勪欢鑾峰彇鎿嶄綔 - RequestParameterEntity.getFormData().getString(闄勪欢瀛楁);//涓婁紶鐨勫師濮嬫枃浠跺悕锛屽涓互閫楀彿鍒嗛殧 - RequestParameterEntity.getFiles().get(鍘熷鏂囦欢鍚�); //瀵瑰簲鐨勬枃浠讹紝鏂囦欢鍚嶏細uuid+"_"+鏂囦欢鐨勫師濮嬪悕绉� 锛屼竴娆″彧鑳借幏鍙栦竴涓� - -32.鍏充簬鎵嬪啓sql璇彞鏌ヨ鍜屽垎椤电殑瑕佹眰 - select TIMESTAMPDIFF(YEAR,aciwe.start_datetime,aciwe.end_datetime) AS start_datetime from a,b where f1=f2 鎴� a left join b on f1=f2 - 瀛楁鍒悕蹇呴』鏄〃涓殑瀛楁锛屽惁鍒欐棤娉曡幏鍙栧埌瀵瑰簲瀛楁鐨勮〃鍚嶅拰瀛楁淇℃伅瀹氫箟锛屽锛� - start_datetime 蹇呴』鏄� a琛ㄦ垨b琛ㄤ腑鐨勪竴涓瓧娈� - - 澶氳〃鍏宠仈鏌ヨ锛岃〃瀹氫箟锛歛,b 鎴� a left join b on f1=f2 鏁翠釜鍋氫负琛� - 鏉′欢瀹氫箟锛寃here 鍚庨潰 锛� f1=f2 - 33.濡傛煡sql璇彞涓病鏈塽uid瀛楁锛屾棤娉曟煡璇㈠嚭瀛愯〃 - - 34.绯荤粺閿欒璇存槑 - - 绯荤粺閿欒鍒嗕负涓ょ锛氫富鍔ㄦ姏鍑洪敊璇�佹崟鑾烽敊璇� - 涓诲姩鎶涘嚭锛� - /** - * 鏋勯�犲嚱鏁�---涓诲姩鎶涘嚭鐨勯敊璇� - * @param code 閿欒鐮佷唬鐮� - * @param error 閿欒淇℃伅 - * @param c 閿欒鍙戠敓鐨勭被 - * @param method 閿欒鍙戠敓鏂规硶 - */ - public BaseException(String code,String error,Class c,String method); - - 鎹曡幏閿欒: - /** - * 鏋勯�犲嚱鏁帮紝璁板綍閿欒鍒板簱---鎹曡幏鐨勯敊璇� - * @param code 閿欒鐮佷唬鐮� - * @param exc 鎹曡幏鐨勯敊璇� - */ - public BaseException(String code,String error,Class c,String method,Exception sysExc) - -35.licese鏀寔 - 纭欢淇℃伅璇诲彇搴撴枃浠讹紝涓嬭浇鍦板潃锛歨ttp://sigar.hyperic.com/ - windows鐗� mac鐗� linux鐗� - sigar-x86-winnt.dll xxxxx xxxxxxxxxx - sigar-amd64-winnt.dll xxxxxx xxxxxxxxx - 鍚屾椂灏嗗搴旂殑dll鏂囦欢鎴栬�卻o鏂囦欢娣诲姞鍒扮郴缁熺洰褰曘�備緥濡傦細windows涓嬫妸sigar-x86-winnt.dll娣诲姞鍒癱:\WINDOWS\system32鎴栬�卝dk鐨刡in鐩綍銆� - -36.鍏充簬閫氱敤缂栫爜 001-002-003 - 琛ㄤ腑瀛樻斁缂栫爜鐨勫瓧娈碉紝蹇呴』鍦╩rbase_sys_datamodel_field琛ㄤ腑璇ュ瓧娈电殑field_type=code - 鐣岄潰璋冪敤鎺ュ彛鑾峰彇缂栫爜锛�/api/common/createCode锛岃娴嬭瘯绫籆odeTest - 濡傛灉鐣岄潰娌℃湁璋冪敤鎺ュ彛鐢熸垚缂栫爜锛屽垯鍙互鍦ㄤ笟鍔ontroller涓彲璋冧互涓嬩唬鐮佽幏鍙� - String code=codeService.createCode(fse.getString("table_name"), fse.getString("field_name"), fse.getString("parentCode")==null?"":fse.getString("parentCode")); - 鍦ㄦ柊澧炵殑controller涓皟鐢紝鍦ㄥ簳灞侱ao涓殑淇濆瓨鏂规硶涓幏鍙栬幏鍙栫殑涓存椂缂栫爜鍘婚獙璇佹槸鍚﹁鍗犵敤锛屽崰鐢ㄥ垯閲嶆柊鐢熸垚锛屼繚璇佸敮涓�鎬� - 杩斿洖json鍊间腑code鐨勫�煎嵆涓虹敓鎴愮殑缂栫爜鍊� - -37.閫氱敤鍙傛暟楠岃瘉銆佹暟鎹繚瀛橀獙璇� - 鍙傛暟楠岃瘉锛歝om.lx..module.sys.config.RegistValidate绫� - 鍦╮egistValidateParameter鏂规硶涓坊鍔犻獙璇佷唬鐮侊紝濡傦細 - DataValidateInterceptor.registValidatPara("/api/prompt/findPrompt","client_uuid",VerifyRegularUtil.VALIDATE_REQUIRED); - 鍙傛暟1锛氭帴鍙� - 鍙傛暟2锛氶獙璇佸瓧娈� - 鍙傛暟3锛氶獙璇佺被鍨� - 鏁版嵁淇濆瓨楠岃瘉锛屽湪core鍖呬腑鐨刣ao涓嚜鍔ㄦ牴鎹暟鎹〃瀛楁鐨勯厤缃獙璇侊紝閫氬父涓嶇敤閰嶏紝浣嗗鏋滄湁鍏跺畠楠岃瘉锛屼篃鍙互鍦ㄤ繚瀛樺拰淇敼鎺ュ彛涓厤缃紝鍚﹀垯淇濆瓨鍜屼慨鏀规帴鍙d笉鐢ㄩ厤 - 鏍规嵁瀛楁绫诲瀷杩涜楠岃瘉锛屽锛氬瓧娈垫槸mail锛宮rbase_sys_datamodel_field.field_type=email,鐜板彧鏀寔锛� - int銆乶umber(灏忔暟)銆乮dcard銆乽rl銆乮p銆乵ac銆乨atetime銆乴ength銆乪mail - -38.properties閰嶇疆鏂囦欢鍙傛暟鑾峰彇 - 璋冪敤锛� - Global.getPropertyToBoolean("druid.datasource.testOnBorrow", "false") - 鏂规硶锛� - /** - * 鑾峰彇閰嶇疆,濡傛灉鑾峰彇涓嶅埌閰嶇疆锛屽垯浼犻粯璁ゅ�� - * @key key鍊� - * @defaultValue 涓虹┖鏃剁殑榛樿鍊� - */ - public static String getSystemConfig(String key,String defaultValue) - public static Integer getPropertyToInteger(String key, String defValue) - public static Long getPropertyToLong(String key, String defValue) - public static Boolean getPropertyToBoolean(String key, String defValue) -39.鏁版嵁鏉冮檺 - 鍦ㄥ垪琛ㄤ腑娣诲姞鏁版嵁鏉冮檺鏉′欢鐨勮幏鍙栵紝娣诲姞鍒板垪琛ㄦ煡璇㈡柟娉曚腑銆� - /** - * 鑾峰彇浜哄憳鐨勬暟鎹潈闄愶紝鎬诲叆鍙� 锛屼笉杩囨护浜哄憳锛屽彧杩囨护鍏徃 - * 鎸囧畾瑕佽繃婊ょ殑 鍏徃瀛楁 浣跨敤榛樿鍏徃瀛楁杩涜杩囨护-org_level_uuid - * @return - */ - public String getDataFilter(); - /** - * 鑾峰彇浜哄憳鐨勬暟鎹潈闄愶紝鎬诲叆鍙� 锛屼笉杩囨护浜哄憳锛屽彧杩囨护鍏徃 - * @param org_fields 鎸囧畾瑕佽繃婊ょ殑鍏徃瀛楁锛屼负绌哄垯锛屼娇鐢ㄩ粯璁ゅ叕鍙稿瓧娈佃繘琛岃繃婊�-org_level_uuid - * @return - */ - public String getDataFilter(String org_fields) - /** - * 鑾峰彇浜哄憳鐨勬暟鎹潈闄愶紝鎬诲叆鍙� 锛岃繃婊ゆ寚瀹氫汉鍛樺瓧娈碉紝浣跨敤榛樿鍏徃瀛楁杩涜杩囨护-org_level_uuid - * @tableName 浜哄憳杩囨护鐨勮〃 - * @param staff_fields - * @return - */ - public String getDataFilter(String tableName,String staff_fields) - /** - * 鑾峰彇浜哄憳鐨勬暟鎹潈闄愶紝鎬诲叆鍙� ,浜哄憳 鍏徃鍚屾椂杩囨护 - * @param tableName 鎸囧畾鏄摢寮犺〃鐨勬暟鎹� 鏉冮檺杩囨护 - * @param staff_fields 鎸囧畾瑕佽繃婊ょ殑浜哄憳瀛楁 锛屼负绌哄垯锛屼笉鐢ㄤ汉鍛樿繃婊� - * @param org_fields 鎸囧畾瑕佽繃婊ょ殑 鍏徃瀛楁锛屼负绌哄垯锛屼娇鐢ㄩ粯璁ゅ叕鍙稿瓧娈佃繘琛岃繃婊�-org_level_uuid - * @return - */ - public String getDataFilter(String tableName,String staff_fields,String org_fields) - - 40.鍏充簬娴佹按鍙� - 鍙渶瑕佸湪閰嶇疆涓厤缃祦姘村彿,瑙佽〃mrbase_sys_swift_config - 琛ㄤ腑瀛樻斁娴佹按鍙风殑瀛楁锛屽繀椤诲湪mrbase_sys_datamodel_field琛ㄤ腑璇ュ瓧娈电殑field_type=serialNumber 锛岀ず渚嬭test琛� - 鐣岄潰璋冪敤鎺ュ彛鑾峰彇缂栫爜锛�/api/common/createSerialNumber锛岃娴嬭瘯绫籆odeTest锛屽繀浼犲弬鏁帮細serialNumberName锛屽搴旇〃娴佹按鍙烽厤缃〃涓殑swift_config_name瀛楁鍊� - 杩斿洖json鍊间腑serialNumber鐨勫�煎嵆涓虹敓鎴愮殑娴佹按鍙� - 濡傛灉鐣岄潰娌℃湁璋冪敤鎺ュ彛鐢熸垚缂栫爜锛屽垯鍙互鍦ㄤ笟鍔ontroller涓彲璋冧互涓嬩唬鐮佽幏鍙� - String serialNumber=serialNumberService.createSerialNumber(serialNumberName); - 鍦ㄦ柊澧炵殑controller涓皟鐢紝鍦ㄥ簳灞侱ao涓殑淇濆瓨鏂规硶涓幏鍙栬幏鍙栫殑涓存椂缂栫爜鍘婚獙璇佹槸鍚﹁鍗犵敤锛屽崰鐢ㄥ垯閲嶆柊鐢熸垚锛屼繚璇佸敮涓�鎬� - 鎺� - 閰嶇疆鏀寔鏍煎紡锛� - [YYYY]锛氬勾 - [MM] 锛氭湀 - [DD] 锛氭棩 - [COMPANY_NAME]锛氬叕鍙稿悕绉�,瀵瑰簲org_level_name - [COMPANY_CODE]锛氬叕鍙哥紪鐮� org_level_code - [DEPT_NAME]锛氶儴闂ㄥ悕绉皁rg_level_name - [DEPT_CODE]锛氶儴闂ㄧ紪鐮乷rg_level_code -41.鎺ュ彛绛惧悕璁よ瘉 - 绯荤粺鍙傛暟鏂囦欢涓彲閰嶇疆锛� - #鏄惁鍚敤鎺ュ彛绛惧悕璁よ瘉 - signature.isEnable=false - #鍦ㄥ惎鐢ㄦ帴鍙g鍚嶈璇佹椂锛屾帓闄ゆ寚瀹氭帴鍙f棤闇�绛惧悕璁よ瘉 - signature.exclude.path=/login,/logout,/relogin - #鎺ュ彛绛惧悕璁よ瘉鏈夋晥鏈燂紝鍗曚綅绉掞紝绛惧悕璁よ瘉鏈夋晥鏈�=绌烘垨0锛屽垯琛ㄧず涓嶉獙璇� - signature.expire=10 - ------------- - 浣跨敤MD5鍔犲瘑锛屽姞瀵嗗唴瀹癸細鍙傛暟formData鐨勫��+KEY(鍗曠嫭鎸囧畾) - 鍓嶇鍔犲瘑鍚庣殑瀛楃涓茶澶у啓锛歴ign=GEGSTLLSEGEL - formData涓鍖呭惈timestamp鏃堕棿鎴崇殑鍊硷紝鏍煎紡涓猴細yyyyMMddHHmmss -42.閫氱敤鍒犻櫎楠岃瘉 - 璋冪敤锛� - 妯″潡 system - 绫� SystemDeleteValidationService - 鏂规硶 public boolean deleteValidation(String tableName, String uuids,String delete_filter) throws BaseException { - 鍙傛暟璇存槑锛� - tableName鍒犻櫎鏁版嵁琛ㄨ〃鍚� - uuids瑕佸垹闄ゆ暟鎹殑uuid,澶氫釜鐢ㄩ�楀彿鍒嗛殧 - delete_filter鍒犻櫎鏉′欢 fields='name' - 杩斿洖璇存槑锛� - 楠岃瘉閫氳繃娌℃湁鍏宠仈浠讳綍鏁版嵁杩斿洖true - 鍙傛暟缂哄け杩斿洖false - 楠岃瘉娌¢�氳繃鍏宠仈浜嗗叾浠栬〃鏁版嵁鎶涘嚭寮傚父锛屽紓甯镐俊鎭腑鎻愮ず鍏宠仈鏁版嵁琛紝澶氫釜鐢ㄩ�楀彿鍒嗛殧 -43.鍥介檯鍖� - label: - 鐢ㄦ埛鐧诲綍鎴愬姛鍚庯紝璋冩帴鍙�: - /api/language/load-international-info/{version} - 鍔犺浇鎸囧畾瀹㈡埛绔�佺増鏈彿銆侀粯璁よ瑷�鐨勬墍鏈夊浗闄呭寲鏁版嵁 - 瀹㈡埛绔�佺増鏈彿銆侀粯璁よ瑷�鎺ュ彛鍙傛暟涓婁紶 - - value: - 1銆侀鍏堥厤缃〃銆佸瓧娈典负鍥介檯鍖栧瓧娈� - 2銆佸墠绔皟鎺ュ彛鑾峰彇鍝簺琛ㄦ湁鍝簺鍥介檯鍖栧瓧娈碉紝鍦ㄧ晫闈㈢殑涓搴斿厓绱犲悗闈㈡坊鍔犲湴鐞冨浘鏍囷紝鐐瑰浘鏍囧脊鍑哄浗闄呭寲褰曞叆 - 鎺ュ彛:/api/language/list-international-fields-info/{version} - 3銆佹柊澧炰繚瀛樻暟鎹甹son鏍煎紡锛� - { - 聽聽聽聽"token":"11111-鏂板鎻愪氦鏁版嵁", - 聽聽聽聽"system_language_code":"ZH", - 聽聽聽聽"system_client_type":"PC", - 聽聽聽聽"system_client_version":"iphome聽X聽13.1.3", - 聽聽聽聽"app_version":"V2.0.0", - 聽聽聽聽"time_zone_offset":"240", - 聽聽聽聽"sign":"eyJhbGciOiJIUzI1N", - 聽聽聽聽"~table~":"mrbase_sys_users", - 聽聽聽聽"name":[ - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"en":"internationalization" - 聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鍥介檯鍖�" - 聽聽聽聽聽聽聽聽} - 聽聽聽聽], - 聽聽聽聽"address":[ - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"en":"zhuhai" - 聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鐝犳捣" - 聽聽聽聽聽聽聽聽} - 聽聽聽聽], - 聽聽聽聽"phone":"18123938722", - 聽聽聽聽"sub_table_name":[ - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"filed1":"value1", - 聽聽聽聽聽聽聽聽聽聽聽聽"filed2":"value2", - 聽聽聽聽聽聽聽聽聽聽聽聽"name":[ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"en":"internationalization" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鍥介檯鍖�" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽} - 聽聽聽聽聽聽聽聽聽聽聽聽], - 聽聽聽聽聽聽聽聽聽聽聽聽"address":[ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"en":"zhuhai" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鐝犳捣" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽} - 聽聽聽聽聽聽聽聽聽聽聽聽] - 聽聽聽聽聽聽聽聽} - 聽聽聽聽] - } - 4銆佹煡璇㈠垪琛ㄦ暟鎹� - 棣栧厛鏌ヨ鍑烘墍鏈変笟鍔℃暟鎹紝鍐嶈皟 - /** - * 涓氬姟浠g爜灞傝皟鐢� - * 鑾峰彇涓氬姟瀵瑰簲瀛楁鐨勫浗闄呭寲鏁版嵁,濡傛灉language_code涓嶄负绌猴紝琛ㄦ槑鏄墜鏈虹 - * @param dt 涓氬姟琛ㄦ暟鎹� - * @param language_code 涓嶄负绌哄垯涓烘墜鏈虹 - * @return - */ - DataTableEntity baseDao.listInternationDataTable(DataTableEntity dt,String language_code ) 灏佽鍥介檯鍖栨暟鎹埌姣忔潯璁板綍鐨勬瘡涓浗闄呭寲瀛楁銆� - FieldSetEntity baseDao.listInternationDataTable(FieldSetEntity fs,String language_code ) 灏佽鍥介檯鍖栨暟鎹埌鍗曟潯璁板綍鐨勬瘡涓浗闄呭寲瀛楁銆� - - //baseDao.processInternationDataTable(DataTableEntity dt,String language_code ),鍥介檯鍖栧瓧娈典笉鏄暟缁勬牸寮� - //baseDao.processInternationDataTable(FieldSetEntity fs,String language_code ) 鍥介檯鍖栧瓧娈典笉鏄暟缁勬牸寮� - 杩斿洖json鏍煎紡锛� - - { - 聽聽聽聽"code":"200", - 聽聽聽聽"data":[ - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"100001", - 聽聽聽聽聽聽聽聽聽聽聽聽"name":[ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"en":"internat" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鍥介檯鍖�" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽} - 聽聽聽聽聽聽聽聽聽聽聽聽], - 聽聽聽聽聽聽聽聽聽聽聽聽"address":[ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"en":"zhuhai" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鐝犳捣" - 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽} - 聽聽聽聽聽聽聽聽聽聽聽聽], - 聽聽聽聽聽聽聽聽聽聽聽聽"phone":"18123938729" - 聽聽聽聽聽聽聽聽} - 聽聽聽聽], - 聽聽聽聽"msg":"鎴愬姛", - 聽聽聽聽"status":"success" - } - - 5銆佷慨鏀逛繚瀛樻暟鎹甹son鏍煎紡锛� - { - 聽聽聽聽"token":"11111-鏂板鎻愪氦鏁版嵁", - 聽聽聽聽"language_code":"zh", - 聽聽聽聽"client_type":"PC", - 聽聽聽聽"client_version":"iphome聽X聽13.1.3", - 聽聽聽聽"app_version":"V2.0.0", - 聽聽聽聽"time_zone_offset":"240", - 聽聽聽聽"sign":"eyJhbGciOiJIUzI1N", - 聽聽聽聽"~table~":"mrbase_sys_users", - 聽聽聽聽"uuid":"100001", - 聽聽聽聽"name":[ - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽"en":"internationalization" - 聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鍥介檯鍖�" - 聽聽聽聽聽聽聽聽} - 聽聽聽聽], - 聽聽聽聽"address":[ - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽"en":"zhuhai" - 聽聽聽聽聽聽聽聽}, - 聽聽聽聽聽聽聽聽{ - 聽聽聽聽聽聽聽聽聽聽聽聽"uuid":"xxxxx", - 聽聽聽聽聽聽聽聽聽聽聽聽"zh":"鐝犳捣" - 聽聽聽聽聽聽聽聽} - 聽聽聽聽], - 聽聽聽聽"phone":"18123938722" - } - - 6.涓嶈兘鍥介檯鍖栫殑琛細 - mrbase_sys_cache_config 缂撳瓨閰嶇疆 - mrbase_sys_data_sources 鏁版嵁搴撹繛鎺ラ厤缃� - mrbase_sys_datamodel_field 鏁版嵁缁撴瀯瀛楁淇℃伅 - mrbase_sys_datamodel_table 鏁版嵁缁撴瀯琛ㄤ俊鎭� - mrbase_sys_language_code - mrbase_sys_language_cont_values - mrbase_sys_language_master - mrbase_sys_language_values - mrbase_sys_message_exchange - mrbase_sys_message_message_exchange - mrbase_sys_message_template - mrbase_sys_message_template_language - mrbase_sys_message_user_exchange - mrbase_sys_prompt - mrbase_sys_swift_config - mrbase_sys_tree_config - mrbase_sys_version_buttons_mapping - 瀹氭椂浠诲姟鎵�鏈夎〃 -44.鏂囦欢涓婁紶--绗笁鏂规枃浠舵湇鍔″櫒 - 1锛夎幏鍙栧鎴蜂笂浼犵殑鏂囦欢鎬诲ぇ灏忥細com.lx.base.file.service.FileManagerService - /** - * 鑾峰彇瀹㈡埛涓婁紶鐨勬枃浠舵�诲ぇ灏� - * @param clientUUID 瀹㈡埛UUID - * @return 宸蹭笂浼犳枃浠舵�诲ぇ灏� - * @throws BaseException 鍩烘湰寮傚父 - */ - public int findClientFileUsedCapacity(String clientUUID) throws BaseException - 2锛夎幏鍙栧鎴峰墿浣欑殑鏂囦欢鎬诲ぇ灏忥細com.lx.base.file.service.FileManagerService - /** - * 鑾峰彇瀹㈡埛鍓╀綑鐨勬枃浠舵�诲ぇ灏� - * @param clientUUID 瀹㈡埛UUID - * @return 鍓╀綑绌洪棿澶у皬 - */ - public int findClientFileResidueCapacity(String clientUUID) throws BaseException - - /** - * 鑾峰彇瀹㈡埛鍓╀綑鐨勬枃浠舵�诲ぇ灏� - * @param fse 瀹㈡埛fse - * @return 鍓╀綑绌洪棿澶у皬 - */ - public int findClientFileResidueCapacity(FieldSetEntity fse) throws BaseException - 3锛変笂浼犳枃浠� - 1>鍓嶇涓婁紶鏂囦欢锛岃繑鍥炴枃浠朵俊鎭粰鍚庣锛岃皟鐢ㄨ姹傚墠缂�/api/fileManager/add-file-record-plan/{version}锛岃鎯呰showdoc涓�14-1銆佹枃浠舵柊澧炲噯澶囷紝鍚庣杩斿洖fse - 浼犲叆json绀轰緥锛� - { - "org_level_uuid": "b8631dad-6cc1-4d5a-9f6f-e8c76e6a5464", - "~table~": "mrbase_sys_attachments", - "attachment_title": "test_202006221036.doc", - "client_uuid": "06f959c8-4f41-407c-9bcc-8137a8b22f50", - "language": "mslc1112", - "function_uuid": "97779f8b-9657-47e7-8915-2f51113210fe", - "client_type": "web", - "attachment_data_table": "test_project", - "version": "v1", - "token": "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJhZG1pbiIsImlhdCI6MTU5Mjc5MzY3OSwic3ViIjoic2hpX2Nob25nZnVAMTYzLmNvbSIsImlzcyI6Ind3dy5tcmMuY29tIiwiZXhwIjoxNTkyODY1Njc5fQ.kgffR0iYgjKhFSNI-ak5hPCf3453aOYXIrwHte7pRAY", - "product_uuid": "001", - "staff_uuid": "e2f158ec-a6c7-40e0-a201-4fd7eb2e0e98", - "attachment_data_field": "attachment", - "attachment_size": "1" - } - 2>鍓嶇寰楀埌鍚庣杩斿洖鍚庢嫾鎺rl锛岃皟鐢ㄨ嚦鏈嶅姟鍣ㄧ涓婁紶鏂囦欢锛屾牴鎹湇鍔″櫒绔姸鎬佽繑鍥炶皟鐢ㄨ姹傚墠缂�/api/fileManager/add-file-callback/{version}锛岃鎯呰showdoc涓�14-2銆佹枃浠舵柊澧炵粨鏋滃洖璋冦�傛湇鍔$鏂板鎴愬姛鏈湴鎵ц淇敼锛屽彉鏇存枃浠惰褰曠姸鎬佷负涓婁紶鎴愬姛锛岃繑鍥瀠pdate锛涙湇鍔$鏂板澶辫触鏈湴鎵ц鍒犻櫎锛岃繕鍘熻褰曪紝杩斿洖del - 浼犲叆json绀轰緥锛� - { - "result": "1", - "uuid": "c48c0147-8b2f-4a8d-9d5b-46c55ceb725b", - "token": "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJhZG1pbiIsImlhdCI6MTU5Mjc5NjMzNiwic3ViIjoic2hpX2Nob25nZnVAMTYzLmNvbSIsImlzcyI6Ind3dy5tcmMuY29tIiwiZXhwIjoxNTkyODY4MzM2fQ.LiUeajNzZAHWuT5O_YdPh5IOp7geVjklBGrWUBz79fo" - } - 4锛夊垹闄ゆ枃浠� - 1>鍓嶇鍒犻櫎鏂囦欢锛岃繑鍥炴枃浠朵俊鎭粰鍚庣锛岃皟鐢ㄨ姹傚墠缂�/api/fileManager/del-file-record-plan/{version}锛岃鎯呰showdoc涓�14-3銆佹枃浠跺垹闄ゅ噯澶囷紝鍚庣杩斿洖fse - 浼犲叆json绀轰緥锛� - { - "uuid": "c48c0147-8b2f-4a8d-9d5b-46c55ceb725b", - "token": "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJhZG1pbiIsImlhdCI6MTU5MjgwNDMyOSwic3ViIjoic2hpX2Nob25nZnVAMTYzLmNvbSIsImlzcyI6Ind3dy5tcmMuY29tIiwiZXhwIjoxNTkyODc2MzI5fQ.Fsau5aHByePG7E-p68Y8_Py6yGAcYwbxQLwhkz20MGQ" - } - 2>鍓嶇寰楀埌鍚庣杩斿洖鍚庢嫾鎺rl锛岃皟鐢ㄨ嚦鏈嶅姟鍣ㄧ鍒犻櫎鏂囦欢锛屾牴鎹湇鍔″櫒绔姸鎬佽繑鍥炶皟鐢ㄨ姹傚墠缂�/api/fileManager/del-file-callback/{version}锛岃鎯呰showdoc涓�14-4銆佹枃浠跺垹闄ょ粨鏋滃洖璋冦�傛湇鍔$鍒犻櫎鎴愬姛鏈湴鎵ц鍒犻櫎锛岃繑鍥瀌el锛涙湇鍔$鍒犻櫎澶辫触鏈湴鎵ц淇敼锛岃繕鍘熸枃浠惰褰曠姸鎬侊紝杩斿洖update - 浼犲叆json绀轰緥锛� - { - "result": "0", - "uuid": "c48c0147-8b2f-4a8d-9d5b-46c55ceb725b", - "token": "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJhZG1pbiIsImlhdCI6MTU5MjgwNTg4OSwic3ViIjoic2hpX2Nob25nZnVAMTYzLmNvbSIsImlzcyI6Ind3dy5tcmMuY29tIiwiZXhwIjoxNTkyODc3ODg5fQ.0x7xmEM2G8qXq7jiYQiy6iDm48tYEqVS9UqhlHUB9xk" - } -45.鏈湴鏂囦欢涓婁紶--绯荤粺鏈嶅姟鍣� - 鏍稿績锛氶渶瑕乻igar-amd64-winnt.dll鎴栬�卻igar-x86-winnt.dll鏂囦欢缃簬jdk鐨刡in涓垨鑰卌鐩榳indows/system32 - 涓婁紶鐩綍閰嶇疆锛岃properties鏂囦欢涓殑upload.file銆倄xxx 鍑犱釜鐩稿叧鍙傛暟 - 涓婁紶鏂囦欢鑷姩瀛樺埌鐩綍涓嬶紝鍦╟ontroller鎴杝ervice灞備腑璇诲彇鎿嶄綔銆� - -46.娑堟伅鏈嶅姟 - 1.鏂板缓闃熷垪 - public static void createQueue(String queue_name) - 鏃犺繑鍥炲�� - 2.鍒犻櫎闃熷垪 - public static void deleteQueue(String queue_name) - 鏃犺繑鍥炲�� - 3.鏂板缓浜ゆ崲鏈� - messageService.addExchange - 鍙傛暟 - "exchange_uuid":"鏂板缓浜ゆ崲鏈�" - 杩斿洖鍊硷細浜ゆ崲鏈簎uid - 4.缁戝畾浜ゆ崲鏈� - messageService.bindExchange - 鍙傛暟锛� - {"user_uuid":"鐢ㄦ埛uuid", - "exchange_uuid":"浜ゆ崲鏈簎uid"} - 杩斿洖鍊硷細Boolean - 5.瑙g粦浜ゆ崲鏈� - messageService.unbindExchange - 鍙傛暟锛� - {"user_uuid":"鐢ㄦ埛uuid", - "exchange_uuid":"浜ゆ崲鏈簎uid"} - 杩斿洖鍊硷細boolean - 6.娣诲姞娑堟伅涓旀坊鍔犳秷鎭褰� - messageService.addMessage - 鍙傛暟锛� - { - "exchange_uuid":"浜ゆ崲鏈簎uid" - "message_uuid"锛�"鐢ㄦ埛uuid" - "message":"娑堟伅鍐呭" - "template_id":"妯℃澘id" - "create_by":"鎿嶄綔浜簎uid" - "virtual_hosts":"铏氭嫙鏈哄悕" - } -47.缁煎悎鎼滅储锛� - findService.listUuid - 鍙傛暟锛� - { - ~table~锛歔鈥溾��,鈥濃��,鈥濃��,鈥濃�漖 //鏁版嵁搴撹〃 - Conditions:[{condition:value},{},{}...] //鏉′欢 - language:value //鍥介檯鍖栬瑷� - } - 杩斿洖鍊硷細list<String> uuids - - 褰撴煡璇㈣鍚嶏紝浣跨敤澶氳〃鑱斿悎鏌ヨ锛屽苟浣跨敤浜嗗埆鍚嶆椂锛岄渶瑕佹坊鍔犺〃鍒悕銆佸瓧娈靛埆鍚嶈缃紝骞舵妸sql璇彞浣跨敤select * from (鏌ヨ璇彞+鏁版嵁鏉冮檺鏉′欢+楂樼骇鏌ヨ鏉′欢) b 鎷捣鏉ワ紝娉ㄦ剰 - 48.浠ヤ笅鍐呭鍙樻洿 - 1.core鍖呭紩鍏ュ彉鏇� -<dependency> - <groupId>com.lx</groupId> - <artifactId>base-server-core</artifactId> - <version>1.0.0-releases</version> -</dependency> -2.鎵�鏈夊紩鍏ore鍖呬腑绫荤殑璺緞鍚湁鍏ㄩ儴鏇挎崲鎴恇ase,濡傦細 -import com.product..core.dao.BaseDao; -> import com.product.base.core.dao.BaseDao; - -3.鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛瀵瑰簲鍛樺伐淇℃伅锛� - 鏀规垚getCurrentStaff() FieldSetEntity - -4.鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛瀵瑰簲鍛樺伐鎵�灞炲叕鍙镐俊鎭� - getCurrentCompany() FieldSetEntity -鍗曠嫭鑾峰彇鍏徃鐨剈uid銆乷rg_level_name(鍏徃鍚嶇О) org_level_code(鍏徃缂栫爜) - -4.鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛瀵瑰簲鍛樺伐鎵�灞為儴闂ㄤ俊鎭� - getCurrentDept() FieldSetEntity -鍗曠嫭鑾峰彇閮ㄩ棬uuid - -5.鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛瀵瑰簲鍛樺伐鎵�灞炲鎴蜂俊鎭� - getCurrentCustomer() -鍗曠嫭鑾峰彇瀹㈡埛uuid 銆佸鎴峰悕绉般�佸鎴风紪鐮� - -6.鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛瀵瑰簲绠$悊鍛樹俊鎭� - getCurrentManager() - -7.鑾峰彇鏌ヨ鏁版嵁闆嗙殑鎵�鏈塽uid - public String DataTableEntity.getUuids() 鍘� 锛屾敼涓轰互涓� - - 鎸囧畾琛ㄧ殑鎵�鏈塽uid,杩斿洖鏁扮粍 - -> public Object[] getUuids(Object tableName) - 鎸囧畾琛ㄧ殑鎵�鏈塽uid锛岃繑鍥為�楀彿鍒嗛殧鐨勫瓧绗︿覆 - -> public String getUuidsToString(Object tableName) - 杩斿洖榛樿琛ㄧ殑鎵�鏈塽uid,杩斿洖鏁扮粍 - -> public Object[] getUuids() - 杩斿洖榛樿琛ㄧ殑鎵�鏈塽uid,杩斿洖閫楀彿鍒嗛殧鐨勫瓧绗︿覆 - -> public String getUuidsToString() -8.鐧诲綍涓婁紶鍥哄畾鍙傛暟 - system_language_code 璇█缂栫爜 zh en - system_client_type 瀹㈡埛绫诲瀷 - system_client_version 浠g爜鐗堟湰 - -9.鎺ュ彛鐗堟湰鍙峰ぇ鍐橵鍐嶅姞3涓暟瀛楀涓嬶細 -鎵�鏈夋帴鍙e繀椤讳笂浼犵増鏈彿 -http://{IP}:{PORT}/{ProjectName}/api/app/homepage/get-home-page-list/v1 鎴杤2 - -10.new FieldSetEntity()鍚庯紝棣栧厛瑕佽缃〃鍚嶏紝鎵嶈兘璋僺etValue(String fieldName,Object fieldValue)锛� 鍚﹀垯鍙兘璋僺etValue(String fieldName,Object fieldValue,Object tableName) - -11.public FieldSetEntity getLeaderStaff() throws BaseException SystemUser.getLeaderStaff()鑾峰彇褰撳墠浜烘墍鐩村睘棰嗗淇℃伅 - -12.public FieldSetEntity getJobPost() throws BaseException SystemUser.getJobPost()鑾峰彇褰撳墠浜烘墍宀椾綅淇℃伅 - -13.public DataTableEntity loadDirectSubordinate(String staffUuid) throws BaseException StaffManagerService.loadDirectSubordinate() 鑾峰彇鎸囧畾浜哄憳鐨勭洿鎺ヤ笅灞� - -14.public DataTableEntity loadAllSubordinate(String staffUuid) throws BaseException StaffManagerService.loadAllSubordinate() 鑾峰彇鎸囧畾浜哄憳鐨勬墍鏈夌洿鎺ヤ笅灞� - -15.public FieldSetEntity loadStaffLeader(Integer userid) StaffManagerService.loadStaffLeader() 鑾峰彇浜哄憳鐨勭洿灞為瀵� - -16.public FieldSetEntity loadStaffLeader(String staffUuid) StaffManagerService.loadStaffLeader() 鑾峰彇浜哄憳鐨勭洿灞為瀵� - -17.鏌ヨ鍑烘潵鐨勬暟鎹泦DataTableEntity 鎴朏ieldSetEntity 涓幏鍙栧埌FieldMetaEntity,璋僷ublic void addAliasField(String tableName_fieldName,String alias)娣诲姞鏌ヨ涓娇鐢ㄧ殑鍥介檯鍖栬繖娈靛埆鍚嶃�� -tableName_fieldName锛� 琛ㄥ悕涓庡瓧娈靛悕缁勫悎锛屼腑闂翠互鐐瑰垎闅� table.field -Alias锛� sql涓搴旂殑瀛楁鍒悕 - -18.濡傛灉澶氳〃鑱斿悎鏌ヨ锛岃鍙栧浗闄呭寲鍊肩殑琛紝蹇呴』鍙栬琛╱uid瀛楁锛屾湁閲嶅uuid锛岃嚜鍔ㄦ坊鍔犲埆鍚嶏紝鏌ヨ鍑烘潵鐨剈uid浼氬湪鍚庨潰娣诲姞鏁版嵁閫掑锛屽锛歶uid1,uuid2,绗竴涓猽uid涓嶄細鍙橈紝濡傛灉瑕佹墜鍔ㄥ閲嶅鐨剈uid鍙栧埆鍚嶏紝涔熷簲鎸夋瑙勫垯杩涜锛屽惁鍒欏彲鑳藉嚭鐜板浗闄呰幏鍙栦笉鍒版暟鎹瓑鎯呭喌 -19.濡傛灉澶氳〃鑱斿悎鏌ヨ锛屽叾瀹冨瓧娈甸噸澶嶄笌uuid閲嶅绫讳技, -澶氳〃鑱斿悎鏌ヨ锛屽悓涓�涓〃锛屽悓涓�涓瓧娈碉紝浣跨敤涓ゆ锛岄渶瑕乻elect * from () b 鎶婃煡璇富浣撴嫭璧锋潵鍚屾椂琛ㄥ繀椤昏缃埆鍚� -20.FeildSetEntity涓幏鍙朞bject鏃舵湁涓や釜鏂规硶锛歡etValue(String fieldName)鍜実etObject(String fieldName),鍖哄埆鍦ㄤ簬锛実etValue锛圫tring fieldName锛変細鎶婂浗闄呭寲瀛楁鍊艰浆鎴怞SONObject瀵硅薄锛岃�実etObject(String fieldName)鍙槸杩斿洖鍩虹鏁版嵁 - -48.鎵嬫満绔疛SON鏁版嵁鏍煎紡鐨勮皟鐢� - 璇█缂栫爜鑾峰彇 - String language_code=reqp.getOther().get(com.lx.base.core.config.CmnConst.SYSTEM_LANGUAGE_CODE ).toString(); - String client_type=reqp.getOther().get(com.lx.base.core.config.CmnConst.SYSTEM_CLIENT_TYPE ).toString(); - 鏁版嵁淇濆瓨锛� - baseDao.add(FieldSetEntityfse,String language_code); - baseDao.add(FieldSetEntity fs,boolean subData,String language_code) - baseDao.add(DataTableEntity fs,String language_code) - 鏁版嵁淇敼锛� - baseDao.update(FieldSetEntity fs,String language_code) - baseDao.update(FieldSetEntity fs,boolean subData,String language_code) - baseDao.update(DataTableEntity fs,String language_code) - 鏁版嵁鏌ヨ锛� - FieldSetEntity listInternationDataTable(FieldSetEntity fs,String language_code ) - DataTableEntity listInternationDataTable(DataTableEntity dt,String language_code ) -49.鍚庣閿欒淇℃伅鍥介檯鍖� - 1)閿欒淇℃伅鏋氫妇绫绘敞鍏ワ紝鍚姩绫讳腑娣诲姞娉ㄥ叆浠g爜锛� - DataPoolCacheImpl.getInstance() - .appendErrorEnumClass("com.lx.base.core.config.ErrorCode") - .appendErrorEnumClass("com.lx.base.module.sys.config.SystemCode") - .appendErrorEnumClass("com.lx.base.module.sys.config.SystemErrorCode"); - 2)鐗规畩鎯呭喌璋冪敤锛圓bstractBaseController.error()銆丅aseException.getMessage()銆乬etMessageInfo()宸插疄鐜帮級 - String message=DataPoolCacheImpl.getInstance().getErrorLanguageInternation(code, language_code); - -50.楂樼骇鍙傜収鏁版嵁杩斿洖瑙勫垯 - 1)鎵�鏈夊崟浣嶉珮绾у弬鐓ф暟鎹� f1 鍏ㄧО f2 鐭紪鐮� - 2)鎵�鏈夐儴闂ㄩ珮绾у弬鐓ф暟鎹� f1 鍏ㄧО f2 鐭紪鐮� - 3)鎵�鏈夊矖浣嶉珮绾у弬鐓ф暟鎹� f1 鍏ㄧО - 4)鎵�鏈夊矖浣嶇瓑绾ч珮绾у弬鐓ф暟鎹� f1 绛夌骇绾у埆 f2 缁勫悕 - 5)鎵�鏈夋ā鍧楅珮绾у弬鐓ф暟鎹� f1 鐭紪鐮� - 6)鎵�鏈夊姛鑳介珮绾у弬鐓ф暟鎹� f1 鐭紪鐮� - 7)鎵�鏈夊鎴烽珮绾у弬鐓ф暟鎹� f1 鐭紪鐮� -51.楂樼骇鍙傜収閰嶇疆 - 鏁版嵁婧愯〃瀛楁鏇存敼涓哄悗绔帴鍙o紝浠嶥ataPoolCacheImpl.getInstance().getCacheData("鎵�鏈夎〃淇℃伅");涓幏鍙栨墍鏈夎〃 - 琛ㄥ埆鍚嶏細浠� "a"+table_id涓鸿〃鍒悕 - 閲嶅鍏宠仈琛ㄩ厤缃細SystemPromptService.getPromptRepetitionJoinTable() 锛屽満鏅� 鍏徃 join 閮ㄩ棬 銆佸憳宸oin涓嬪睘 - 鍏宠仈绫诲瀷 left join , inner join , right join - 鍗曡〃锛� - 鏁版嵁婧愯〃澶氬嚭鍒悕 - 瀛楁锛氳〃鍒悕 "."瀛楁鍚� - 澶氳〃 - is_multiple = 1 - relate_filter(澶氳〃鍏宠仈鏉′欢锛� - relate_type(鍏宠仈绫诲瀷锛� - 鍦ㄩ�夋嫨浜嗘暟鎹簮琛� a 锛宐锛� c , d琛ㄥ埆鍚嶅垎鍒负 a1,a2,a3,a4 - 鍏宠仈绫诲瀷= left join锛堟牴鎹笟鍔¢渶姹傚畾锛岀洰鍓嶅彧鑳介�夋嫨1绉嶅叧鑱旀柟寮�) - 澶氳〃鍏宠仈鏉′欢 = a1.uuid=a2.uuid,a3.uuid=a1.uuid,a2.uuid=a4.uuid 澶氫釜琛ㄧ殑鍏宠仈鏉′欢 鐢� "," 鍒嗛殧锛� - 澶氳〃鍏宠仈鏉′欢濉啓椤哄簭搴斾笌琛ㄩ『搴忓搴斾笉鍙鍊� - 姣忎釜琛ㄥ叧鑱斿繀椤诲湪瀵瑰簲鐨勪竴缁勫叧鑱旀潯浠朵腑鐢ㄥ埌 琛ㄥ埆鍚�"."瀛楁 - 閿欒绀鸿寖锛氣�渁1.uuid=a2.uuid,a3.uuid=a1.uuid鈥� 锛岄珮绾у弬鐓ц〃鍏宠仈涓暟涓庢潯浠朵釜鏁颁笉鍖归厤 -52.鍔熻兘鏉冮檺楠岃瘉 - 蹇呴』閰嶇疆mrbase_sys_function_buttons.api_url閰嶇疆鎸夐挳瀵瑰簲鍚庣鎺ュ彛鍦板潃锛屽涓�楀彿鍒嗛殧,涓嶈兘鍚増鏈彿锛屽锛� - 鎺ュ彛鍦板潃锛�/api/management/delete-user/v1 閰嶇疆鍦板潃锛�/api/management/delete-user - -53.鏁版嵁鎿嶄綔鏉冮檺楠岃瘉 - 涓昏閽堝鍗曟潯鏁版嵁鐨勫垹 銆佹敼 銆佹煡鎿嶄綔锛屽湪鍒� 銆佹敼 銆佹煡鐨勭浉搴旀帴鍙h皟鐢� - 蹇呴』璁剧疆mrbase_sys_datamodel_field.field_type,userid锛氬瓨鏀句汉鍛樼殑瀛楁绫诲瀷锛宱rgUuid锛氬瓨鏀剧粍缁囨満鏋勭殑瀛楁绫诲瀷 - 1)Controller鎺ュ彛灞傝皟鐢� - 2)璋冩硶 - /** - * 瀵瑰崟鏉℃暟鎹繘琛屾搷浣滅殑鏉冮檺楠岃瘉 - * @param tableName 琛ㄥ悕 - * @param uuid uuid - * @param type 楠岃瘉绫诲瀷 1=浜哄憳楠岃瘉 2= 缁勭粐鏈烘瀯楠岃瘉 3 涓よ�呴兘楠岃瘉 - * @return - */ - public boolean validDataPermission(String tableName,String uuid ,int type) - /** - * 瀵瑰崟鏉℃暟鎹繘琛屾搷浣滅殑鏉冮檺楠岃瘉 - * @param fs 涓婁紶鏁版嵁锛屽繀椤诲寘鍚〃鍚� uuid ,鍚︿竴寰嬮�氳繃 - * @param type 楠岃瘉绫诲瀷 1=浜哄憳楠岃瘉 2= 绾х粐鏈烘瀯楠岃瘉 3 涓よ�呴兘楠岃瘉 - * @return - */ - public boolean validDataPermission(FieldSetEntity fs ,int type) - /** - * 瀵瑰崟鏉℃暟鎹繘琛屾搷浣滅殑鏉冮檺楠岃瘉 ,鐗规畩鏉冮檺鏉′欢 锛屼笉鏍规嵁浜� 缁勭粐鏈烘瀯杩囨护 - * @param tableName 琛ㄥ悕 - * @param uuid uuid - * @param filter 鐗规畩鏉冮檺鏉′欢 - * @return - */ - public boolean validDataPermission(String tableName,String uuid,String filter) - /** - * 瀵瑰崟鏉℃暟鎹繘琛屾搷浣滅殑鏉冮檺楠岃瘉 ,鐗规畩鏉冮檺鏉′欢 锛屼笉鏍规嵁浜� 缁勭粐鏈烘瀯杩囨护 - * @param fs 涓婁紶鏁版嵁锛屽繀椤诲寘鍚〃鍚� uuid ,鍚︿竴寰嬮�氳繃 - * @param filter 鐗规畩鏉冮檺鏉′欢 - * @return - */ - public boolean validDataPermission(FieldSetEntity fs ,String filter) - 3)鏁版嵁鎿嶄綔鐨勬潈闄愰獙璇�,鐗规畩鏉′欢璋冪敤绀轰緥 - if(!permissionService.validDataPermission(fse, "(client_uuid is null or client_uuid='') or client_uuid='" - +SpringMVCContextHolder.getCurrentUser().getClient_uuid()+"'")) { - SpringMVCContextHolder.getSystemLogger().error(SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getValue(), - SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getText()); - return this.error(SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getValue(), SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getText()); - } - - 4)鎸変汉鍛樸�佺粍缁囨満鏋勯獙璇佹暟鎹潈闄愯皟鐢ㄧず渚� - 蹇呴』璁剧疆mrbase_sys_datamodel_field.field_type,userid锛氬瓨鏀句汉鍛樼殑瀛楁绫诲瀷锛宱rgUuid锛氬瓨鏀剧粍缁囨満鏋勭殑瀛楁绫诲瀷 - if(!permissionService.validDataPermission(fse,CoreConst.DATA_PERMISSION_VALID_TYPE_ALL)) { - SpringMVCContextHolder.getSystemLogger().error(SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getValue(), - SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getText()); - return this.error(SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getValue(), SystemErrorCode.SYSTEM_NOT_OPER_PERMISSION.getText()); - } -54.涓氬姟浠g爜閫昏緫澶勭悊 - 瑙勫垯鏄笟鍔′唬鐮佺被蹇呴』娉ㄥ唽鎴恠pring鐨刡ean,琚皟鐢ㄧ殑鏂规硶鍙兘鏈変竴涓狥ieldSetEntity鍙傛暟锛岄噷闈㈠皝瑁呬笟鍔′唬鐮佷腑闇�瑕佺殑鍊硷紝濡傦細 - public void addBalance(FieldSetEntity fs) - { - this.logger.info(" "); - this.staffBusinessService.addBalance(fs); - this.logger.info(" "); - } - -54.娑堟伅鐢熸垚 - /** - * 鎵�鏈夊簲鐢ㄦ湇鍔$敓鎴愭秷鎭皟浜涙柟娉曞幓娣诲姞娑堟伅 - * 鏍规嵁message.server.ip鍙傛暟鍒ゆ柇鏄惁绛変簬127.0.0.1 - * 鏄細鍒欑洿鎺ヨ皟writeUserMessage鏈満鏂规硶娣诲姞娑堟伅 - * 鍚︼細鍒欒皟娑堟伅鏈嶅姟鍣ㄦ帴鍙f坊鍔犳秷鎭� - * @param userids 娑堟伅鎺ユ敹浜� 蹇呭~ - * @param content 娑堟伅鍐呭 涓嶅繀濉� - * @param title 娑堟伅鏍囬 蹇呭~ - * @param send_user_id 娑堟伅鍙戦�佷汉 蹇呭~ - * @param message_type 娑堟伅绫诲瀷 蹇呭~ - * @param url 娑堟伅閾炬帴鍦板潃 涓嶅繀濉� - * @param source_table 涓氬姟鏁版嵁琛� 涓嶅繀濉� - * @param source_uuid 涓氬姟鏁版嵁琛╱uid 涓嶅繀濉� - * @param create_by 鍒涘缓浜� userid 蹇呭~ - * @param is_send_mail 鏄惁鍙戦�侀偖浠� 0:鍚� 1锛氭槸 蹇呭~ - * @param is_send_sms 鏄惁鍙戦�佺煭淇� 0:鍚� 1锛氭槸 蹇呭~ - */ - WebsocketMesssageServiceThread.getInstance().appendMessage(String ....); - - //娑堟伅绫诲瀷 - //琛ㄥ悕甯搁噺瀹氫箟 - public static final int MESSAGE_TOP_TYPE_SYSTEM =1; //"绯荤粺娑堟伅"; - public static final int MESSAGE_TYPE_ANNOUNCEMENT =11; //"鍏憡娑堟伅"; - - public static final int MESSAGE_TOP_TYPE_TASK =2; //"浠诲姟娑堟伅"; - public static final int MESSAGE_TYPE_APPROVE =21; //"寰呭姙娑堟伅"; - public static final int MESSAGE_TYPE_COORDINATION =22; //"鍗忓悓娑堟伅"; - public static final int MESSAGE_TYPE_TASK = 23;// "浠诲姟妯″潡娑堟伅"; - - public static final int MESSAGE_TOP_TYPE_WARNING =3; //"棰勮娑堟伅"; - public static final int MESSAGE_TYPE_WARNING =31; //"棰勮娑堟伅"; - -55.瀛愯〃鎺掑簭瑙勫垯,涓嫭鍙峰唴琛ㄧず瀛愯〃鎺掑簭 鏀惧埌orderby鍙傛暟涓� -String s="main_field1,main_field2,{sub_table1:sub_table1_field1 desc,sub_table1_field2},{sub_table2:sub_table2_field1 desc,sub_table2_field2}" -56.閿欒淇℃伅涓殑鍔ㄦ�佸彉閲忔浛鎹� -鏇垮垯浣跨敤{}鎶婂彉閲忓悕鎷捣鏉ワ紝姝ゅ彉閲忓悕灏嗗湪Exception涓幏鍙栵細DATA_VERIFY_UNIQUE_ERROR("鏁版嵁涓嶆槸鍞竴锛歿value}", ModuleEnum.CORE.getValue() + "097"), -绀轰緥锛� - be.setMessagePara("fieldxxxx","鏈幏鍙栧埌鐧诲綍Token淇℃伅"); - be.setMessagePara("fieldxxxx",fs.getString("field")); -"fieldxxxx"瀵瑰簲閿欒瀹氫箟涓殑{fieldxxxx} - -56.鍙嶅皠寮曠敤bean :com.product.core.util.ReflectUtil - /** - * - * @param beanName 琚唬鐞嗗鍍廱ean 鍚嶇О - * @param methodName 鏂规硶鍚嶇О - * @param objects 鍙傛暟 - * @return - * @throws BaseException - */ - public static Object invoke(String beanName,String methodName,Object[] objects) throws BaseException - -57.浜х敓娑堟伅鐨勮〃锛屽繀椤诲湪瀵瑰簲琛ㄧ殑produce_msg瀛楁涓�间负1 - -58.鑷姩鍙戣捣娴佺▼ - com.lx.tool.flow.service.FlowService#autoSendFlow - - 鎻忚堪锛� - 锛�1锛塻ervice鏂规硶锛岄潪鎺ュ彛鏂规硶 - 锛�2锛夋牴鎹紶鍏ョ殑鍙傛暟锛岃嚜鍔ㄥ彂璧锋祦绋嬶紝鍒涘缓娴佺▼鐨勭涓�姝ワ紝鐩存帴鍒般�愬紑濮嬨�戠幆鑺� - - 浼犲叆鍙傛暟锛歠se - { - "type_code"锛� "5a1dd74e-5b69-479c-afa0-a7db3e7fd6b2", - "~table~": "lx_oa_conference_apply", - "accepters": "376", - "uuid": "5aadc03d-6ae3-470c-8507-4aaf660d9495", - "flow_title": "6c娴嬭瘯鑷姩鍙戣捣娴佺▼" - } - - 鍙傛暟鎻忚堪锛� - 锛�1锛塼ype_code锛氱被鍨媢uid锛岀被鍨嬪敮涓�璇嗗埆 - 锛�2锛墌table~锛氫笟鍔¤〃鍚� - 锛�3锛塧ccepters锛氭帴鏀朵汉锛屽彧鑳戒负涓�涓� - 锛�4锛塽uid锛氫笟鍔¤〃uuid - 锛�5锛塮low_title锛氭祦绋嬫爣棰� -59.浜т腑鎵撳寘閮ㄧ讲 - jar閮ㄧ讲锛氭墦寮�宸ョ▼鐨刾om.mxl,鍙抽敭->Run as -> Maven install->杩涘叆宸ョ▼鐩綍->target鐩綍->copy 鎶婂畬鍖呯殑宸ョ▼jar锛屾斁鍒版湇鍔″櫒鐨勮繍琛岀洰褰曚笅鐨刲ib鐩綍涓嬶紙渚嬪200涓婏細D:\LXServer\product-server\lib锛� - 鍓嶇鏂囦欢閮ㄧ讲锛氳繘鍏x-web骞惰繍琛宲acked.bat锛岄噸鏂扮敓鎴恉ist鐩綍->杩涘叆dist鐩綍copy闄aseUrl.js浠ュ鐨勬墍鏈夋枃浠讹紝鏀惧埌鏈嶅姟鍣ㄧ殑杩愯鐩綍涓嬬殑web鐩綍涓嬨�� - 閲嶅惎锛堣繍琛屾闈㈠揩鎹烽敭锛� - -60.鍒嗛〉鏌ヨsql - select '6973' as staff_uuid 杩欑娌℃湁from鐨勮鍙�,瑕佹坊鍔� from dual锛屽惁鍒欏垎椤垫煡璇細鍑洪敊 - -61.鏌ヨ鍗曟潯璁板綍锛実etFieldSet... 涓� getFieldSetEntity...鐨勫尯鍒細 鍓嶉潰鏂规硶鍦ㄦ病鏈夋煡鍒版暟鎹椂杩斿洖涓嶄负绌猴紝鍚庨潰鏂规硶鍦ㄦ病鏈夋煡鍒版暟鎹椂杩斿洖null - -62.閰嶇疆鎶ヨ〃 - 鍋囪杩囨护鏉′欢涓�"start_time>=('2021-12-01 00:00:00','%Y-%m-%d %H:%i:%s')" - {$$} 绫诲瀷涓�0锛屽彧鍙栧�硷紝鍗充负"2021-12-01 00:00:00" - {^^} 绫诲瀷涓�1锛屽彇闄ゅ紑瀛楁澶栫殑鎵�鏈夊唴瀹癸紝鍗充负">=('2021-12-01 00:00:00','%Y-%m-%d %H:%i:%s')" - {&&} 绫诲瀷涓�2锛屽彇鎵�鏈夊唴瀹癸紝鍖呭惈瀛楁锛屽嵆涓�"start_time>=('2021-12-01 00:00:00','%Y-%m-%d %H:%i:%s')" - [[]] 鑻ユ槸鏍规嵁涓婇潰鐨勬墍鏈夋柟寮忔浛鎹箣鍚庝緷鐒跺瓨鍦ㄤ换鎰忎竴绉嶏紝鍓旈櫎鍖呭惈鍦ㄥ唴鐨勮繃婊ゆ潯浠� diff --git "a/product-server-web/doc/\347\263\273\347\273\237\351\203\250\347\275\262.docx" "b/product-server-web/doc/\347\263\273\347\273\237\351\203\250\347\275\262.docx" deleted file mode 100644 index b623971..0000000 --- "a/product-server-web/doc/\347\263\273\347\273\237\351\203\250\347\275\262.docx" +++ /dev/null Binary files differ diff --git "a/product-server-web/doc/\351\224\231\350\257\257\344\273\243\347\240\201\350\257\246\347\273\206\350\257\264\346\230\216.docx" "b/product-server-web/doc/\351\224\231\350\257\257\344\273\243\347\240\201\350\257\246\347\273\206\350\257\264\346\230\216.docx" deleted file mode 100644 index d80f8e7..0000000 --- "a/product-server-web/doc/\351\224\231\350\257\257\344\273\243\347\240\201\350\257\246\347\273\206\350\257\264\346\230\216.docx" +++ /dev/null Binary files differ diff --git "a/product-server-web/imp_temp/\345\233\275\351\231\205\345\214\226Label\346\250\241\346\235\277.xls" "b/product-server-web/imp_temp/\345\233\275\351\231\205\345\214\226Label\346\250\241\346\235\277.xls" deleted file mode 100644 index 2e961af..0000000 --- "a/product-server-web/imp_temp/\345\233\275\351\231\205\345\214\226Label\346\250\241\346\235\277.xls" +++ /dev/null Binary files differ diff --git "a/product-server-web/imp_temp/\345\262\227\344\275\215\346\250\241\346\235\277.xls" "b/product-server-web/imp_temp/\345\262\227\344\275\215\346\250\241\346\235\277.xls" deleted file mode 100644 index fe43fde..0000000 --- "a/product-server-web/imp_temp/\345\262\227\344\275\215\346\250\241\346\235\277.xls" +++ /dev/null Binary files differ diff --git "a/product-server-web/imp_temp/\345\262\227\344\275\215\347\255\211\347\272\247\346\250\241\346\235\277.xls" "b/product-server-web/imp_temp/\345\262\227\344\275\215\347\255\211\347\272\247\346\250\241\346\235\277.xls" deleted file mode 100644 index e6ecf48..0000000 --- "a/product-server-web/imp_temp/\345\262\227\344\275\215\347\255\211\347\272\247\346\250\241\346\235\277.xls" +++ /dev/null Binary files differ diff --git "a/product-server-web/imp_temp/\346\210\220\346\234\254\344\270\255\345\277\203\346\250\241\346\235\277.xlsx" "b/product-server-web/imp_temp/\346\210\220\346\234\254\344\270\255\345\277\203\346\250\241\346\235\277.xlsx" deleted file mode 100644 index 3233872..0000000 --- "a/product-server-web/imp_temp/\346\210\220\346\234\254\344\270\255\345\277\203\346\250\241\346\235\277.xlsx" +++ /dev/null Binary files differ diff --git "a/product-server-web/imp_temp/\347\224\250\346\210\267\344\277\241\346\201\257.xls" "b/product-server-web/imp_temp/\347\224\250\346\210\267\344\277\241\346\201\257.xls" deleted file mode 100644 index 2f0c55e..0000000 --- "a/product-server-web/imp_temp/\347\224\250\346\210\267\344\277\241\346\201\257.xls" +++ /dev/null Binary files differ diff --git "a/product-server-web/imp_temp/\347\273\204\347\273\207\346\234\272\346\236\204\346\250\241\346\235\277.xls" "b/product-server-web/imp_temp/\347\273\204\347\273\207\346\234\272\346\236\204\346\250\241\346\235\277.xls" deleted file mode 100644 index 3d29800..0000000 --- "a/product-server-web/imp_temp/\347\273\204\347\273\207\346\234\272\346\236\204\346\250\241\346\235\277.xls" +++ /dev/null Binary files differ diff --git a/product-server-web/lib/installMvn.bat b/product-server-web/lib/installMvn.bat deleted file mode 100644 index 5e6a33c..0000000 --- a/product-server-web/lib/installMvn.bat +++ /dev/null @@ -1,18 +0,0 @@ -@echo off -echo 安装jar包路径:%~dp0 -echo 开始安装jar到Maven仓库 -echo product-server-core-1.0.0-releases.jar - -call mvn install:install-file -Dfile=product-server-core-1.0.0-releases.jar -DgroupId=com.lx -DartifactId=product-server-core -Dversion=1.0.0-releases -Dpackaging=jar - -echo spring-server-master-1.2.6.6.jar -call mvn install:install-file -Dfile=spring-server-master-1.2.6.6.jar -DgroupId=org.spring -DartifactId=spring-server-master -Dversion=1.2.6.6 -Dpackaging=jar - -echo jodconverter-2.2.2.jar -call mvn install:install-file -Dfile=jodconverter-2.2.2.jar -DgroupId=com.artofsolving -DartifactId=jodconverter -Dversion=2.2.2 -Dpackaging=jar -echo jodconverter-core-3.0-beta-4.jar - -call mvn install:install-file -Dfile=jodconverter-core-3.0-beta-4.jar -DgroupId=org.artofsolving.jodconverter -DartifactId=jodconverter-core -Dversion=3.0-beta-4 -Dpackaging=jar - - -pause \ No newline at end of file diff --git "a/product-server-web/lib/jar\351\203\250\347\275\262\345\210\260maven\344\273\223\345\272\223.txt" "b/product-server-web/lib/jar\351\203\250\347\275\262\345\210\260maven\344\273\223\345\272\223.txt" deleted file mode 100644 index 62fc968..0000000 --- "a/product-server-web/lib/jar\351\203\250\347\275\262\345\210\260maven\344\273\223\345\272\223.txt" +++ /dev/null @@ -1,10 +0,0 @@ -mvn install:install-file -Dfile=D:/lxworkspaces/lx-server/lx-server-web/lib/jodconverter-2.2.2.jar -DgroupId=com.artofsolving -DartifactId=jodconverter -Dversion=2.2.2 -Dpackaging=jar -mvn install:install-file -Dfile=D:/lxworkspaces/lx-server/lx-server-web/lib/jodconverter-core-3.0-beta-4.jar -DgroupId=org.artofsolving.jodconverter -DartifactId=jodconverter-core -Dversion=3.0-beta-4 -Dpackaging=jar -mvn install:install-file -Dfile=D:/lxworkspaces/lx-server/lx-server-web/lib/spring-server-master-1.2.6.6.jar -DgroupId=org.spring -DartifactId=spring-server-master -Dversion=1.2.6.6 -Dpackaging=jar - - - -mvn install:install-file -Dfile=product-server-core-1.0.0-releases.jar -DgroupId=com.lx -DartifactId=product-server-core -Dversion=1.0.0-releases -Dpackaging=jar - -mvn install:install-file -Dfile=spring-server-master-1.2.6.6.jar -DgroupId=org.spring -DartifactId=spring-server-master -Dversion=1.2.6.6 -Dpackaging=jar - diff --git a/product-server-web/lib/jodconverter-2.2.2.jar b/product-server-web/lib/jodconverter-2.2.2.jar deleted file mode 100644 index d033256..0000000 --- a/product-server-web/lib/jodconverter-2.2.2.jar +++ /dev/null Binary files differ diff --git a/product-server-web/lib/jodconverter-core-3.0-beta-4.jar b/product-server-web/lib/jodconverter-core-3.0-beta-4.jar deleted file mode 100644 index af626da..0000000 --- a/product-server-web/lib/jodconverter-core-3.0-beta-4.jar +++ /dev/null Binary files differ diff --git a/product-server-web/lib/mrc-ess-server-util-1.0.0-SNAPSHOT.jar b/product-server-web/lib/mrc-ess-server-util-1.0.0-SNAPSHOT.jar deleted file mode 100644 index 2cfe090..0000000 --- a/product-server-web/lib/mrc-ess-server-util-1.0.0-SNAPSHOT.jar +++ /dev/null Binary files differ diff --git a/product-server-web/lib/product-server-core-1.0.0-RELEASES.jar b/product-server-web/lib/product-server-core-1.0.0-RELEASES.jar deleted file mode 100644 index 8ff4e0a..0000000 --- a/product-server-web/lib/product-server-core-1.0.0-RELEASES.jar +++ /dev/null Binary files differ diff --git a/product-server-web/lib/spring-server-master-1.2.6.6.jar b/product-server-web/lib/spring-server-master-1.2.6.6.jar deleted file mode 100644 index f4ee126..0000000 --- a/product-server-web/lib/spring-server-master-1.2.6.6.jar +++ /dev/null Binary files differ diff --git a/product-server-web/lx_file/temp/upload_dce3095c_9f62_4cbe_be4b_5ff267634ed5_00000006.tmp b/product-server-web/lx_file/temp/upload_dce3095c_9f62_4cbe_be4b_5ff267634ed5_00000006.tmp deleted file mode 100644 index 6389050..0000000 --- a/product-server-web/lx_file/temp/upload_dce3095c_9f62_4cbe_be4b_5ff267634ed5_00000006.tmp +++ /dev/null Binary files differ diff --git "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\205\254\345\217\270\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" "b/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\205\254\345\217\270\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" deleted file mode 100644 index 5ce0121..0000000 --- "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\205\254\345\217\270\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" +++ /dev/null Binary files differ diff --git "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\221\230\345\267\245\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" "b/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\221\230\345\267\245\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" deleted file mode 100644 index 98d2ee8..0000000 --- "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\221\230\345\267\245\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" +++ /dev/null Binary files differ diff --git "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\262\227\344\275\215\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" "b/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\262\227\344\275\215\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" deleted file mode 100644 index ea0ef6b..0000000 --- "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\262\227\344\275\215\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" +++ /dev/null Binary files differ diff --git "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\262\227\344\275\215\347\255\211\347\272\247\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" "b/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\262\227\344\275\215\347\255\211\347\272\247\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" deleted file mode 100644 index d08d345..0000000 --- "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\345\262\227\344\275\215\347\255\211\347\272\247\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" +++ /dev/null Binary files differ diff --git "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\351\203\250\351\227\250\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" "b/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\351\203\250\351\227\250\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" deleted file mode 100644 index 9f445e9..0000000 --- "a/product-server-web/lx_file/temp/\347\273\204\347\273\207\346\234\272\346\236\204\345\257\274\345\205\245\346\250\241\346\235\277/\351\203\250\351\227\250\345\257\274\345\205\245\346\250\241\346\235\277.xlsx" +++ /dev/null Binary files differ diff --git a/product-server-web/pom.xml b/product-server-web/pom.xml deleted file mode 100644 index 94616e5..0000000 --- a/product-server-web/pom.xml +++ /dev/null @@ -1,346 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>com.lx</groupId> - <artifactId>product-server</artifactId> - <version>2.0.0-SNAPSHOT</version> - </parent> - <artifactId>product-server-web</artifactId> - <packaging>jar</packaging> - <name>product-server-web</name> - <description>product-server-web</description> - <profiles> - <profile> - <id>dev</id> - <properties> - <profileActive>dev</profileActive> - </properties> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - - </profile> - - <profile> - <id>test</id> - <properties> - <profileActive>test</profileActive> - </properties> - </profile> - - <profile> - <id>prod</id> - <properties> - <profileActive>prod</profileActive> - </properties> - </profile> - - </profiles> - <dependencies> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-common</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-print</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-util</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-admin</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-quartz</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-org-admin</artifactId> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-administration</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-mq</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-file</artifactId> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-email</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-lucene</artifactId> - </dependency> - <!-- releases --> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-core</artifactId> - </dependency> - <dependency> - <groupId>com.sendgrid</groupId> - <artifactId>sendgrid-java</artifactId> - <version>4.0.1</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-report</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-export-import</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-dev</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-flow</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-mvc</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-announcement</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-table</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-sync</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-badge</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-email</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-text-message</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-auth</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-center</artifactId> - </dependency> - <dependency> - <groupId>org.spring</groupId> - <artifactId>spring-server-master</artifactId> - <version>1.2.6.6</version> - </dependency> - - <!--椤圭洰绠$悊妯″潡--> - <!-- <dependency>--> - <!-- <groupId>com.lx</groupId>--> - <!-- <artifactId>product-project-server-base</artifactId>--> - <!-- <version>1.0.0-SNAPSHOT</version>--> - <!-- </dependency>--> - <!-- <dependency>--> - <!-- <groupId>com.lx</groupId>--> - <!-- <artifactId>product-project-server-contract</artifactId>--> - <!-- <version>1.0.0-SNAPSHOT</version>--> - <!-- </dependency>--> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-customer</artifactId> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-task</artifactId> - </dependency> - - </dependencies> - <build> - <plugins> - <!-- 鎵揓AR鍖� --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <!-- 涓嶆墦鍖呰祫婧愭枃浠讹紙閰嶇疆鏂囦欢鍜屼緷璧栧寘鍒嗗紑锛� --> - <excludes> - <exclude>*.properties</exclude> - <exclude>*.xml</exclude> - </excludes> - <archive> - <manifest> - <addClasspath>true</addClasspath> - <!-- MANIFEST.MF 涓� Class-Path 鍔犲叆鍓嶇紑 --> - <classpathPrefix>lib/</classpathPrefix> - <!-- jar鍖呬笉鍖呭惈鍞竴鐗堟湰鏍囪瘑 --> - <useUniqueVersions>true</useUniqueVersions> - <!--鎸囧畾鍏ュ彛绫� --> - <mainClass>com.product.Application</mainClass> - </manifest> - <manifestEntries> - <!--MANIFEST.MF 涓� Class-Path 鍔犲叆璧勬簮鏂囦欢鐩綍 --> - <Class-Path>./resources/</Class-Path> - </manifestEntries> - - </archive> - <outputDirectory>${project.build.directory}</outputDirectory> - </configuration> - </plugin> - - <!-- 璇ユ彃浠剁殑浣滅敤鏄敤浜庡鍒朵緷璧栫殑jar鍖呭埌鎸囧畾鐨勬枃浠跺す閲� --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>copy-dependencies</id> - <phase>package</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - <configuration> - <outputDirectory>${project.build.directory}/lib/</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <!-- 璇ユ彃浠剁殑浣滅敤鏄敤浜庡鍒舵寚瀹氱殑鏂囦欢 --> - <plugin> - <artifactId>maven-resources-plugin</artifactId> - <executions> - <execution> <!-- 澶嶅埗閰嶇疆鏂囦欢 --> - <id>copy-resources</id> - <phase>package</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <resources> - <resource> - <directory>src/main/resources</directory> - <includes> - <include>*.properties</include> - <include>*.yml</include> - <include>*.xml</include> - <include>*.txt</include> - </includes> - </resource> - </resources> - <outputDirectory>${project.build.directory}/resources</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <!-- SpringBoot 鎵撳寘鎻掍欢锛屾妸 maven-jar-plugin 鎵撴垚鐨刯ar鍖呴噸鏂版墦鎴愬彲杩愯jar鍖� --> - <plugin> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> - <configuration> - <!-- 閲嶅啓鍖呭惈渚濊禆锛屽寘鍚笉瀛樺湪鐨勪緷璧栵紝jar閲屾病鏈塸om閲岀殑渚濊禆 --> - <includes> - <include> - <groupId>null</groupId> - <artifactId>null</artifactId> - </include> - </includes> - <includeSystemScope>true</includeSystemScope> - <layout>ZIP</layout> - <!-- 浣跨敤澶栭儴閰嶇疆鏂囦欢锛宩ar鍖呴噷娌℃湁璧勬簮鏂囦欢 --> - <addResources>true</addResources> - <outputDirectory>${project.build.directory}</outputDirectory> - </configuration> - <executions> - <execution> - <goals> - <goal>repackage</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- 鎵цbat 鍓嶇缂栬瘧 --> -<!-- <plugin>--> -<!-- <groupId>org.apache.maven.plugins</groupId>--> -<!-- <artifactId>maven-antrun-plugin</artifactId>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <goals>--> -<!-- <goal>run</goal>--> -<!-- </goals>--> -<!-- <configuration>--> -<!-- <target description="run the bat">--> -<!-- <echo>寮�濮嬭繍琛宲acked.bat鍛戒护琛�</echo>--> -<!-- <exec dir="D:/product/lxworkspaces/product-web" executable="cmd.exe">--> -<!-- <arg line="packed.bat"></arg>--> -<!-- </exec>--> -<!-- </target>--> -<!-- </configuration>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- </plugin>--> - - <!-- 鎷疯礉鏂囦欢 --> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>copy</id> - <phase>package</phase> - <configuration> - <tasks> - <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/lib"> - <fileset dir="${project.build.directory}/lib"> - <include name="*.jar"/> - <exclude name="product-server-core-${product-core-version}-SNAPSHOT.jar"/> - </fileset> - </copy> - <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/resources"> - <fileset dir="${project.build.directory}/resources"> - <include name="application-prod.properties"/> - <include name="cache-prod.properties"/> - <include name="*.txt"/> - <include name="*.xml"/> - </fileset> - </copy> -<!-- <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/web">--> -<!-- <fileset dir="D:/product/lxworkspaces/product-web/dist">--> -<!-- <include name="*.*"/>--> -<!-- </fileset>--> -<!-- </copy>--> - <copy file="${project.build.directory}/product-server-web-${product-version}.jar" - tofile="D:/product/lxworkspaces/product-server-install/resources/product-server/product-server-web-${product-version}.jar" - overwrite="true"/> - </tasks> - - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - </plugins> - </build> -</project> diff --git a/product-server-web/pom.xml_no b/product-server-web/pom.xml_no deleted file mode 100644 index ffe2450..0000000 --- a/product-server-web/pom.xml_no +++ /dev/null @@ -1,401 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>com.lx</groupId> - <artifactId>product-server</artifactId> - <version>1.0.0-SNAPSHOT</version> - </parent> - <artifactId>product-server-web</artifactId> - <packaging>jar</packaging> - <name>product-server-web</name> - <description>product-server-web</description> - <profiles> - <profile> - <id>dev</id> - <properties> - <profileActive>dev</profileActive> - </properties> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - - </profile> - - <profile> - <id>test</id> - <properties> - <profileActive>test</profileActive> - </properties> - </profile> - - <profile> - <id>prod</id> - <properties> - <profileActive>prod</profileActive> - </properties> - </profile> - - </profiles> - <dependencies> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-common</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-print</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-util</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-admin</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-quartz</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-org-admin</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-administration</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-mq</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-file</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-email</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <!-- releases --> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-core</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.sendgrid</groupId> - <artifactId>sendgrid-java</artifactId> - <version>4.0.1</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-test</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-collections4</artifactId> - <version>4.1</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-report</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-export-import</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <!-- <dependency>--> - <!-- <groupId>com.lx</groupId>--> - <!-- <artifactId>product-server-mobile-core</artifactId>--> - <!-- <version>1.0.0-SNAPSHOT</version>--> - <!-- </dependency>--> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-system</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-flow</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-form</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-form-tree</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-mvc</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-announcement</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-tool-table</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-data-sync</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-badge</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-email</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-text-message</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-auth</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-message</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-xining</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - <!--<dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-code-auto-generate</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency>--> - <!-- <dependency>--> - <!-- <groupId>com.lx</groupId>--> - <!-- <artifactId>product-project-server-contract</artifactId>--> - <!-- <version>1.0.0-SNAPSHOT</version>--> - <!-- </dependency>--> - <dependency> - <groupId>org.spring</groupId> - <artifactId>spring-server-master</artifactId> - <version>1.2.6.0</version> - </dependency> - - <!--椤圭洰绠$悊妯″潡--> - <!-- <dependency>--> - <!-- <groupId>com.lx</groupId>--> - <!-- <artifactId>product-project-server-base</artifactId>--> - <!-- <version>1.0.0-SNAPSHOT</version>--> - <!-- </dependency>--> - <!-- <dependency>--> - <!-- <groupId>com.lx</groupId>--> - <!-- <artifactId>product-project-server-contract</artifactId>--> - <!-- <version>1.0.0-SNAPSHOT</version>--> - <!-- </dependency>--> - <dependency> - <groupId>com.lx</groupId> - <artifactId>product-server-customer</artifactId> - <version>1.0.0-SNAPSHOT</version> - </dependency> - </dependencies> - <build> - <plugins> - <!-- 鎵揓AR鍖� --> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <!-- 涓嶆墦鍖呰祫婧愭枃浠讹紙閰嶇疆鏂囦欢鍜屼緷璧栧寘鍒嗗紑锛� --> - <excludes> - <exclude>*.properties</exclude> - <exclude>*.xml</exclude> - </excludes> - <archive> - <manifest> - <addClasspath>true</addClasspath> - <!-- MANIFEST.MF 涓� Class-Path 鍔犲叆鍓嶇紑 --> - <classpathPrefix>lib/</classpathPrefix> - <!-- jar鍖呬笉鍖呭惈鍞竴鐗堟湰鏍囪瘑 --> - <useUniqueVersions>true</useUniqueVersions> - <!--鎸囧畾鍏ュ彛绫� --> - <mainClass>com.product.Application</mainClass> - </manifest> - <manifestEntries> - <!--MANIFEST.MF 涓� Class-Path 鍔犲叆璧勬簮鏂囦欢鐩綍 --> - <Class-Path>./resources/</Class-Path> - </manifestEntries> - - </archive> - <outputDirectory>${project.build.directory}</outputDirectory> - </configuration> - </plugin> - - <!-- 璇ユ彃浠剁殑浣滅敤鏄敤浜庡鍒朵緷璧栫殑jar鍖呭埌鎸囧畾鐨勬枃浠跺す閲� --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>copy-dependencies</id> - <phase>package</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - <configuration> - <outputDirectory>${project.build.directory}/lib/</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <!-- 璇ユ彃浠剁殑浣滅敤鏄敤浜庡鍒舵寚瀹氱殑鏂囦欢 --> - <plugin> - <artifactId>maven-resources-plugin</artifactId> - <executions> - <execution> <!-- 澶嶅埗閰嶇疆鏂囦欢 --> - <id>copy-resources</id> - <phase>package</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <resources> - <resource> - <directory>src/main/resources</directory> - <includes> - <include>*.properties</include> - <include>*.yml</include> - <include>*.xml</include> - <include>*.txt</include> - </includes> - </resource> - </resources> - <outputDirectory>${project.build.directory}/resources</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <!-- SpringBoot 鎵撳寘鎻掍欢锛屾妸 maven-jar-plugin 鎵撴垚鐨刯ar鍖呴噸鏂版墦鎴愬彲杩愯jar鍖� --> - <plugin> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> - <configuration> - <!-- 閲嶅啓鍖呭惈渚濊禆锛屽寘鍚笉瀛樺湪鐨勪緷璧栵紝jar閲屾病鏈塸om閲岀殑渚濊禆 --> - <includes> - <include> - <groupId>null</groupId> - <artifactId>null</artifactId> - </include> - </includes> - <includeSystemScope>true</includeSystemScope> - <layout>ZIP</layout> - <!-- 浣跨敤澶栭儴閰嶇疆鏂囦欢锛宩ar鍖呴噷娌℃湁璧勬簮鏂囦欢 --> - <addResources>true</addResources> - <outputDirectory>${project.build.directory}</outputDirectory> - </configuration> - <executions> - <execution> - <goals> - <goal>repackage</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- 鎵цbat 鍓嶇缂栬瘧 --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>run</goal> - </goals> - <configuration> - <target description="run the bat"> - <echo>寮�濮嬭繍琛宲acked.bat鍛戒护琛�</echo> - <exec dir="D:/product/lxworkspaces/product-web" executable="cmd.exe"> - <arg line="packed.bat"></arg> - </exec> - </target> - </configuration> - </execution> - </executions> - </plugin> - - <!-- 鎷疯礉鏂囦欢 --> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>copy</id> - <phase>package</phase> - <configuration> - <tasks> - <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/lib"> - <fileset dir="${project.build.directory}/lib"> - <include name="*.jar" /> - <exclude name="product-server-core-1.0.0-SNAPSHOT.jar"/> - </fileset> - </copy> - <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/resources"> - <fileset dir="${project.build.directory}/resources"> - <include name="application-prod.properties" /> - <include name="cache-prod.properties" /> - <include name="*.txt" /> - <include name="*.xml" /> - </fileset> - </copy> - <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/web"> - <fileset dir="D:/product/lxworkspaces/product-web/dist"> - <include name="*.*" /> - </fileset> - </copy> - <copy file="${project.build.directory}/product-server-web-1.0.0-SNAPSHOT.jar" tofile="D:/product/lxworkspaces/product-server-install/resources/product-server/product-server-web-1.0.0-SNAPSHOT.jar" overwrite="true"/> - </tasks> - - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - </plugins> - </build> -</project> diff --git a/product-server-web/resources/LicenseKey.dat b/product-server-web/resources/LicenseKey.dat deleted file mode 100644 index 713fceb..0000000 --- a/product-server-web/resources/LicenseKey.dat +++ /dev/null @@ -1 +0,0 @@ -7E2C3368D966CD55023C3CFA52F232AC31C0D984EC84E430A65DF64B9FB109BF71CACE79E0DDA5DA0665A21BA9668B8277F25DC95CC4DB8C46ED62866ED0E0508483107AD27C837EA1F0A9379090ABA2CB2616B45A79A06FEC252B8EB245ACA0CDCB5454AC82817A46099059EB7BCDD3ACD2AE6EFAB773DE8F8E951B46C5798F7F5D918F153751163D1A2638EB6BD44660E9A6F0A2713BDBE0F2C5D97500144FC37D5A2F6BEDA83F877F79678BF5BB7982D577C5EE6337639D0B59ED4BABB3CB62096992AE6AEB2CDDEE64A67BBFB9A63CFD527D963C05C4FA064394B5EE14F4966463B764110FD2EC43C3F9A3800479EE53480AA08AC35E3B0B7F7919322BC48B9026FA2C3B6B90FE9B25B14764D142B6E028E8BCFAC9710A0351A871E5675ED58DBBD143D10272BD9D3D94893E96AA989371E837D1565FEF3F9C81130BFF13B6390F0756A3E07B179A7BCCE2F7618EFDAEA118F37AD41EBDF2DC54237450803957B41260684FACB9F848BF1805C04FA5414397DF7568FC96A4B78FF167EA39 \ No newline at end of file diff --git a/product-server-web/resources/license001.dat b/product-server-web/resources/license001.dat deleted file mode 100644 index 008e7c8..0000000 --- a/product-server-web/resources/license001.dat +++ /dev/null Binary files differ diff --git a/product-server-web/resources/license002.dat b/product-server-web/resources/license002.dat deleted file mode 100644 index d7e2d6d..0000000 --- a/product-server-web/resources/license002.dat +++ /dev/null Binary files differ diff --git a/product-server-web/resources/license003.dat b/product-server-web/resources/license003.dat deleted file mode 100644 index d0dc49e..0000000 --- a/product-server-web/resources/license003.dat +++ /dev/null Binary files differ diff --git a/product-server-web/resources/license004.dat b/product-server-web/resources/license004.dat deleted file mode 100644 index fbb4c08..0000000 --- a/product-server-web/resources/license004.dat +++ /dev/null Binary files differ diff --git a/product-server-web/resources/license005.dat b/product-server-web/resources/license005.dat deleted file mode 100644 index fe8246a..0000000 --- a/product-server-web/resources/license005.dat +++ /dev/null Binary files differ diff --git a/product-server-web/sql_patch/upgrade_20230323_001.sql b/product-server-web/sql_patch/upgrade_20230323_001.sql deleted file mode 100644 index 1f5f5dc..0000000 --- a/product-server-web/sql_patch/upgrade_20230323_001.sql +++ /dev/null @@ -1,98 +0,0 @@ --- product_sys_cache_config -ALTER TABLE product_sys_cache_config add pagesize int(20) DEFAULT null comment '姣忛〉璁板綍鏁�'; -INSERT INTO `product_sys_datamodel_field` (`field_id`, `uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES (4990, '2a9335b8-c213-4a65-9be5-017d3c695102', 'product_sys_cache_config', 'pagesize', '姣忛〉璁板綍鏁�', 'int', 20, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '姣忛〉璁板綍鏁�'); --- product_sys_timed_task -ALTER TABLE product_sys_timed_task add open_transaction int(4) default null comment '寮�鍚簨鍔� 0 鍚� 1 鏄�'; -INSERT INTO `product_sys_datamodel_field` (`uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ( '8318de86-e725-4ae8-8e82-be9cf0f84a65', 'product_sys_timed_task', 'open_transaction', '寮�鍚簨鍔� 0 鍚� 1 鏄�', 'int', 4, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, 1, '2022-11-26 17:05:02', 1, '2022-11-26 17:01:10', NULL, '寮�鍚簨鍔� '); - - -update `product_sys_functions` set client_type_uuid='Web'; - -update `product_sys_function_buttons` set client_type_uuid ='Web'; - - -ALTER TABLE `product_sys_portals_sub` MODIFY `portal_uuid` varchar (80) DEFAULT NULL COMMENT '鍏宠仈涓昏〃锛堥棬鎴疯〃uuid锛�' , ADD `x` int (4) DEFAULT NULL COMMENT 'x' , ADD `y` int (4) DEFAULT NULL COMMENT 'y' , ADD `h` int (4) DEFAULT NULL COMMENT 'h' , ADD `w` int (4) DEFAULT NULL COMMENT 'w'; - -INSERT INTO `product_sys_datamodel_field` ( `uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ( '83080de2-7750-412c-b320-e59e2615eda3', 'product_sys_portals_sub', 'x', 'x', 'int', 4, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, '2023-03-23 16:58:37', NULL, 'x'); -INSERT INTO `product_sys_datamodel_field` ( `uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ( 'fa291363-bd3f-4714-af51-91db380bbf01', 'product_sys_portals_sub', 'y', 'y', 'int', 4, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, '2023-03-23 16:58:37', NULL, 'y'); -INSERT INTO `product_sys_datamodel_field` ( `uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ( '59787e88-b3d9-4b70-b8b1-c8d68ab07ddb', 'product_sys_portals_sub', 'h', 'h', 'int', 4, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, '2023-03-23 16:58:37', NULL, 'h'); -INSERT INTO `product_sys_datamodel_field` ( `uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ( '09e2a757-6049-4064-8575-f54ed6f0bdaa', 'product_sys_portals_sub', 'w', 'w', 'int', 4, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, '2023-03-23 16:58:37', NULL, 'w'); - - - - -ALTER TABLE product_sys_pages add icon VARCHAR(30) default null comment '鍥炬爣',add color VARCHAR(40) default null comment '棰滆壊',add column_type VARCHAR(20) default null comment '鏍忕洰绫诲瀷'; - - -INSERT INTO `product_sys_datamodel_field` (`uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ( 'c9eac1ca-4702-4f0a-8aa8-42519410ff83', 'product_sys_pages', 'color', '棰滆壊', 'string', 40, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '棰滆壊'); -INSERT INTO `product_sys_datamodel_field` ( `uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ('e4e6ec73-37ec-446b-be35-dabe639c731a', 'product_sys_pages', 'icon', '鍥炬爣', 'string', 30, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '鍥炬爣'); -INSERT INTO `product_sys_datamodel_field` (`uuid`, `table_uuid`, `field_name`, `field_description`, `field_type`, `field_length`, `field_unit`, `is_required`, `is_unique`, `is_international`, `is_filter`, `field_format`, `related_table`, `field_relation_table`, `created_by`, `updated_utc_datetime`, `updated_by`, `created_utc_datetime`, `field_reference`, `field_show_name`) VALUES ( '34e787d3-a17b-4870-b0da-281f6d2a0de9', 'product_sys_pages', 'column_type', '鏍忕洰绫诲瀷', 'string', 20, 0, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '鏍忕洰绫诲瀷'); - - - -delete FROM product_sys_link where function_uuid in ('0792396e-813e-4f78-80fb-b7dfbdd12813','d3cc9383-f370-4b48-8b9b-f28c765fdf76'); - -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '6b8aec73-a611-4e1d-87af-d8501e5e9fb4', 0, '0792396e-813e-4f78-80fb-b7dfbdd12813', 'd20c1b78-8be1-4495-b47b-b6ecd6b111b9', 0, '6d163d15-e380-4714-b940-17934dc046e5', 2, '2021-05-20 16:11:39', 1, '2023-03-02 15:09:33', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '0c5e82ba-4274-4ea2-bf8a-4658803fc0d2', 0, '0792396e-813e-4f78-80fb-b7dfbdd12813', '6d163d15-e380-4714-b940-17934dc046e5', 2, '7053aa07-ff8c-4131-85d6-2148d5715f42', 1, '2021-05-20 16:11:39', 1, '2023-03-02 15:09:33', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'cae72858-e3fa-421a-9a23-ea9cff9cb38b', 0, '0792396e-813e-4f78-80fb-b7dfbdd12813', '6d163d15-e380-4714-b940-17934dc046e5', 2, '626cca3d-c1eb-4f3b-a918-cc8cfb8a556b', 1, '2021-05-20 16:11:39', 1, '2023-03-02 15:09:33', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '83589227-550d-4c2d-89a5-9ab6b78de066', 0, '0792396e-813e-4f78-80fb-b7dfbdd12813', '6d163d15-e380-4714-b940-17934dc046e5', 2, 'ae10907e-a698-4ffb-af69-3836320b6d40', 1, '2021-05-20 16:11:39', 1, '2023-03-02 15:09:33', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'a300b88d-b264-4e31-972e-3e89d29a04dd', 0, '0792396e-813e-4f78-80fb-b7dfbdd12813', '6d163d15-e380-4714-b940-17934dc046e5', 2, '7d7de611-3e5e-4399-9d8a-39d3a03883b4', 1, '2021-05-20 16:11:39', 1, '2023-03-02 15:09:33', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '371aa035-5100-4500-9e42-db5cc0026040', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'b95baa44-8cea-4228-8108-51886492d0bb', 0, 'ab6f61e5-695b-4475-b5a9-10cc6e0ec1a1', 2, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '586b4c53-1b84-42c7-abf2-f47114400903', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'ab6f61e5-695b-4475-b5a9-10cc6e0ec1a1', 2, '244f7d2c-9108-4c14-956e-53fc626764e8', 1, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'e05ad050-e843-41cd-8769-dbfdf899289d', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', '1ed56922-2352-44ad-a2aa-851e2057afcc', 1, 'b95baa44-8cea-4228-8108-51886492d0bb', 0, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'e88e1c98-79d0-4730-b61b-2351a2894590', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', '69b6fe13-6ce5-4ed9-836b-90cd5e64b87f', 1, 'b95baa44-8cea-4228-8108-51886492d0bb', 0, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '5f9823b9-8e5a-4aa1-8f08-dc839c1bce28', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'ab6f61e5-695b-4475-b5a9-10cc6e0ec1a1', 2, '96f9f2c1-ec0f-433c-af38-78ef7c861149', 1, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'e11a221e-3ff0-403f-aa12-d2dac0d5d1eb', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', '96f9f2c1-ec0f-433c-af38-78ef7c861149', 1, 'b5f04483-828e-4e39-9ce9-a553f2c94228', 2, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'f5863135-ccdb-40cd-bb49-21ddb766d3e1', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'b5f04483-828e-4e39-9ce9-a553f2c94228', 2, '69b6fe13-6ce5-4ed9-836b-90cd5e64b87f', 1, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '3e4d2191-69aa-43cd-96a5-f27bad7f0473', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'b5f04483-828e-4e39-9ce9-a553f2c94228', 2, '1ed56922-2352-44ad-a2aa-851e2057afcc', 1, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'c52bee82-0b0b-4b2b-9193-24e642e5322b', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', '8c00edbf-e6ba-43a0-ba55-fcc4e9ff10b9', 1, 'e49dce5c-0c30-4c8f-a777-3f42cd7261f6', 2, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( 'ceb9e169-d540-4b36-8ec1-8f1ff84cf931', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'e49dce5c-0c30-4c8f-a777-3f42cd7261f6', 2, '69b6fe13-6ce5-4ed9-836b-90cd5e64b87f', 1, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); -INSERT INTO `product_sys_link` ( `uuid`, `link_type`, `function_uuid`, `line_from`, `from_type`, `line_to`, `to_type`, `created_utc_datetime`, `created_by`, `updated_utc_datetime`, `updated_by`, `terminal_type`) VALUES ( '127fc77e-966c-4a57-bd4c-59698d7d5062', 0, 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'e49dce5c-0c30-4c8f-a777-3f42cd7261f6', 2, '1ed56922-2352-44ad-a2aa-851e2057afcc', 1, '2021-05-17 15:20:31', 1, '2023-03-06 10:47:02', 1, 1); - - - - -delete FROM product_sys_mvc_page where function_uuid in ('0792396e-813e-4f78-80fb-b7dfbdd12813','d3cc9383-f370-4b48-8b9b-f28c765fdf76'); - -INSERT INTO `product_sys_mvc_page` ( `uuid`, `function_uuid`, `page_name`, `page_url`, `page_uuid`, `page_element_disabled`, `import_js`, `created_by`, `created_utc_datetime`, `updated_by`, `updated_utc_datetime`, `top_location`, `left_location`, `flow_uuid`, `from_param_key`, `tree_data`, `tree_data_type`, `page_type`, `flow_title`, `face_uuid`, `page_open_with`, `terminal_type`) VALUES ( '6d163d15-e380-4714-b940-17934dc046e5', '0792396e-813e-4f78-80fb-b7dfbdd12813', '鑿滃崟鍒楄〃', 'system/menu/index', '', 0, '', 1, '2021-03-10 10:40:28', 1, '2023-03-02 15:09:33', '172px', '115px', '', '', '', NULL, 1, '', NULL, 0, 1); -INSERT INTO `product_sys_mvc_page` ( `uuid`, `function_uuid`, `page_name`, `page_url`, `page_uuid`, `page_element_disabled`, `import_js`, `created_by`, `created_utc_datetime`, `updated_by`, `updated_utc_datetime`, `top_location`, `left_location`, `flow_uuid`, `from_param_key`, `tree_data`, `tree_data_type`, `page_type`, `flow_title`, `face_uuid`, `page_open_with`, `terminal_type`) VALUES ( 'ab6f61e5-695b-4475-b5a9-10cc6e0ec1a1', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', '妯″潡鍔熻兘鍒楄〃', 'system/moduleFunction/index', '', 0, '', 1, '2021-03-10 10:56:54', 1, '2023-03-06 10:47:02', '103px', '0px', '', '', '', NULL, 1, '', NULL, 0, 1); -INSERT INTO `product_sys_mvc_page` ( `uuid`, `function_uuid`, `page_name`, `page_url`, `page_uuid`, `page_element_disabled`, `import_js`, `created_by`, `created_utc_datetime`, `updated_by`, `updated_utc_datetime`, `top_location`, `left_location`, `flow_uuid`, `from_param_key`, `tree_data`, `tree_data_type`, `page_type`, `flow_title`, `face_uuid`, `page_open_with`, `terminal_type`) VALUES ( 'b5f04483-828e-4e39-9ce9-a553f2c94228', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', '鍔熻兘淇敼椤甸潰', 'tool/ef/mvc', '', 0, '', 138, '2021-03-23 01:43:57', 1, '2023-03-06 10:47:02', '68px', '355px', '', '', '', NULL, 0, '', NULL, 0, 1); -INSERT INTO `product_sys_mvc_page` ( `uuid`, `function_uuid`, `page_name`, `page_url`, `page_uuid`, `page_element_disabled`, `import_js`, `created_by`, `created_utc_datetime`, `updated_by`, `updated_utc_datetime`, `top_location`, `left_location`, `flow_uuid`, `from_param_key`, `tree_data`, `tree_data_type`, `page_type`, `flow_title`, `face_uuid`, `page_open_with`, `terminal_type`) VALUES ( 'e49dce5c-0c30-4c8f-a777-3f42cd7261f6', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', '鍔熻兘鏂板椤甸潰', 'tool/ef/mvc', '', 0, '', 138, '2021-03-23 01:46:42', 1, '2023-03-06 10:47:02', '273px', '598px', '', '', '', NULL, 0, '', NULL, 0, 1); - - -DELETE FROM product_sys_function_buttons where function_uuid in ('0792396e-813e-4f78-80fb-b7dfbdd12813','d3cc9383-f370-4b48-8b9b-f28c765fdf76'); - -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '626cca3d-c1eb-4f3b-a918-cc8cfb8a556b', '0792396e-813e-4f78-80fb-b7dfbdd12813', 'add_menu', '鏂板', '', 2, 'checkbox', '', '', 2, '1', '', 1, NULL, '', 'add', 'Web', '', '298px', '354px', 'addMenu', '', '0', '162149829870228d7PV5644', NULL, 0, NULL, NULL, NULL, NULL, 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '7053aa07-ff8c-4131-85d6-2148d5715f42', '0792396e-813e-4f78-80fb-b7dfbdd12813', 'delete', '鍒犻櫎', '', 2, 'el-icon-delete', 'uuid', '', 2, '1', '', 4, NULL, '', 'delete', 'Web', '', '329px', '100px', 'deleteMenu', '', '0', '1621498298712598VdBK459', NULL, 1, NULL, '#ff0000', NULL, NULL, 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '7d7de611-3e5e-4399-9d8a-39d3a03883b4', '0792396e-813e-4f78-80fb-b7dfbdd12813', 'update', '淇敼', '', 2, 'el-icon-edit', 'uuid', '', 2, '1', '', 2, NULL, '', 'update', 'Web', '', '214px', '350px', 'updateMenu', '', '0', '162149829871836Zq2R0210', NULL, 0, NULL, '#66bae5', NULL, NULL, 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( 'ae10907e-a698-4ffb-af69-3836320b6d40', '0792396e-813e-4f78-80fb-b7dfbdd12813', 'view', '鏌ョ湅', '', 2, 'el-icon-view', 'uuid', '', 2, '1', '', 3, NULL, '', 'view', 'Web', '', '106px', '353px', 'viewDetail', '', '0', '162149829873021ZH09I133', NULL, 0, NULL, '#6282e7', NULL, NULL, 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( 'd20c1b78-8be1-4495-b47b-b6ecd6b111b9', '0792396e-813e-4f78-80fb-b7dfbdd12813', '鍏ュ彛', '鍏ュ彛', '', 1, '', '', '', 1, '1', '', NULL, NULL, '', 'main', 'Web', '', '49px', '0px', '', '/api/system/menu/list-menu', '', '162149829873268tJ1i0666', NULL, 0, NULL, NULL, NULL, NULL, 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '8c00edbf-e6ba-43a0-ba55-fcc4e9ff10b9', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'add_function', '鏂板鍔熻兘', '', 2, 'button', '', '', 2, '1', '', 1, NULL, '', 'add', 'Web', '', '275px', '352px', '', '', '0', '162123602873439K9zl1160', NULL, 0, NULL, NULL, NULL, 'tricode_parent', 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '244f7d2c-9108-4c14-956e-53fc626764e8', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'delete', '鍒犻櫎', '', 2, 'el-icon-delete', 'uuid', '', 2, '1', '', 10, NULL, '', 'delete', 'Web', '', '253px', '0px', 'handleDelete', '', '0', '1621236028835365tvQ7254', NULL, 1, NULL, '#ff0000', NULL, NULL, 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( 'b95baa44-8cea-4228-8108-51886492d0bb', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'main', '鍏ュ彛', '', 1, '', '', '', 1, '1', '', NULL, NULL, '', 'main', 'Web', '', '28px', '33px', '', '/api/modules/list-module', '', '162123602888636OK223705', NULL, 0, NULL, NULL, NULL, NULL, 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '1ed56922-2352-44ad-a2aa-851e2057afcc', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'return', '杩斿洖', '', 2, 'button', '', '', 2, '1', '', 4, NULL, '', 'back', 'Web', '', '2px', '814px', '', '', '0', '1621236028980182DkhY617', NULL, 0, NULL, NULL, NULL, 'tricode_parent', 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '69b6fe13-6ce5-4ed9-836b-90cd5e64b87f', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'save_func', '淇濆瓨', '', 2, 'checkbox', '', '', 2, '1', '', 1, NULL, '', 'save', 'Web', '', '148px', '526px', 'save', '', '0', '162123602900896TMHDG406', NULL, 0, NULL, NULL, NULL, 'tricode_parent', 1); -INSERT INTO `product_sys_function_buttons` (`uuid`, `function_uuid`, `button_name`, `button_title`, `button_description`, `button_type`, `button_icon`, `upload_parameter`, `api_url`, `is_main`, `status_uuid`, `script`, `sequence`, `is_send_email`, `script_method`, `button_category_uuid`, `client_type_uuid`, `version_uuid`, `top_location`, `left_location`, `click_method`, `upload_api_url`, `multiple_choice`, `route_name`, `params`, `is_warn`, `warn_info`, `button_color`, `print_template`, `next_page_keys`, `terminal_type`) VALUES ( '96f9f2c1-ec0f-433c-af38-78ef7c861149', 'd3cc9383-f370-4b48-8b9b-f28c765fdf76', 'update_func', '淇敼鍔熻兘', '', 2, 'el-icon-edit', 'uuid', '', 2, '1', '', 4, NULL, '', 'update', 'Web', '', '208px', '356px', '', '', '0', '16212360291428144uSZ321', NULL, 0, NULL, '#66bae5', NULL, 'tricode_parent', 1); - --- 涓嶉渶瑕佺殑瑙嗗浘 -DELETE FROM product_sys_datamodel_table where table_name='product_sys_button_link_v'; - -delete from product_sys_datamodel_field where table_uuid='product_sys_button_link_v'; - -drop view if exists product_sys_button_link_v; - --- 闂ㄦ埛 -truncate table `product_sys_portals_sub`; - -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2117, '4ee0e65d-9fdf-4d25-932e-0df660837168', '00000000-0000-0000-0000-000000000000', '910155fc-c44e-4f30-b2df-45de8d3b4863', NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 2, 5); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2118, '9dfc3f64-5b95-49e1-a0f7-7fa7bd304ebc', '00000000-0000-0000-0000-000000000000', '740e682a-1268-402b-9c3c-03dde0b14a8f', NULL, NULL, NULL, NULL, NULL, NULL, 5, 0, 2, 5); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2119, '0f000211-f74c-44bd-a0fa-48ab1ab37fb0', '00000000-0000-0000-0000-000000000000', 'ca8a5419-22aa-41ca-8f4b-59b4ae68b2d4', NULL, NULL, NULL, NULL, NULL, NULL, 10, 0, 2, 5); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2120, 'bd597b01-fe30-4cc2-a55d-3d4f41cb3a13', '00000000-0000-0000-0000-000000000000', 'b1e18ff5-4aac-453f-b9cb-1320c372221e', NULL, NULL, NULL, NULL, NULL, NULL, 15, 0, 8, 9); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2121, 'ebb1a1b3-fbca-4c72-b41e-c0e4ba07715d', '00000000-0000-0000-0000-000000000000', 'ac87aca0-73a8-4151-8ce5-1e2f5e22b2b3', NULL, NULL, NULL, NULL, NULL, NULL, 0, 2, 6, 15); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2122, 'bfa1e24e-b7fb-4bf8-9229-23ed8f2e72fd', '00000000-0000-0000-0000-000000000000', '27f578f8-ccba-4fe3-913d-317911cc9c04', NULL, NULL, NULL, NULL, NULL, NULL, 0, 8, 6, 24); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2123, '6ba98e44-c585-4124-9b6a-d6f8656b2d2f', '8f3a1106-b0be-407a-a047-914ac455aa6b', '740e682a-1268-402b-9c3c-03dde0b14a8f', NULL, NULL, NULL, NULL, NULL, NULL, 2, 0, 4, 6); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2124, '1c2bcdd6-0f13-4c46-b3e5-87a31fdb122c', '8f3a1106-b0be-407a-a047-914ac455aa6b', 'ca8a5419-22aa-41ca-8f4b-59b4ae68b2d4', NULL, NULL, NULL, NULL, NULL, NULL, 11, 0, 4, 6); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2125, '77a84547-bd83-464b-9c74-e6f48f04d4fb', '8f3a1106-b0be-407a-a047-914ac455aa6b', 'a5d94845-e63c-4835-b501-a9af00de8ee0', NULL, NULL, NULL, NULL, NULL, NULL, 2, 4, 4, 6); -INSERT INTO `product_sys_portals_sub` (`id`, `uuid`, `portal_uuid`, `page_uuid`, `org_level_uuid`, `portal_person`, `page_left_top_X`, `page_left_top_Y`, `page_right_botton_X`, `page_right_botton_Y`, `x`, `y`, `h`, `w`) VALUES (2126, '6ab31ce9-5240-4ed1-8732-d7bc943cfbf8', '8f3a1106-b0be-407a-a047-914ac455aa6b', '740e682a-1268-402b-9c3c-03dde0b14a8f', NULL, NULL, NULL, NULL, NULL, NULL, 11, 4, 4, 6); - - diff --git a/product-server-web/src/main/java/com/product/Application.java b/product-server-web/src/main/java/com/product/Application.java deleted file mode 100644 index 85f01e3..0000000 --- a/product-server-web/src/main/java/com/product/Application.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.product; - -import com.product.core.spring.context.SpringBeanUtil; -import com.product.customer.service.CreateSignatureFile; -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; -import org.springframework.util.ResourceUtils; - -import com.product.admin.config.RegistValidate; -import com.product.core.cache.DataPoolCacheImpl; -import com.product.core.config.Global; -import com.product.core.connection.DataSourceManager; -import com.product.core.spring.context.SpringMVCContextHolder; - -/** - * 绯荤粺鍚姩鍏ュ彛 - * 缂撳瓨绯荤粺鏁版嵁 - * 鍒濆缂栫爜绠$悊鍣� - * 鍒濆娴佹按鍙风鐞嗗櫒 - * 鍒濆鎺ュ彛鍙傛暟楠岃瘉 - * 鍒濆闆嗙兢瀹㈡埛绔繛鎺ユ睜 - * 鎵弿澶氫釜璺緞 - */ -@SpringBootApplication(exclude = DataSourceAutoConfiguration.class, scanBasePackages = {"com.product", "org.spring.service.core","com.picc"}) -public class Application extends SpringBootServletInitializer { - - @Override - protected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder) { - return applicationBuilder.sources(Application.class); - } - - public static void main(String[] args) { - try { - SpringApplication.run(Application.class, args); - boolean cacheFlat = DataPoolCacheImpl.getInstance().cacheALLData(); - boolean codeFlat = DataPoolCacheImpl.getInstance().initCodeManager(); - boolean serialFlat = DataPoolCacheImpl.getInstance().initSerialNumberManager(); - RegistValidate.getInstance().registValidateParameter(); - boolean connFlat = DataSourceManager.getInstance().initClientConnectionPool(); - InitialLoad.runInitialization(); - String rootPath = ResourceUtils.getURL("classpath:").getPath(); - Global.setPropertyValue("root.path", rootPath); - Global.setPropertyValue("jdk.home", System.getProperties().getProperty("java.home")); - SpringBeanUtil.getBean(CreateSignatureFile.class).analysisSignaturePatch(); - SpringMVCContextHolder.getSystemLogger().info("root.path:" + rootPath); - SpringMVCContextHolder.getSystemLogger().info("jdk.home:" + System.getProperties().getProperty("java.home")); - if (cacheFlat && codeFlat && serialFlat && connFlat) { - SpringMVCContextHolder.getSystemLogger().info("Successful System Startup ! "); - } else { - SpringMVCContextHolder.getSystemLogger().error("System startup failed, Please contact the administrator!"); - } - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/product-server-web/src/main/java/com/product/InitialLoad.java b/product-server-web/src/main/java/com/product/InitialLoad.java deleted file mode 100644 index 2e9cf62..0000000 --- a/product-server-web/src/main/java/com/product/InitialLoad.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.product; - -import com.google.common.collect.Lists; -import com.product.common.utils.spring.SpringUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.util.ReflectionUtils; - -import java.lang.reflect.Method; -import java.util.List; - -/** - * @Author cheng - * @Description 绯荤粺鍚姩鍒濆鍖栧姞杞� - * @Date 2021/11/8 15:14 - * @Version 1.0 - */ -public class InitialLoad { - - private static Logger logger = LoggerFactory.getLogger(InitialLoad.class); - /** - * 鍒濆鍖栧姞杞絙ean.method 鍙帴鍙楁棤鍙傛柟娉� - */ - private static List<String> initMethods = Lists.newArrayList( - "sysJobService.init", - "userOperService.initUserSignature" - ); - - public static void runInitialization() { - for (int i = 0; i < initMethods.size(); i++) { - String beanMethod = initMethods.get(i); - if (beanMethod.indexOf('.') > -1) { - String[] p = beanMethod.split("\\."); - execute(p[0], p[1]); - //鍒犻櫎宸叉墽琛岃繃鐨勬柟娉曢槻姝㈤噸澶嶅垵濮嬪寲 - initMethods.remove(i); - i--; - } - } - } - - private static void execute(String beanName, String methodName) { - try { - Object bean = SpringUtils.getBean(beanName); - Method method = null; - if (bean != null) { - method = ReflectionUtils.findMethod(bean.getClass(), methodName); - } - if (bean == null || method == null) { - throw new ReflectiveOperationException(" execute bean or method not exist ! "); - } - ReflectionUtils.invokeMethod(method, bean); - } catch (Exception e) { - logger.error("execute init method " + beanName + "." + methodName + " error !", e); - } - } - -} diff --git a/product-server-web/src/main/java/com/product/MailgunSendEmail.java b/product-server-web/src/main/java/com/product/MailgunSendEmail.java deleted file mode 100644 index b6c0c46..0000000 --- a/product-server-web/src/main/java/com/product/MailgunSendEmail.java +++ /dev/null @@ -1,179 +0,0 @@ -package com.product; - -import java.util.HashMap; -import java.util.Map; -import java.util.concurrent.CountDownLatch; -import javax.ws.rs.core.MediaType; -import com.alibaba.fastjson.JSONObject; -import com.mashape.unirest.http.HttpResponse; -import com.mashape.unirest.http.JsonNode; -import com.mashape.unirest.http.Unirest; -import com.mashape.unirest.http.exceptions.UnirestException; -import com.sun.jersey.api.client.Client; -import com.sun.jersey.api.client.ClientResponse; -import com.sun.jersey.api.client.WebResource; -import com.sun.jersey.api.client.filter.HTTPBasicAuthFilter; -import com.sun.jersey.core.util.MultivaluedMapImpl; - - -public class MailgunSendEmail { - - //////娴嬭瘯璐﹀彿 - //private static final String API_KEY = "84d2c563e45e4aa32000a0f608a20e32-cb3791c4-580c662f"; - //private static final String DOMAIN = "sandbox425b6a32b61840fa902c2e614f4616fc.mailgun.org"; - - //////姝e紡璐﹀彿 - private static final String API_KEY = "8d52b0a748b20c61331587fa9a3fe6fc-cb3791c4-8cf158ef"; - private static final String DOMAIN = "mail.purtato.com"; - private static final String API_URI = "https://api.mailgun.net/v3/"+DOMAIN+"/messages"; - - /** - * 鏅�氶偖浠跺彂閫侊紝涓嶅寘鍚ā鏉� - * @return - * @throws UnirestException - */ - public JsonNode sendSimpleMessage() throws UnirestException { - HttpResponse<JsonNode> request = Unirest.post(API_URI) - .basicAuth("api", API_KEY) - //娴嬭瘯璐﹀彿鍙戜欢浜� - //.queryString("from", "fuller@sandbox425b6a32b61840fa902c2e614f4616fc.mailgun.org") - //姝e紡璐﹀彿鍙戜欢浜� - .queryString("from", "brianho@mail.purtato.com") - //.queryString("to", "b.hokaming@gmail.com") - //.queryString("to", "FullerFB@163.com") - //.queryString("to","370036259@qq.com") - //.queryString("to","brianho1023@yahoo.com") - .queryString("subject", "Mailgun test subject") - .queryString("html","<html>Testing some Mailgun awesomness! 娴嬭瘯娴嬭瘯娴嬭瘯<p/><i>Bruce</i></html>") - //.queryString("text", "Mailgun Testing") - .asJson(); - return request.getBody(); - } - - /** - * 鍖呭惈妯℃澘鐨勯偖浠跺彂閫侊紝棣栧厛鍦╩ailgun绠$悊绔繘琛屾ā鏉块厤缃� - * @return - */ - public static ClientResponse SendSimpleMessage() { - Client client = Client.create(); - client.addFilter(new HTTPBasicAuthFilter("api", API_KEY)); - WebResource webResource = client.resource("https://api.mailgun.net/v3/mail.purtato.com/messages"); - MultivaluedMapImpl formData = new MultivaluedMapImpl(); - formData.add("from", "brianho@mail.purtato.com"); - formData.add("subject", "Hello Brian Ho"); - formData.add("template", "test"); - formData.add("h:X-Mailgun-Variables", buildTemplateParameter()); - return webResource.type(MediaType.APPLICATION_FORM_URLENCODED).post(ClientResponse.class, formData); - } - /** - * 缁勮mailgun妯℃澘鍚嶇О涓簍est鐨勶紝name銆乺eset_password_url 杩欎袱涓弬鏁拌繘琛屼紶閫掓暟鎹� - * @return - */ - public static String buildTemplateParameter() { - Map<String, Object> map = new HashMap<String,Object>(); - map.put("name", "Fuller"); - map.put("reset_password_url", "https://www.baidu.com"); - return JSONObject.toJSONString(map); - } - - - - @SuppressWarnings("static-access") - public static void main(String[] args) { - - MailgunSendEmail latchTest = new MailgunSendEmail(); - - //////鏅�氭祴璇曞彂閫� - /* - JsonNode jsonNode; - try { - jsonNode = latchTest.sendSimpleMessage(); - System.out.println("result......"+jsonNode.toString()); - } catch (UnirestException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - */ - - - //////閭欢妯℃澘娴嬭瘯鍙戦�� - ClientResponse clientResponse = latchTest.SendSimpleMessage(); - System.out.println(clientResponse.getStatus()); - - - //////骞跺彂閭欢鍙戦�佹祴璇� - /* - Runnable taskTemp = new Runnable() { - - // 娉ㄦ剰锛屾澶勬槸闈炵嚎绋嬪畨鍏ㄧ殑锛岀暀鍧� - private int iCounter; - - @Override - public void run() { - for(int i = 0; i < 5; i++) { - - JsonNode jsonNode; - try { - jsonNode = latchTest.sendSimpleMessage(); - System.out.println("result......"+jsonNode.toString()); - } catch (UnirestException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } - - iCounter++; - System.out.println(System.nanoTime() + " [" + Thread.currentThread().getName() + "] iCounter = " + iCounter); - try { - Thread.sleep(100); - } catch (InterruptedException e) { - e.printStackTrace(); - } - - } - } - }; - - try { - latchTest.startTaskAllInOnce(5, taskTemp); - } catch (InterruptedException e) { - e.printStackTrace(); - } - */ - - } - - - public long startTaskAllInOnce(int threadNums, final Runnable task) throws InterruptedException { - final CountDownLatch startGate = new CountDownLatch(1); - final CountDownLatch endGate = new CountDownLatch(threadNums); - for(int i = 0; i < threadNums; i++) { - Thread t = new Thread() { - public void run() { - try { - // 浣跨嚎绋嬪湪姝ょ瓑寰咃紝褰撳紑濮嬮棬鎵撳紑鏃讹紝涓�璧锋秾鍏ラ棬涓� - startGate.await(); - try { - task.run(); - } finally { - // 灏嗙粨鏉熼棬鍑�1锛屽噺鍒�0鏃讹紝灏卞彲浠ュ紑鍚粨鏉熼棬浜� - endGate.countDown(); - } - } catch (InterruptedException ie) { - ie.printStackTrace(); - } - } - }; - t.start(); - } - long startTime = System.nanoTime(); - System.out.println(startTime + " [" + Thread.currentThread() + "] All thread is ready, concurrent going..."); - // 鍥犲紑鍚棬鍙渶涓�涓紑鍏筹紝鎵�浠ョ珛椹氨寮�鍚紑濮嬮棬 - startGate.countDown(); - // 绛夌瓑缁撴潫闂ㄥ紑鍚� - endGate.await(); - long endTime = System.nanoTime(); - System.out.println(endTime + " [" + Thread.currentThread() + "] All thread is completed."); - return endTime - startTime; - } - -} diff --git a/product-server-web/src/main/java/com/product/SendGridAPI.java b/product-server-web/src/main/java/com/product/SendGridAPI.java deleted file mode 100644 index 67f04c4..0000000 --- a/product-server-web/src/main/java/com/product/SendGridAPI.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.product; -import com.alibaba.fastjson.JSON; -import com.sendgrid.Email; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; - -public class SendGridAPI { - - private static Logger logger = LoggerFactory.getLogger(SendGridAPI.class); - - public static void main(String[] args) throws Exception { - } - - /** - * 缁勭粐閭欢鍐呭妯℃澘 - * @param from 鍙戜欢鏂� - * @param to 鏀朵欢鏂� - * @param templateId 妯℃澘ID - * @param params 鍙傛暟 - * @return - */ - private static String getEmailContent(String from, String to, String templateId, Map<String, String> params){ - Map<String, Object> dataMap = new HashMap<>(); - dataMap.put("from", new Email(from)); - dataMap.put("template_id", templateId); - Map<String, Object> persMap = new HashMap<>(); - persMap.put("to", Arrays.asList(new Email(to))); - persMap.put("dynamic_template_data", params); - dataMap.put("personalizations", Arrays.asList(persMap)); - return JSON.toJSONString(dataMap); - } -} diff --git a/product-server-web/src/main/java/com/product/WebConfig.java b/product-server-web/src/main/java/com/product/WebConfig.java deleted file mode 100644 index 373fd4b..0000000 --- a/product-server-web/src/main/java/com/product/WebConfig.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.product; - -import org.apache.catalina.Context; -import org.apache.catalina.connector.Connector; -import org.apache.tomcat.util.scan.StandardJarScanner; -import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer; -import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; -import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - - -/** - * 璇锋眰鍊煎甫"[]{}"鍏佽閫氳繃 - * - * @return - */ -@Configuration -public class WebConfig { - - @Bean - public ConfigurableServletWebServerFactory webServerFactory() { - TomcatServletWebServerFactory factory = new TomcatServletWebServerFactory() { - @Override - protected void postProcessContext(Context context) { - ((StandardJarScanner) context.getJarScanner()).setScanManifest(false); - } - }; - factory.addConnectorCustomizers(new TomcatConnectorCustomizer() { - @Override - public void customize(Connector connector) { - connector.setProperty("relaxedQueryChars", "|{}[]&\"'@.\\"); - } - }); - return factory; - } - - -} diff --git a/product-server-web/src/main/resources/application-dev.properties b/product-server-web/src/main/resources/application-dev.properties deleted file mode 100644 index 4da83d1..0000000 --- a/product-server-web/src/main/resources/application-dev.properties +++ /dev/null @@ -1,298 +0,0 @@ -#======================================# -#=============\u7CFB\u7EDF\u53C2\u6570 \u76F8\u5173\u914D\u7F6E==============# -#======================================# -#\u4E0A\u4F20\u6587\u4EF6\u8DEF\u5F84,\u7EDD\u5BF9 -#\u542F\u7528\u65E5\u5FD7\u6253\u5370 -logger.isEnable=true -#\u65E5\u5FD7\u6253\u5370\u6307\u5B9A\u63A5\u53E3\uFF0C*\u8868\u793A\u5168\u90E8\u6253\u5370\uFF0C\u7A7A\u8868\u793A\u5168\u90E8\u4E0D\u6253\u5370\uFF0C\u6307\u5B9A\u591A\u4E2A\u63A5\u53E3\u9017\u53F7\u5206\u9694 -logger.print.api=* -#\u662F\u5426\u7ACB\u5373\u6253\u5370\uFF0Cfalse\uFF1A\u63A5\u53E3\u6700\u540E\u4E00\u6B21\u6027\u6253\u5370 true\uFF1A\u8C03\u7528\u5373\u6253\u5370 -logger.print.isAtOnce=true -#\u662F\u5426\u542F\u7528\u767B\u5F55\u63A5\u53E3\u7528\u6237\u540D\u5BC6\u7801\u52A0\u5BC6 -login.ecc.isEnable=true -#\u662F\u5426\u542F\u7528\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1 -signature.isEnable=true -#\u5728\u542F\u7528\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1\u65F6\uFF0C\u6392\u9664\u6307\u5B9A\u63A5\u53E3\u65E0\u9700\u7B7E\u540D\u8BA4\u8BC1 -signature.exclude.path=/api/rsa/getKey/v1,/api/token/refresh/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/api/fileManager/get-static-file,/static/** -#\u7B7E\u540D\u8BA4\u8BC1Key -signature.key=299cb5bb4c9040a29c58304c25001d72 -#\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1\u6709\u6548\u671F\uFF0C\u5355\u4F4D\u79D2,0\u8868\u793A\u4E0D\u9A8C\u8BC1 -signature.expire=0 -#token\u8FC7\u671F\u65F6\u95F4\uFF0C\u5C0F\u65F6 6\u5206\u949F -token.expiration=1000 -#\u5FD8\u8BB0\u5BC6\u7801\u90AE\u4EF6\u4E2DToken\u7684\u8FC7\u671F\u65F6\u95F4 -mail.token.expiration=1 -#\u63A5\u53E3token\u8FC7\u671F\uFF0C\u5237\u65B0token\u7684\u63A5\u53E3\u4F7F\u7528\u7684Token\u8FC7\u671F\u65F6\u95F4 -refresh.token.expiration=12 -#token\u9A8C\u8BC1\u3001\u767B\u5F55\u9A8C\u8BC1\uFF0C\u6392\u9664URL,\u9017\u53F7\u5206\u9694 -token.exclude.path=/api/token/refresh/v1,/login,/login/v1,/api/personalcenter/send-updatePwdEmail/v1,/api/language/login-language/v1,/api/lable_internationalization/list_lable_internation/v1,/api/lable_internationalization/list-label-internation-web/v1,/api/personalcenter/check-token/v1,/api/rsa/getKey/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/api/fileManager/get-static-file,/static/** -#\u662F\u5426\u542F\u7528\u6570\u636E\u64CD\u4F5C\u6743\u9650\u9A8C\u8BC1! -data.handle.valid.isEnable=false -#\u662F\u5426\u542F\u7528\u529F\u80FD\u6743\u9650\u9A8C\u8BC1 -url.valid.isEnable=false -#\u4E0D\u9700\u8981\u6743\u9650\u9A8C\u8BC1\u63A5\u53E3\u5730\u5740,\u4E0D\u80FD\u914D/v1\u3001v2\u7B49 -url.valid.pass=/api/prompt/business/findPrompt,/api/dictionary/list-dictionary-byname,/logout,/api/functions/onload-button,/api/language/login-language/v1,/api/fileManager/get-file-info,/api/language/list-international-fields,/api/user/language/update-language,/api/staff-manager/upload_staff_avatar,api/rsa/getKey,/api/mobile/network/check,/api/system/config/info,/api/fileManager/get-static-file,/static/** -#\u662F\u5426\u6253\u5370\u9519\u8BEF\u4FE1\u606F -info.print=true -error.info.print=true -#\u662F\u5426\u6253\u5370\u9519\u8BEF\u5806\u690E\u4FE1\u606F -error.stack.trace.print=true -#\u662F\u5426\u4FDD\u5B58\u9519\u8BEF\u4FE1\u606F -error.info.save=true -#\u662F\u5426\u542F\u7528SQL\u76D1\u63A7,\u9ED8\u8BA4\u4E0D\u542F\u7528,\u662F\u5426\u5728\u540E\u53F0\u6253\u5370sql\u8BED\u53E5 -isMonitorSQL=true -#\u67E5\u8BE2\u65F6\u95F4\u8D85\u8FC7\u591A\u5C11\u79D2\u7684sql\u8BED\u53E5\u8BB0\u5F55\u5230\u5206\u6790\u6570\u636E\u5E93\u4E2D\uFF0C\u65F6\u95F4\u5355\u4F4D\uFF1A\u79D2 -monitorSQLTime=3 -#\u662F\u5426\u542F\u7528\u7CFB\u7EDF\u54CD\u5E94 -isMonitorRequest=false -#\u7CFB\u7EDF\u54CD\u5E94\u65F6\u95F4\u8D85\u8FC7\u591A\u5C11\u79D2\uFF0C\u8BB0\u5F55\u5230\u76D1\u63A7\u6570\u636E\u5E93\u4E2D -monitorRequestTime=4 -#\u56FE\u5F62\u9A8C\u8BC1\u7801\u751F\u6210\u7684\u56FE\u7247\u8DEF\u5F84 -#upload.file.temp.path=./lx_file/aptcha -#\u4E0B\u62C9\u9009\u62E9\u663E\u793A\u6761\u6570 -prompt.show.rows=20 -#\u662F\u5426\u4FDD\u5B58\u501F\u8BEF\u4FE1\u606F -error.message.save=true -#\u4E0A\u4F20\u6587\u4EF6\u5B58\u653E\u76EE\u5F55 -upload.file.path=./attachment/upload -#license\u6587\u4EF6\u8DEF\u5F84 -license.path=./resources -#\u4E0A\u4F20\u6587\u4EF6\u5B58\u653E\u4E34\u65F6\u76EE\u5F55 -upload.file.temp.path=./attachment/temp -#\u4E0A\u4F20\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F(\u9ED8\u8BA41M) -upload.file.max.size=1048576 -#\u4E0A\u4F20\u603B\u6587\u4EF6\u5927\u5C0F(\u9ED8\u8BA410M) -upload.max.size=10485760 -#\u7CFB\u7EDF\u7F13\u5B58\u5237\u65B0\u9891\u7387\uFF0C\u6BEB\u79D2 -cache.refresh.rate=6000 -#======================================# -#==============\u9ED8\u8BA4\u6570\u636E\u6E90\u8BBE\u7F6E ==============# -#======================================# -#\u6570\u636E\u5E93\u8FDE\u63A5\u6C60\u7C7B\u578B druid\u3001c3p0 -data.source.pool.type=druid -data.source.name=default -data.source.type=mysql -data.source.driver=com.mysql.jdbc.Driver -#################local############################### -#data.source.url=jdbc:mysql://127.0.0.1:3306/product_db_v2.0.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai -data.source.url=jdbc:mysql://192.168.0.200:3306/picc_product_db_v2.0.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai -data.source.user=root -data.source.password=root123 -##################local############################### -#-------------------------druid\u8FDE\u63A5\u6C60\u7684\u914D\u7F6E\u4FE1\u606F------------------------ -# \u521D\u59CB\u5316\u5927\u5C0F\uFF0C\u6700\u5C0F\uFF0C\u6700\u5927 -druid.datasource.initialSize=5 -#\u6700\u5C0F\u8FDE\u63A5\u6C60\u6570\u91CF -druid.datasource.minIdle=5 -#\u6700\u5927\u8FDE\u63A5\u6C60\u6570\u91CF -druid.datasource.maxActive=200 -# \u914D\u7F6E\u83B7\u53D6\u8FDE\u63A5\u7B49\u5F85\u8D85\u65F6\u7684\u65F6\u95F4 1\u5206\u949F -druid.datasource.maxWait=60000 -# \u914D\u7F6E\u95F4\u9694\u591A\u4E45\u624D\u8FDB\u884C\u4E00\u6B21\u68C0\u6D4B\uFF0C\u68C0\u6D4B\u9700\u8981\u5173\u95ED\u7684\u7A7A\u95F2\u8FDE\u63A5\uFF0C\u5355\u4F4D\u662F\u6BEB\u79D2 10\u5206\u949F\u5C0F\u65F6\u68C0\u67E5 -druid.datasource.timeBetweenEvictionRunsMillis=600000 -# \u914D\u7F6E\u4E00\u4E2A\u8FDE\u63A5\u5728\u6C60\u4E2D\u6700\u5C0F\u751F\u5B58\u7684\u65F6\u95F4\uFF0C\u5355\u4F4D\u662F\u6BEB\u79D2 \u8FDE\u63A5\u4FDD\u6301\u7A7A\u95F2\u800C\u4E0D\u88AB\u9A71\u9010\u7684\u6700\u5C0F\u65F6\u95F4 -druid.datasource.minEvictableIdleTimeMillis=1800000 -#\u7528\u6765\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\u7684sql\uFF0C\u8981\u6C42\u662F\u4E00\u4E2A\u67E5\u8BE2\u8BED\u53E5 -druid.datasource.validationQuery=SELECT 1 -#\u5EFA\u8BAE\u914D\u7F6E\u4E3Atrue\uFF0C\u4E0D\u5F71\u54CD\u6027\u80FD\uFF0C\u5E76\u4E14\u4FDD\u8BC1\u5B89\u5168\u6027\u3002\u7533\u8BF7\u8FDE\u63A5\u7684\u65F6\u5019\u68C0\u6D4B\uFF0C\u5982\u679C\u7A7A\u95F2\u65F6\u95F4\u5927\u4E8EtimeBetweenEvictionRunsMillis\uFF0C\u6267\u884CvalidationQuery\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\u3002 -druid.datasource.testWhileIdle=true -#\u7533\u8BF7\u8FDE\u63A5\u65F6\u6267\u884CvalidationQuery\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\uFF0C\u505A\u4E86\u8FD9\u4E2A\u914D\u7F6E\u4F1A\u964D\u4F4E\u6027\u80FD\u3002 -druid.datasource.testOnBorrow=true -#\u5F52\u8FD8\u8FDE\u63A5\u65F6\u6267\u884CvalidationQuery\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\uFF0C\u505A\u4E86\u8FD9\u4E2A\u914D\u7F6E\u4F1A\u964D\u4F4E\u6027\u80FD\u3002 -druid.datasource.testOnReturn=false -#\uFF0C\u589E\u5F3AtimeBetweenEvictionRunsMillis\u7684\u5468\u671F\u6027\u8FDE\u63A5\u68C0\u67E5\uFF0CminIdle\u5185\u7684\u7A7A\u95F2\u8FDE\u63A5\uFF0C\u6BCF\u6B21\u68C0\u67E5\u5F3A\u5236\u9A8C\u8BC1\u8FDE\u63A5\u6709\u6548\u6027 -druid.datasource.keepAlive=true -#\u8FDE\u63A5\u6CC4\u9732\u68C0\u67E5\uFF0C\u6253\u5F00removeAbandoned\u529F\u80FD , \u8FDE\u63A5\u4ECE\u8FDE\u63A5\u6C60\u501F\u51FA\u540E\uFF0C\u957F\u65F6\u95F4\u4E0D\u5F52\u8FD8\uFF0C\u5C06\u89E6\u53D1\u5F3A\u5236\u56DE\u8FDE\u63A5\u3002 -#\u56DE\u6536\u5468\u671F\u968FtimeBetweenEvictionRunsMillis\u8FDB\u884C\uFF0C\u5982\u679C\u8FDE\u63A5\u4E3A\u4ECE\u8FDE\u63A5\u6C60\u501F\u51FA\u72B6\u6001\uFF0C\u5E76\u4E14\u672A\u6267\u884C\u4EFB\u4F55sql\uFF0C\u5E76\u4E14\u4ECE\u501F\u51FA\u65F6\u95F4\u8D77\u5DF2\u8D85\u8FC7removeAbandonedTimeout\u65F6\u95F4\uFF0C -#\u5219\u5F3A\u5236\u5F52\u8FD8\u8FDE\u63A5\u5230\u8FDE\u63A5\u6C60\u4E2D\u3002 -druid.datasource.removeAbandoned=true -#\u8FDE\u63A5\u56DE\u6536\u7684\u8D85\u65F6\u65F6\u95F4\uFF1B\u5355\u4F4D\u4E3A\u6BEB\u79D2,5\u5206\u949F -druid.datasource.removeAbandonedTimeout=300000 -# \u6253\u5F00PSCache\uFF0C\u5E76\u4E14\u6307\u5B9A\u6BCF\u4E2A\u8FDE\u63A5\u4E0APSCache\u7684\u5927\u5C0F -druid.datasource.poolPreparedStatements=true -#\u662F\u5426\u7F13\u5B58preparedStatement\uFF0C\u4E5F\u5C31\u662FPSCache\u3002PSCache\u5BF9\u652F\u6301\u6E38\u6807\u7684\u6570\u636E\u5E93\u6027\u80FD\u63D0\u5347\u5DE8\u5927\uFF0C\u6BD4\u5982\u8BF4oracle\u3002\u5728mysql\u4E0B\u5EFA\u8BAE\u5173\u95ED\u3002 -druid.datasource.maxPoolPreparedStatementPerConnectionSize=100 -# \u914D\u7F6E\u76D1\u63A7\u7EDF\u8BA1\u62E6\u622A\u7684filters\uFF0C\u53BB\u6389\u540E\u76D1\u63A7\u754C\u9762sql\u65E0\u6CD5\u7EDF\u8BA1\uFF0C'wall'\u7528\u4E8E\u9632\u706B\u5899 -druid.datasource.filters=stat,wall,log4j -# \u901A\u8FC7connectProperties\u5C5E\u6027\u6765\u6253\u5F00mergeSql\u529F\u80FD\uFF1B\u6162SQL\u8BB0\u5F55 -druid.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 -#======================================# -#========== Server settings ===========# -#======================================# -server.servlet.context-path=/lx -server.port=9998 -spring.servlet.multipart.enabled=false -spring.http.encoding.force=true -spring.http.encoding.charset=UTF-8 -spring.http.encoding.enabled=true -server.tomcat.uri-encoding=UTF-8 -#\u8BBE\u7F6Esession\u8D85\u65F6\u65F6\u95F4 -server.servlet.session.timeout=72000 -spring.jackson.date-format=yyyy-MM-dd HH:mm:ss -#email -email.serverhost=smtp.exmail.qq.com -email.serverport=465 -email.username= -email.password=D4hrLWLEP3fh9wBg -email.fromaddress= -email.fromname= -#eQuest -equest.usarname= -equest.password=d4cember4$ -#parse_resume -parse_resume.username=u100220 -parse_resume.password= -#\u6307\u5B9A\u5730\u7406\u4F4D\u7F6E\u7684Path -assign.geoPath=1,7 -# \u53D1\u9001\u90AE\u4EF6\u914D\u7F6E -spring.mail.host=smtp.qq.com -spring.mail.port=465 -spring.mail.username=1582208867@qq.com -spring.mail.password=ygngntoqodmziebb -#\u521B\u5EFA\u8D26\u53F7\u521D\u59CB\u5BC6\u7801 -initial.pwd=123456 -#\u91CD\u7F6E\u5BC6\u7801url -#\u7BA1\u7406\u5458\u8DF3\u8F6C\u5730\u5740 -resetpwd.lxurl=http://192.168.0.200:3000/#/reset-password -#\u666E\u901A\u5458\u5DE5\u8DF3\u8F6C\u5730\u5740 -resetpwd.lxeurl=http://192.168.0.200:3000/#/reset-password -#\u7BA1\u7406\u5458\u767B\u5F55\u5730\u5740 -resetpwd.lxlogin_url=http://192.168.0.200:3000/#/login -#\u5458\u5DE5\u767B\u5F55\u5730\u5740 -resetpwd.esslogin_url=http://192.168.0.200:3000/#/login -#SendGrid\u8D26\u6237\u548C\u5BC6\u94A5 -sendGrid.mail.user=no-reply@essencehr.io -sendGrid.mail.key=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 -#mailgun\u7CFB\u7EDF\u90AE\u4EF6\u914D\u7F6E -mailgun.mail.user=mail.purtato.com -mailgun.mail.key=8d52b0a748b20c61331587fa9a3fe6fc-cb3791c4-8cf158ef -#\u53BB\u9644\u4EF6\u5BB9\u5668\u7BA1\u7406\uFF0C\u81EA\u52A8\u521B\u5EFA\u5BB9\u5668\u7684\u63A5\u53E3\u5730\u5740,\u7BA1\u7406\u8D26\u53F7\u8FDB\u53BB\u751F\u6210 -upload.url=https://lx.blob.core.windows.net/?sv=2019-12-12&ss=bfqt&srt=sco&sp=rwdlacupx&se=2026-09-01T15:26:10Z&st=2020-10-17T07:26:10Z&spr=https,http&sig=S8%2BKqeGPYfWHLUG5E2N99lY1MG4noWoTsWqp%2FUHBji0%3D -#\u53BB\u9644\u4EF6\u5BB9\u5668\u7BA1\u7406\uFF0C\u81EA\u52A8\u521B\u5EFA\u5BB9\u5668\u7684\u4E0A\u4F20\u7684key\uFF0C\u5728\u7BA1\u7406\u8D26\u53F7\u4E2D\u521B\u5EFA -upload.key=?sv=2019-12-12&ss=bfqt&srt=sco&sp=rwdlacupx&se=2026-09-01T15:26:10Z&st=2020-10-17T07:26:10Z&spr=https,http&sig=S8%2BKqeGPYfWHLUG5E2N99lY1MG4noWoTsWqp%2FUHBji0%3D -upload.connection_string=DefaultEndpointsProtocol=https;AccountName=lx;AccountKey=ulFYmOyQUA+8K8M5JUgMs2heohRW1dIkkdLtbl9L1+60AY9ySIbx7uxVrMY5UAdu9fm6qhBaslyBlCgWGS+dUA==;EndpointSuffix=core.windows.net -#\u6D88\u606F\u670D\u52A1\u5668\u5730\u5740\uFF0C\u6B63\u5F0F\u670D\u52A1\u5668\u4E0D\u80FD\u914D\u7F6E\u6210127\uFF0C\u5982\u679C\u53EA\u662F\u672C\u673A\u8BBF\u95EE\u53EF\u4EE5\u914D\u6210127 -message.server.ip=127.0.0.1 -#\u6D88\u606F\u670D\u52A1\u5668\u7AEF\u53E3 -message.server.port=9998 -#\u6587\u4EF6\u4E0A\u4F20 -source_domain=https://www.baidu.com -default_domain=https://lx.blob.core.windows.net -allowed_file_type=doc,docx,xls,xlsx,ppt,pptx,jpg,png,bmp,csv,pdf,txt,dat,wps,wpt,et,eet,p12 -# \u662F\u5426\u9700\u8981\u4E0A\u4F20\u5230\u6587\u4EF6\u670D\u52A1\u5668 -upload.server=false -# \u662F\u5426\u9700\u8981\u6587\u4EF6\u52A0\u5BC6 -file.encrypt=false -# \u662F\u5426\u9700\u8981\u5728\u7EBF\u9884\u89C8 -file.view.online=true -# \u5141\u8BB8\u4E0D\u8BA4\u8BC1\u7684\u9759\u6001\u8D44\u6E90 tableName.fieldName \u591A\u4E2A\u9017\u53F7\u5206\u9694 -file.static=product_sys_app_nav_bar.nav_bar_img -# \u6587\u4EF6\u670D\u52A1\u5668\u4FE1\u606F -ftp.server.ip=192.168.0.198 -ftp.server.port=21 -ftp.server.username=cheng -ftp.server.password=082600.. -ftp.server.encode=utf-8 -# \u5728\u7EBF\u9884\u89C8\u8F6C\u6362\u670D\u52A1 -open.office.home=D:/worksoft/openoffice/home -open.office.port.info=8100,8101 -# \u5355\u4E2A\u4EFB\u52A1\u6267\u884C\u8D85\u65F6\u65F6\u95F4\uFF0C\u5355\u4F4D\uFF1A\u6BEB\u79D2 -open.office.task.timeout=300000 -# \u5355\u4E2A\u4EFB\u52A1\u6392\u961F\u8D85\u65F6\u65F6\u95F4\uFF0C\u5355\u4F4D\uFF1A\u6BEB\u79D2 -open.office.queue.timeout=86400000 -# \u672C\u5730\u4E34\u65F6\u8DEF\u5F84 -temp.dir=D:/test/lx-server/file/temp -# \u672C\u5730\u5B58\u653E\u8DEF\u5F84 -#local.dir=D:/test/lx-server/file -local.dir=D:/test/lx-server/test -# \u80FD\u591F\u8F6C\u6362\u7684\u683C\u5F0F -can.transfer.format=docx,doc,xlsx,xls,pptx,ppt,txt,wps,wpt,et,eet -# \u65E0\u9700\u8F6C\u6362\u80FD\u591F\u5728\u7EBF\u9884\u89C8\u7684\u683C\u5F0F -can.direct.view.online.format=jpg,png,bmp,ico,html,pdf#\u5728\u7EBF\u7F16\u8F91\u662F\u5426\u5F00\u542F -enable.online.edit=false -# \u80FD\u5728\u7EBF\u7F16\u8F91\u7684\u6587\u4EF6\u683C\u5F0F -can.web.online.edit=doc,docx,xls,xlsx,ppt,pptx,wps,cvs,wps,wpt,et,eet -#\u89C6\u56FE\u89E3\u6790\u5668\u914D\u7F6E -#\u4E0D\u7F13\u5B58\u9875\u9762\uFF08\u4FEE\u6539\u4E86\u5C31\u80FD\u7ACB\u9A6C\u751F\u6548\u4E0D\u7528\u91CD\u542F\uFF09dev \u73AF\u5883 -spring.thymeleaf.cache=false -#\u9759\u6001\u8D44\u6E90\u8DEF\u5F84 -spring.mvc.static-path-pattern=/static/** -spring.resources.static-locations=classpath:/static/ -##============================================================== -##Configure Main Scheduler Properties -##============================================================== -##\u8C03\u5EA6\u6807\u8BC6\u540D \u96C6\u7FA4\u4E2D\u6BCF\u4E00\u4E2A\u5B9E\u4F8B\u90FD\u5FC5\u987B\u4F7F\u7528\u76F8\u540C\u7684\u540D\u79F0 -#spring.quartz.properties.org.quartz.scheduler.instanceName = QuartzScheduler -## #ID\u8BBE\u7F6E\u4E3A\u81EA\u52A8\u83B7\u53D6 \u6BCF\u4E00\u4E2A\u5FC5\u987B\u4E0D\u540C. \u5982\u9700\u8981\u518D\u540C\u4E00\u53F0\u7535\u8111\u90E8\u7F72\u96C6\u7FA4 \u540C\u4E00\u53F0\u7535\u8111\u5B9A\u65F6\u4EFB\u52A1\u914D\u7F6E\u7684instanceId \u4E0D\u80FD\u4E00\u6837\u3002 -#spring.quartz.properties.org.quartz.scheduler.instanceId = AUTO -# -##============================================================== -##Configure JobStore -##============================================================== -##\u6570\u636E\u4FDD\u5B58\u65B9\u5F0F\u4E3A\u6570\u636E\u5E93\u6301\u4E45\u5316 -#spring.quartz.properties.org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX -##\u8868\u7684\u524D\u7F00\uFF0C\u9ED8\u8BA4QRTZ_ -#spring.quartz.properties.org.quartz.jobStore.tablePrefix = QRTZ_ -##\u6570\u636E\u5E93\u522B\u540D \u968F\u4FBF\u53D6 -#spring.quartz.properties.org.quartz.jobStore.dataSource = myDS -##\u662F\u5426\u52A0\u5165\u96C6\u7FA4 -#spring.quartz.properties.org.quartz.jobStore.isClustered = true -##\u8C03\u5EA6\u5B9E\u4F8B\u5931\u6548\u7684\u68C0\u67E5\u65F6\u95F4\u95F4\u9694 -#spring.quartz.properties.org.quartz.jobStore.clusterCheckinInterval = 1000 -#spring.quartz.properties.org.quartz.jobStore.maxMisfiresToHandleAtATime = 20 -## \u4FE1\u606F\u4FDD\u5B58\u65F6\u95F4 \u9ED8\u8BA4\u503C60\u79D2 -#spring.quartz.properties.org.quartz.jobStore.misfireThreshold = 60000 -#spring.quartz.properties.org.quartz.jobStore.txIsolationLevelSerializable = true -##============================================================== -##Configure ThreadPool -##============================================================== -##\u7EBF\u7A0B\u6C60\u7684\u5B9E\u73B0\u7C7B\uFF08\u4E00\u822C\u4F7F\u7528SimpleThreadPool\u5373\u53EF\u6EE1\u8DB3\u51E0\u4E4E\u6240\u6709\u7528\u6237\u7684\u9700\u6C42\uFF09 -#spring.quartz.properties.org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool -##\u6307\u5B9A\u7EBF\u7A0B\u6570\uFF0C\u81F3\u5C11\u4E3A1\uFF08\u65E0\u9ED8\u8BA4\u503C\uFF09(\u4E00\u822C\u8BBE\u7F6E\u4E3A1-100\u76F4\u63A5\u7684\u6574\u6570\u5408\u9002) -#spring.quartz.properties.org.quartz.threadPool.threadCount = 20 -##\u8BBE\u7F6E\u7EBF\u7A0B\u7684\u4F18\u5148\u7EA7\uFF08\u6700\u5927\u4E3Ajava.lang.Thread.MAX_PRIORITY 10\uFF0C\u6700\u5C0F\u4E3AThread.MIN_PRIORITY 1\uFF0C\u9ED8\u8BA4\u4E3A5\uFF09 -#spring.quartz.properties.org.quartz.threadPool.threadPriority = 5 -#spring.quartz.properties.org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true -##============================================================================ -## Configure Datasources -##============================================================================ -##\u6570\u636E\u5E93\u4EE3\u7406\u7C7B\uFF0C\u4E00\u822Corg.quartz.impl.jdbcjobstore.StdJDBCDelegate\u53EF\u4EE5\u6EE1\u8DB3\u5927\u90E8\u5206\u6570\u636E\u5E93 -#spring.quartz.properties.org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate -#spring.quartz.properties.org.quartz.dataSource.myDS.driver =com.mysql.jdbc.Driver -#spring.quartz.properties.org.quartz.dataSource.myDS.URL = jdbc:mysql://192.168.0.199:3306/lx_product_db?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=GMT -#spring.quartz.properties.org.quartz.dataSource.myDS.user = root -#spring.quartz.properties.org.quartz.dataSource.myDS.password = root123 -#spring.quartz.properties.org.quartz.dataSource.myDS.maxConnections = 30 -## \u662F\u53EF\u9009\u7684SQL\u67E5\u8BE2\u5B57\u7B26\u4E32\uFF0CDataSource\u53EF\u7528\u4E8E\u68C0\u6D4B\u548C\u66FF\u6362\u5931\u8D25/\u635F\u574F\u7684\u8FDE\u63A5\u3002 -#spring.quartz.properties.org.quartz.dataSource.myDS.validationQuery= select 1 -# \u7B49\u4E8Etrue \u5B9A\u65F6\u4EFB\u52A1\u624D\u80FD\u542F\u52A8 -org.quartz.task.isEnable=false -# \u63A5\u53E3\u8C03\u7528\uFF0C\u628Aheader\u4E2D\u7684\u53C2\u6570copy\u5230formdata\u4E2D -header.copy.paras= -#\u662F\u5426\u542F\u7528\u5728\u6307\u5B9A\u65F6\u95F4\u5185\u5141\u8BB8\u8BBF\u95EE\u7CFB\u7EDF\u7684\u6307\u5B9A\u5730\u5740\u7684\u6B21\u6570\u9650\u5236 -allow.access.isEnable=false -#\u8981\u9650\u5B9A\u8BBF\u95EE\u6B21\u6570\u7684\u5730\u5740\uFF0C\u591A\u4E2A\u9017\u53F7\u5206\u9694 -allow.access.apis=/login/v1 -#\u5141\u8BB8\u8BBF\u95EE\u6B21\u6570\uFF0C\u6307\u5B9A\u65F6\u5185\uFF0C\u6574\u6570,\u4E00\u4E2A\u63A5\u53E3\u5730\u5740\u5BF9\u5E94\u4E00\u4E2A\u6B21\u6570\uFF0C\u7528\u9017\u53F7\u5206\u9694 -allow.access.number.times=5 -#\u5141\u8BB8\u8BBF\u95EE\u7CFB\u7EDF\u63A5\u53E3\u7684\u65F6\u95F4\u8303\u56F4\u503C\uFF0C\u5355\u4F4D\uFF1A\u6BEB\u79D2\uFF0C\u4E00\u4E2A\u63A5\u53E3\u5730\u5740\u5BF9\u5E94\u4E00\u4E2A\u65F6\u95F4,\u7528\u9017\u53F7\u5206\u9694 ,1\u5206\u949F -allow.access.time.frame=360000 -#\u662F\u5426\u542F\u7528\u90AE\u4EF6\u4E8C\u6B21\u9A8C\u8BC1 -mail.auth.isEnable=false -#psswordSecurity -password.security.day=3 -#\u62A5\u8868\u6570\u636E\u5904\u7406\uFF0C [\u89C6\u56FE\uFF0C\u5B9E\u4F53\u8868]\uFF0C\u5B9A\u65F6\u4EFB\u52A1\u628A\u89C6\u56FE\u6570\u636E\u63D2\u5165\u5230\u5B9E\u4F53\u8868\u4E2D \u4E24\u8005\u8868\u5B57\u6BB5\u4E00\u81F4 -report.data.process.config=[a,b][c,d] -# \u65E5\u5FD7\u8BB0\u5F55 -logger.info.save=false -# \u540C\u6B65-\u5934\u50CF\u7B7E\u540D\u9ED8\u8BA4\u7684\u6587\u4EF6\u5939 -avatar.signature.default.dir=E:/\u56FE\u6807/test -# \u8865\u4E01\u62BD\u53D6\u8DEF\u5F84 -patch.extract.dir=D:/worksoft/IDEA/workspace/product-server_v2.0.0/product-server-patch/patch -#\u624B\u673A\u7AEF \u524D\u7AEF\u670D\u52A1\u5730\u5740 -web.server.url=http://192.168.0.198:7005/app -#\u662F\u5426\u542F\u7528\u5F3A\u5236\u9A8C\u8BC1\u767B\u5F55APP\u7684mac -mobile.mac.valid.isEnable=false -# \u8BC1\u4E66\u4F4D\u7F6E -sign.dir.path=D:/test/lx-server/sign - diff --git a/product-server-web/src/main/resources/application-prod.properties b/product-server-web/src/main/resources/application-prod.properties deleted file mode 100644 index b599cc0..0000000 --- a/product-server-web/src/main/resources/application-prod.properties +++ /dev/null @@ -1,284 +0,0 @@ -#======================================# -#=============\u7CFB\u7EDF\u53C2\u6570 \u76F8\u5173\u914D\u7F6E==============# -#======================================# -#\u4E0A\u4F20\u6587\u4EF6\u8DEF\u5F84,\u7EDD\u5BF9 -#\u542F\u7528\u65E5\u5FD7\u6253\u5370 -logger.isEnable=true -#\u65E5\u5FD7\u6253\u5370\u6307\u5B9A\u63A5\u53E3\uFF0C*\u8868\u793A\u5168\u90E8\u6253\u5370\uFF0C\u7A7A\u8868\u793A\u5168\u90E8\u4E0D\u6253\u5370\uFF0C\u6307\u5B9A\u591A\u4E2A\u63A5\u53E3\u9017\u53F7\u5206\u9694 -logger.print.api=* -#\u662F\u5426\u7ACB\u5373\u6253\u5370\uFF0Cfalse\uFF1A\u63A5\u53E3\u6700\u540E\u4E00\u6B21\u6027\u6253\u5370 true\uFF1A\u8C03\u7528\u5373\u6253\u5370 -logger.print.isAtOnce=true -#\u662F\u5426\u542F\u7528\u767B\u5F55\u63A5\u53E3\u7528\u6237\u540D\u5BC6\u7801\u52A0\u5BC6 -login.ecc.isEnable=true -#\u662F\u5426\u542F\u7528\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1 -signature.isEnable=true -#\u5728\u542F\u7528\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1\u65F6\uFF0C\u6392\u9664\u6307\u5B9A\u63A5\u53E3\u65E0\u9700\u7B7E\u540D\u8BA4\u8BC1 -signature.exclude.path=/api/rsa/getKey/v1,/api/token/refresh/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/static/** -#\u7B7E\u540D\u8BA4\u8BC1Key -signature.key=299cb5bb4c9040a29c58304c25001d72 -#\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1\u6709\u6548\u671F\uFF0C\u5355\u4F4D\u79D2,0\u8868\u793A\u4E0D\u9A8C\u8BC1 -signature.expire=0 -#token\u8FC7\u671F\u65F6\u95F4\uFF0C\u5C0F\u65F6 6\u5206\u949F -token.expiration=1000 -#\u5FD8\u8BB0\u5BC6\u7801\u90AE\u4EF6\u4E2DToken\u7684\u8FC7\u671F\u65F6\u95F4,\u5355\u4F4D\u5C0F\u65F6 -mail.token.expiration=1 -#\u63A5\u53E3token\u8FC7\u671F\uFF0C\u5237\u65B0token\u7684\u63A5\u53E3\u4F7F\u7528\u7684Token\u8FC7\u671F\u65F6\u95F4 -refresh.token.expiration=12 -#token\u9A8C\u8BC1\u3001\u767B\u5F55\u9A8C\u8BC1\uFF0C\u6392\fu9664URL,\u9017\u53F7\u5206\u9694 -token.exclude.path=/api/token/refresh/v1,/login,/login/v1,/api/personalcenter/send-updatePwdEmail/v1,/api/language/login-language/v1,/api/lable_internationalization/list_lable_internation/v1,/api/lable_internationalization/list-label-internation-web/v1,/api/personalcenter/check-token/v1,/api/rsa/getKey/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/static/** -#\u662F\u5426\u542F\u7528\u6570\u636E\u64CD\u4F5C\u6743\u9650\u9A8C\u8BC1! -data.handle.valid.isEnable=false -#\u662F\u5426\u542F\u7528\u529F\u80FD\u6743\u9650\u9A8C\u8BC1 -url.valid.isEnable=false -#\u4E0D\u9700\u8981\u6743\u9650\u9A8C\u8BC1\u63A5\u53E3\u5730\u5740,\u4E0D\u80FD\u914D/v1\u3001v2\u7B49 -url.valid.pass=/api/prompt/business/findPrompt,/api/dictionary/list-dictionary-byname,/logout,/api/functions/onload-button,/api/language/login-language/v1,/api/fileManager/get-file-info,/api/language/list-international-fields,/api/user/language/update-language,/api/staff-manager/upload_staff_avatar,api/rsa/getKey,/api/mobile/network/check,/api/system/config/info,/static/** -#\u662F\u5426\u6253\u5370\u9519\u8BEF\u4FE1\u606F -info.print=true -error.info.print=true -#\u662F\u5426\u6253\u5370\u9519\u8BEF\u5806\u690E\u4FE1\u606F -error.stack.trace.print=true -#\u662F\u5426\u4FDD\u5B58\u9519\u8BEF\u4FE1\u606F -error.info.save=true -#\u662F\u5426\u542F\u7528SQL\u76D1\u63A7,\u9ED8\u8BA4\u4E0D\u542F\u7528,\u662F\u5426\u5728\u540E\u53F0\u6253\u5370sql\u8BED\u53E5 -isMonitorSQL=false -#\u67E5\u8BE2\u65F6\u95F4\u8D85\u8FC7\u591A\u5C11\u79D2\u7684sql\u8BED\u53E5\u8BB0\u5F55\u5230\u5206\u6790\u6570\u636E\u5E93\u4E2D\uFF0C\u65F6\u95F4\u5355\u4F4D\uFF1A\u79D2 -monitorSQLTime=3 -#\u662F\u5426\u542F\u7528\u7CFB\u7EDF\u54CD\u5E94 -isMonitorRequest=false -#\u7CFB\u7EDF\u54CD\u5E94\u65F6\u95F4\u8D85\u8FC7\u591A\u5C11\u79D2\uFF0C\u8BB0\u5F55\u5230\u76D1\u63A7\u6570\u636E\u5E93\u4E2D -monitorRequestTime=4 -#\u56FE\u5F62\u9A8C\u8BC1\u7801\u751F\u6210\u7684\u56FE\u7247\u8DEF\u5F84 -#upload.file.temp.path=./lx_file/aptcha -#\u4E0B\u62C9\u9009\u62E9\u663E\u793A\u6761\u6570 -prompt.show.rows=20 -#\u662F\u5426\u4FDD\u5B58\u501F\u8BEF\u4FE1\u606F -error.message.save=true -#\u4E0A\u4F20\u6587\u4EF6\u5B58\u653E\u76EE\u5F55 -upload.file.path=./attachment/upload -#license\u6587\u4EF6\u8DEF\u5F84 -license.path=./resources -#\u4E0A\u4F20\u6587\u4EF6\u5B58\u653E\u4E34\u65F6\u76EE\u5F55 -upload.file.temp.path=./attachment/temp -#\u4E0A\u4F20\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F(\u9ED8\u8BA41M) -upload.file.max.size=1048576 -#\u4E0A\u4F20\u603B\u6587\u4EF6\u5927\u5C0F(\u9ED8\u8BA410M) -upload.max.size=10485760 -#\u7CFB\u7EDF\u7F13\u5B58\u5237\u65B0\u9891\u7387\uFF0C\u6BEB\u79D2 -cache.refresh.rate=2000 -#======================================# -#==============\u9ED8\u8BA4\u6570\u636E\u6E90\u8BBE\u7F6E ==============# -#======================================# -#\u6570\u636E\u5E93\u8FDE\u63A5\u6C60\u7C7B\u578B druid\u3001c3p0 -data.source.pool.type=druid -data.source.name=default -data.source.type=mysql -data.source.driver=com.mysql.jdbc.Driver -##################local############################### -data.source.url=jdbc:mysql://127.0.0.1:3306/lx_product_db?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai -data.source.user=root -data.source.password=root123 -#-------------------------druid\u8FDE\u63A5\u6C60\u7684\u914D\u7F6E\u4FE1\u606F------------------------ -# \u521D\u59CB\u5316\u5927\u5C0F\uFF0C\u6700\u5C0F\uFF0C\u6700\u5927 -druid.datasource.initialSize=5 -#\u6700\u5C0F\u8FDE\u63A5\u6C60\u6570\u91CF -druid.datasource.minIdle=50 -#\u6700\u5927\u8FDE\u63A5\u6C60\u6570\u91CF -druid.datasource.maxActive=200 -# \u914D\u7F6E\u83B7\u53D6\u8FDE\u63A5\u7B49\u5F85\u8D85\u65F6\u7684\u65F6\u95F4 1\u5206\u949F -druid.datasource.maxWait=60000 -# \u914D\u7F6E\u95F4\u9694\u591A\u4E45\u624D\u8FDB\u884C\u4E00\u6B21\u68C0\u6D4B\uFF0C\u68C0\u6D4B\u9700\u8981\u5173\u95ED\u7684\u7A7A\u95F2\u8FDE\u63A5\uFF0C\u5355\u4F4D\u662F\u6BEB\u79D2 10\u5206\u949F\u5C0F\u65F6\u68C0\u67E5 -druid.datasource.timeBetweenEvictionRunsMillis=600000 -# \u914D\u7F6E\u4E00\u4E2A\u8FDE\u63A5\u5728\u6C60\u4E2D\u6700\u5C0F\u751F\u5B58\u7684\u65F6\u95F4\uFF0C\u5355\u4F4D\u662F\u6BEB\u79D2 \u8FDE\u63A5\u4FDD\u6301\u7A7A\u95F2\u800C\u4E0D\u88AB\u9A71\u9010\u7684\u6700\u5C0F\u65F6\u95F4 -druid.datasource.minEvictableIdleTimeMillis=1800000 -#\u7528\u6765\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\u7684sql\uFF0C\u8981\u6C42\u662F\u4E00\u4E2A\u67E5\u8BE2\u8BED\u53E5 -druid.datasource.validationQuery=SELECT 1 -#\u5EFA\u8BAE\u914D\u7F6E\u4E3Atrue\uFF0C\u4E0D\u5F71\u54CD\u6027\u80FD\uFF0C\u5E76\u4E14\u4FDD\u8BC1\u5B89\u5168\u6027\u3002\u7533\u8BF7\u8FDE\u63A5\u7684\u65F6\u5019\u68C0\u6D4B\uFF0C\u5982\u679C\u7A7A\u95F2\u65F6\u95F4\u5927\u4E8EtimeBetweenEvictionRunsMillis\uFF0C\u6267\u884CvalidationQuery\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\u3002 -druid.datasource.testWhileIdle=true -#\u7533\u8BF7\u8FDE\u63A5\u65F6\u6267\u884CvalidationQuery\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\uFF0C\u505A\u4E86\u8FD9\u4E2A\u914D\u7F6E\u4F1A\u964D\u4F4E\u6027\u80FD\u3002 -druid.datasource.testOnBorrow=true -#\u5F52\u8FD8\u8FDE\u63A5\u65F6\u6267\u884CvalidationQuery\u68C0\u6D4B\u8FDE\u63A5\u662F\u5426\u6709\u6548\uFF0C\u505A\u4E86\u8FD9\u4E2A\u914D\u7F6E\u4F1A\u964D\u4F4E\u6027\u80FD\u3002 -druid.datasource.testOnReturn=false -#\uFF0C\u589E\u5F3AtimeBetweenEvictionRunsMillis\u7684\u5468\u671F\u6027\u8FDE\u63A5\u68C0\u67E5\uFF0CminIdle\u5185\u7684\u7A7A\u95F2\u8FDE\u63A5\uFF0C\u6BCF\u6B21\u68C0\u67E5\u5F3A\u5236\u9A8C\u8BC1\u8FDE\u63A5\u6709\u6548\u6027 -druid.datasource.keepAlive=true -#\u8FDE\u63A5\u6CC4\u9732\u68C0\u67E5\uFF0C\u6253\u5F00removeAbandoned\u529F\u80FD , \u8FDE\u63A5\u4ECE\u8FDE\u63A5\u6C60\u501F\u51FA\u540E\uFF0C\u957F\u65F6\u95F4\u4E0D\u5F52\u8FD8\uFF0C\u5C06\u89E6\u53D1\u5F3A\u5236\u56DE\u8FDE\u63A5\u3002 -#\u56DE\u6536\u5468\u671F\u968FtimeBetweenEvictionRunsMillis\u8FDB\u884C\uFF0C\u5982\u679C\u8FDE\u63A5\u4E3A\u4ECE\u8FDE\u63A5\u6C60\u501F\u51FA\u72B6\u6001\uFF0C\u5E76\u4E14\u672A\u6267\u884C\u4EFB\u4F55sql\uFF0C\u5E76\u4E14\u4ECE\u501F\u51FA\u65F6\u95F4\u8D77\u5DF2\u8D85\u8FC7removeAbandonedTimeout\u65F6\u95F4\uFF0C -#\u5219\u5F3A\u5236\u5F52\u8FD8\u8FDE\u63A5\u5230\u8FDE\u63A5\u6C60\u4E2D\u3002 -druid.datasource.removeAbandoned=true -#\u8FDE\u63A5\u56DE\u6536\u7684\u8D85\u65F6\u65F6\u95F4\uFF1B\u5355\u4F4D\u4E3A\u6BEB\u79D2,5\u5206\u949F -druid.datasource.removeAbandonedTimeout=300000 -# \u6253\u5F00PSCache\uFF0C\u5E76\u4E14\u6307\u5B9A\u6BCF\u4E2A\u8FDE\u63A5\u4E0APSCache\u7684\u5927\u5C0F -druid.datasource.poolPreparedStatements=true -#\u662F\u5426\u7F13\u5B58preparedStatement\uFF0C\u4E5F\u5C31\u662FPSCache\u3002PSCache\u5BF9\u652F\u6301\u6E38\u6807\u7684\u6570\u636E\u5E93\u6027\u80FD\u63D0\u5347\u5DE8\u5927\uFF0C\u6BD4\u5982\u8BF4oracle\u3002\u5728mysql\u4E0B\u5EFA\u8BAE\u5173\u95ED\u3002 -druid.datasource.maxPoolPreparedStatementPerConnectionSize=100 -# \u914D\u7F6E\u76D1\u63A7\u7EDF\u8BA1\u62E6\u622A\u7684filters\uFF0C\u53BB\u6389\u540E\u76D1\u63A7\u754C\u9762sql\u65E0\u6CD5\u7EDF\u8BA1\uFF0C'wall'\u7528\u4E8E\u9632\u706B\u5899 -druid.datasource.filters=stat,wall,log4j -# \u901A\u8FC7connectProperties\u5C5E\u6027\u6765\u6253\u5F00mergeSql\u529F\u80FD\uFF1B\u6162SQL\u8BB0\u5F55 -druid.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 -#======================================# -#========== Server settings ===========# -#======================================# -server.servlet.context-path=/lx -server.port=9998 -#HTTP encoding -spring.servlet.multipart.enabled=false -spring.http.encoding.force=true -spring.http.encoding.charset=UTF-8 -spring.http.encoding.enabled=true -server.tomcat.uri-encoding=UTF-8 -#\u8BBE\u7F6Esession\u8D85\u65F6\u65F6\u95F4 -server.servlet.session.timeout=72000 -spring.jackson.date-format=yyyy-MM-dd HH:mm:ss -#email -email.serverhost=smtp.exmail.qq.com -email.serverport=465 -email.username= -email.password=D4hrLWLEP3fh9wBg -email.fromaddress= -email.fromname= -#eQuest -equest.usarname= -equest.password=d4cember4$ -#parse_resume -parse_resume.username=u100220 -parse_resume.password= -#\u6307\u5B9A\u5730\u7406\u4F4D\u7F6E\u7684Path -assign.geoPath=1,7 -# \u53D1\u9001\u90AE\u4EF6\u914D\u7F6E -spring.mail.host=smtp.qq.com -spring.mail.port=465 -spring.mail.username=1582208867@qq.com -spring.mail.password=ygngntoqodmziebb -#\u521B\u5EFA\u8D26\u53F7\u521D\u59CB\u5BC6\u7801 -initial.pwd=123456 -#\u91CD\u7F6E\u5BC6\u7801url -#\u7BA1\u7406\u5458\u8DF3\u8F6C\u5730\u5740 -resetpwd.lxurl=http://192.168.0.200:3000/#/reset-password -#\u666E\u901A\u5458\u5DE5\u8DF3\u8F6C\u5730\u5740 -resetpwd.lxeurl=http://192.168.0.200:3000/#/reset-password -#\u7BA1\u7406\u5458\u767B\u5F55\u5730\u5740 -resetpwd.lxlogin_url=http://192.168.0.200:3000/#/login -#\u5458\u5DE5\u767B\u5F55\u5730\u5740 -resetpwd.esslogin_url=http://192.168.0.200:3000/#/login -#SendGrid\u8D26\u6237\u548C\u5BC6\u94A5 -sendGrid.mail.user=no-reply@essencehr.io -sendGrid.mail.key=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 -#mailgun\u7CFB\u7EDF\u90AE\u4EF6\u914D\u7F6E -mailgun.mail.user=mail.purtato.com -mailgun.mail.key=8d52b0a748b20c61331587fa9a3fe6fc-cb3791c4-8cf158ef -#\u53BB\u9644\u4EF6\u5BB9\u5668\u7BA1\u7406\uFF0C\u81EA\u52A8\u521B\u5EFA\u5BB9\u5668\u7684\u63A5\u53E3\u5730\u5740,\u7BA1\u7406\u8D26\u53F7\u8FDB\u53BB\u751F\u6210 -upload.url=https://lx.blob.core.windows.net/?sv=2019-12-12&ss=bfqt&srt=sco&sp=rwdlacupx&se=2026-09-01T15:26:10Z&st=2020-10-17T07:26:10Z&spr=https,http&sig=S8%2BKqeGPYfWHLUG5E2N99lY1MG4noWoTsWqp%2FUHBji0%3D -#\u53BB\u9644\u4EF6\u5BB9\u5668\u7BA1\u7406\uFF0C\u81EA\u52A8\u521B\u5EFA\u5BB9\u5668\u7684\u4E0A\u4F20\u7684key\uFF0C\u5728\u7BA1\u7406\u8D26\u53F7\u4E2D\u521B\u5EFA -upload.key=?sv=2019-12-12&ss=bfqt&srt=sco&sp=rwdlacupx&se=2026-09-01T15:26:10Z&st=2020-10-17T07:26:10Z&spr=https,http&sig=S8%2BKqeGPYfWHLUG5E2N99lY1MG4noWoTsWqp%2FUHBji0%3D -upload.connection_string=DefaultEndpointsProtocol=https;AccountName=lx;AccountKey=ulFYmOyQUA+8K8M5JUgMs2heohRW1dIkkdLtbl9L1+60AY9ySIbx7uxVrMY5UAdu9fm6qhBaslyBlCgWGS+dUA==;EndpointSuffix=core.windows.net -#\u6D88\u606F\u670D\u52A1\u5668\u5730\u5740\uFF0C\u5982\u679C\u6709\u4E24\u5F20\u7F51\u5361\u7684\u670D\u52A1\u5668\u4E0D\u80FD\u914D\u7F6E127\u3001\u6B63\u5F0F\u670D\u52A1\u5668\u4E0D\u80FD\u914D\u7F6E\u6210127\uFF0C\u5982\u679C\u53EA\u662F\u672C\u673A\u8BBF\u95EE\u53EF\u4EE5\u914D\u6210127 -message.server.ip=127.0.0.1 -message.server.port=9998 -# \u662F\u5426\u9700\u8981\u4E0A\u4F20\u5230\u6587\u4EF6\u670D\u52A1\u5668 -upload.server=false -# \u662F\u5426\u9700\u8981\u6587\u4EF6\u52A0\u5BC6 -file.encrypt=false -# \u662F\u5426\u9700\u8981\u5728\u7EBF\u9884\u89C8 -file.view.online=true -# \u5141\u8BB8\u4E0D\u8BA4\u8BC1\u7684\u9759\u6001\u8D44\u6E90 tableName.fieldName \u591A\u4E2A\u9017\u53F7\u5206\u9694 -file.static=product_sys_app_nav_bar.nav_bar_img -# \u6587\u4EF6\u670D\u52A1\u5668\u4FE1\u606F -ftp.server.ip=192.168.0.199 -ftp.server.port=2121 -ftp.server.username=admin -ftp.server.password=admin -ftp.server.encode=utf-8 -# \u5728\u7EBF\u9884\u89C8\u8F6C\u6362\u670D\u52A1 -open.office.home=D:/open -open.office.port.info=8100,8101,8102,8103,8104 -# \u5355\u4E2A\u4EFB\u52A1\u6267\u884C\u8D85\u65F6\u65F6\u95F4\uFF0C\u5355\u4F4D\uFF1A\u6BEB\u79D2 -open.office.task.timeout=300000 -# \u5355\u4E2A\u4EFB\u52A1\u6392\u961F\u8D85\u65F6\u65F6\u95F4\uFF0C\u5355\u4F4D\uFF1A\u6BEB\u79D2 -open.office.queue.timeout=86400000 -# \u672C\u5730\u4E34\u65F6\u8DEF\u5F84 -temp.dir=./attachment/temp -# \u672C\u5730\u5B58\u653E\u8DEF\u5F84 -local.dir=./attachment/upload -# \u5141\u8BB8\u4E0A\u4F20\u7684\u7C7B\u578B -allowed_file_type=doc,docx,xls,xlsx,ppt,pptx,jpg,png,bmp,csv,pdf,txt,bat,zip -# \u80FD\u591F\u8F6C\u6362\u7684\u683C\u5F0F -can.transfer.format=docx,doc,xlsx,xls,pptx,ppt,txt -# \u65E0\u9700\u8F6C\u6362\u80FD\u591F\u5728\u7EBF\u9884\u89C8\u7684\u683C\u5F0F -can.direct.view.online.format=jpg,png,bmp,ico,html,pdf -#\u5728\u7EBF\u7F16\u8F91\u662F\u5426\u5F00\u542F -enable.online.edit=false -# \u80FD\u5728\u7EBF\u7F16\u8F91\u7684\u6587\u4EF6\u683C\u5F0F -can.web.online.edit=doc,docx,xls,xlsx,ppt,pptx,wps,cvs -#\u89C6\u56FE\u89E3\u6790\u5668\u914D\u7F6E -#\u4E0D\u7F13\u5B58\u9875\u9762\uFF08\u4FEE\u6539\u4E86\u5C31\u80FD\u7ACB\u9A6C\u751F\u6548\u4E0D\u7528\u91CD\u542F\uFF09dev \u73AF\u5883 = false prod = true -spring.thymeleaf.cache=true -#\u9759\u6001\u8D44\u6E90\u8DEF\u5F84 -spring.mvc.static-path-pattern=/static/** -spring.resources.static-locations=classpath:/static/ -source_domain=https://www.baidu.com -default_domain=https://lx.blob.core.windows.net -# \u7B49\u4E8Etrue \u5B9A\u65F6\u4EFB\u52A1\u624D\u80FD\u542F\u52A8 -org.quartz.task.isEnable=true -#============================================================== -#Configure Main Scheduler Properties -#============================================================== -#\u8C03\u5EA6\u6807\u8BC6\u540D \u96C6\u7FA4\u4E2D\u6BCF\u4E00\u4E2A\u5B9E\u4F8B\u90FD\u5FC5\u987B\u4F7F\u7528\u76F8\u540C\u7684\u540D\u79F0 -##spring.quartz.properties.org.quartz.scheduler.instanceName = QuartzScheduler -# #ID\u8BBE\u7F6E\u4E3A\u81EA\u52A8\u83B7\u53D6 \u6BCF\u4E00\u4E2A\u5FC5\u987B\u4E0D\u540C. \u5982\u9700\u8981\u518D\u540C\u4E00\u53F0\u7535\u8111\u90E8\u7F72\u96C6\u7FA4 \u540C\u4E00\u53F0\u7535\u8111\u5B9A\u65F6\u4EFB\u52A1\u914D\u7F6E\u7684instanceId \u4E0D\u80FD\u4E00\u6837\u3002 -##spring.quartz.properties.org.quartz.scheduler.instanceId = AUTO -#============================================================== -#Configure JobStore -#============================================================== -#\u6570\u636E\u4FDD\u5B58\u65B9\u5F0F\u4E3A\u6570\u636E\u5E93\u6301\u4E45\u5316 -##spring.quartz.properties.org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX -#\u8868\u7684\u524D\u7F00\uFF0C\u9ED8\u8BA4QRTZ_ -##spring.quartz.properties.org.quartz.jobStore.tablePrefix = QRTZ_ -#\u6570\u636E\u5E93\u522B\u540D \u968F\u4FBF\u53D6 -##spring.quartz.properties.org.quartz.jobStore.dataSource = myDS -#\u662F\u5426\u52A0\u5165\u96C6\u7FA4 -##spring.quartz.properties.org.quartz.jobStore.isClustered = true -#\u8C03\u5EA6\u5B9E\u4F8B\u5931\u6548\u7684\u68C0\u67E5\u65F6\u95F4\u95F4\u9694 -##spring.quartz.properties.org.quartz.jobStore.clusterCheckinInterval = 1000 -##spring.quartz.properties.org.quartz.jobStore.maxMisfiresToHandleAtATime = 20 -# \u4FE1\u606F\u4FDD\u5B58\u65F6\u95F4 \u9ED8\u8BA4\u503C60\u79D2 -##spring.quartz.properties.org.quartz.jobStore.misfireThreshold = 60000 -##spring.quartz.properties.org.quartz.jobStore.txIsolationLevelSerializable = true -#============================================================== -#Configure ThreadPool -#============================================================== -#\u7EBF\u7A0B\u6C60\u7684\u5B9E\u73B0\u7C7B\uFF08\u4E00\u822C\u4F7F\u7528SimpleThreadPool\u5373\u53EF\u6EE1\u8DB3\u51E0\u4E4E\u6240\u6709\u7528\u6237\u7684\u9700\u6C42\uFF09 -##spring.quartz.properties.org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool -#\u6307\u5B9A\u7EBF\u7A0B\u6570\uFF0C\u81F3\u5C11\u4E3A1\uFF08\u65E0\u9ED8\u8BA4\u503C\uFF09(\u4E00\u822C\u8BBE\u7F6E\u4E3A1-100\u76F4\u63A5\u7684\u6574\u6570\u5408\u9002) -##spring.quartz.properties.org.quartz.threadPool.threadCount = 20 -#\u8BBE\u7F6E\u7EBF\u7A0B\u7684\u4F18\u5148\u7EA7\uFF08\u6700\u5927\u4E3Ajava.lang.Thread.MAX_PRIORITY 10\uFF0C\u6700\u5C0F\u4E3AThread.MIN_PRIORITY 1\uFF0C\u9ED8\u8BA4\u4E3A5\uFF09 -##spring.quartz.properties.org.quartz.threadPool.threadPriority = 5 -##spring.quartz.properties.org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true -#============================================================================ -# Configure Datasources -#============================================================================ -#\u6570\u636E\u5E93\u4EE3\u7406\u7C7B\uFF0C\u4E00\u822Corg.quartz.impl.jdbcjobstore.StdJDBCDelegate\u53EF\u4EE5\u6EE1\u8DB3\u5927\u90E8\u5206\u6570\u636E\u5E93 -##spring.quartz.properties.org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate -##spring.quartz.properties.org.quartz.dataSource.myDS.driver =com.mysql.jdbc.Driver -##spring.quartz.properties.org.quartz.dataSource.myDS.URL = jdbc:mysql://192.168.0.199:3306/lx_product_db?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=GMT -##spring.quartz.properties.org.quartz.dataSource.myDS.user = root -##spring.quartz.properties.org.quartz.dataSource.myDS.password = root123 -##spring.quartz.properties.org.quartz.dataSource.myDS.maxConnections = 30 -# \u662F\u53EF\u9009\u7684SQL\u67E5\u8BE2\u5B57\u7B26\u4E32\uFF0CDataSource\u53EF\u7528\u4E8E\u68C0\u6D4B\u548C\u66FF\u6362\u5931\u8D25/\u635F\u574F\u7684\u8FDE\u63A5\u3002 -##spring.quartz.properties.org.quartz.dataSource.myDS.validationQuery= select 1 -# \u63A5\u53E3\u8C03\u7528\uFF0C\u628Aheader\u4E2D\u7684\u53C2\u6570copy\u5230formdata\u4E2D -header.copy.paras= -#\u662F\u5426\u542F\u7528\u5728\u6307\u5B9A\u65F6\u95F4\u5185\u5141\u8BB8\u8BBF\u95EE\u7CFB\u7EDF\u7684\u6307\u5B9A\u5730\u5740\u7684\u6B21\u6570\u9650\u5236 -allow.access.isEnable=false -#\u8981\u9650\u5B9A\u8BBF\u95EE\u6B21\u6570\u7684\u5730\u5740\uFF0C\u591A\u4E2A\u9017\u53F7\u5206\u9694 -allow.access.apis=/login/v1 -#\u5141\u8BB8\u8BBF\u95EE\u6B21\u6570\uFF0C\u6307\u5B9A\u65F6\u5185\uFF0C\u6574\u6570,\u4E00\u4E2A\u63A5\u53E3\u5730\u5740\u5BF9\u5E94\u4E00\u4E2A\u6B21\u6570\uFF0C\u7528\u9017\u53F7\u5206\u9694 -allow.access.number.times=5 -#\u5141\u8BB8\u8BBF\u95EE\u7CFB\u7EDF\u63A5\u53E3\u7684\u65F6\u95F4\u8303\u56F4\u503C\uFF0C\u5355\u4F4D\uFF1A\u6BEB\u79D2\uFF0C\u4E00\u4E2A\u63A5\u53E3\u5730\u5740\u5BF9\u5E94\u4E00\u4E2A\u65F6\u95F4,\u7528\u9017\u53F7\u5206\u9694 ,1\u5206\u949F -allow.access.time.frame=360000 -#\u662F\u5426\u542F\u7528\u90AE\u4EF6\u4E8C\u6B21\u9A8C\u8BC1 -mail.auth.isEnable=false -#psswordSecurity -password.security.day=3 -#\u624B\u673A\u7AEF \u524D\u7AEF\u670D\u52A1\u5730\u5740 -web.server.url= -#\u662F\u5426\u542F\u7528\u5F3A\u5236\u9A8C\u8BC1\u767B\u5F55APP\u7684mac -mobile.mac.valid.isEnable=false diff --git a/product-server-web/src/main/resources/application.properties b/product-server-web/src/main/resources/application.properties deleted file mode 100644 index c61ecc6..0000000 --- a/product-server-web/src/main/resources/application.properties +++ /dev/null @@ -1,7 +0,0 @@ -# dev prod -spring.profiles.active=dev - -# *********server log start ************** -server.tomcat.access-log-pattern=%h %D %m %l %u %t "%r" %s %b -server.tomcat.background-processor-delay=-1 - diff --git a/product-server-web/src/main/resources/banner.txt b/product-server-web/src/main/resources/banner.txt deleted file mode 100644 index e69de29..0000000 --- a/product-server-web/src/main/resources/banner.txt +++ /dev/null diff --git a/product-server-web/src/main/resources/cache-dev.properties b/product-server-web/src/main/resources/cache-dev.properties deleted file mode 100644 index 6c91e8a..0000000 --- a/product-server-web/src/main/resources/cache-dev.properties +++ /dev/null @@ -1,17 +0,0 @@ -# Redis\u670D\u52A1\u5668\u5730\u5740 ----------localhost-------------- -#spring.redis.host=192.168.0.199 -#spring.redis.host=192.168.0.200 -spring.redis.host=127.0.0.1 -spring.redis.port=6379 -spring.redis.password= -spring.redis.database=13 - -#------------------------------------------------- -# \u8FDE\u63A5\u6C60\u6700\u5927\u8FDE\u63A5\u6570\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09 -spring.redis.pool.max-active=200 -# \u8FDE\u63A5\u6C60\u6700\u5927\u963B\u585E\u7B49\u5F85\u65F6\u95F4\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09 -spring.redis.pool.max-wait=10000 -# \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5927\u7A7A\u95F2\u8FDE\u63A5 -spring.redis.pool.max-idle=100 -# \u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4\uFF08\u6BEB\u79D2\uFF09 -spring.redis.timeout=60000 diff --git a/product-server-web/src/main/resources/cache-prod.properties b/product-server-web/src/main/resources/cache-prod.properties deleted file mode 100644 index 53c5f02..0000000 --- a/product-server-web/src/main/resources/cache-prod.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Redis\u670d\u52a1\u5668\u5730\u5740 ----------localhost-------------- -spring.redis.host=127.0.0.1 -spring.redis.port=6379 -spring.redis.password= -spring.redis.database=12 - -#------------------------------------------------- -# \u8fde\u63a5\u6c60\u6700\u5927\u8fde\u63a5\u6570\uff08\u4f7f\u7528\u8d1f\u503c\u8868\u793a\u6ca1\u6709\u9650\u5236\uff09 -spring.redis.pool.max-active=200 -# \u8fde\u63a5\u6c60\u6700\u5927\u963b\u585e\u7b49\u5f85\u65f6\u95f4\uff08\u4f7f\u7528\u8d1f\u503c\u8868\u793a\u6ca1\u6709\u9650\u5236\uff09 -spring.redis.pool.max-wait=10000 -# \u8fde\u63a5\u6c60\u4e2d\u7684\u6700\u5927\u7a7a\u95f2\u8fde\u63a5 -spring.redis.pool.max-idle=100 -# \u8fde\u63a5\u8d85\u65f6\u65f6\u95f4\uff08\u6beb\u79d2\uff09 -spring.redis.timeout=60000 diff --git a/product-server-web/src/main/resources/file.properties b/product-server-web/src/main/resources/file.properties deleted file mode 100644 index 748fa63..0000000 --- a/product-server-web/src/main/resources/file.properties +++ /dev/null @@ -1,36 +0,0 @@ -# \u662f\u5426\u9700\u8981\u4e0a\u4f20\u5230\u6587\u4ef6\u670d\u52a1\u5668 -upload.server=false -# \u662f\u5426\u9700\u8981\u6587\u4ef6\u52a0\u5bc6 -file.encrypt=false -# \u662f\u5426\u9700\u8981\u5728\u7ebf\u9884\u89c8 -file.view.online=true - -# \u6587\u4ef6\u670d\u52a1\u5668\u4fe1\u606f -ftp.server.ip=192.168.0.199 -ftp.server.port=2121 -ftp.server.username=admin -ftp.server.password=admin -ftp.server.encode=utf-8 - -# \u5728\u7ebf\u9884\u89c8\u8f6c\u6362\u670d\u52a1 -open.office.home=D:/worksoft/openoffice/home -open.office.port.info=8100,8101,8102,8103,8104 -# \u5355\u4e2a\u4efb\u52a1\u6267\u884c\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\uff1a\u6beb\u79d2 -open.office.task.timeout=300000 -# \u5355\u4e2a\u4efb\u52a1\u6392\u961f\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\uff1a\u6beb\u79d2 -open.office.queue.timeout=86400000 - -# \u672c\u5730\u4e34\u65f6\u8def\u5f84 -temp.dir=D:/worksoft/IDEA/workspace/file -# \u672c\u5730\u5b58\u653e\u8def\u5f84 -local.dir=D:/test/lx-server/file - -# \u5141\u8bb8\u4e0a\u4f20\u7684\u7c7b\u578b -allowed_file_type=doc,docx,xls,xlsx,ppt,pptx,jpg,png,bmp,csv,pdf,bat -# \u80fd\u591f\u8f6c\u6362\u7684\u683c\u5f0f -can.transfer.format=docx,doc,xlsx,xls,pptx,ppt,txt -# \u65e0\u9700\u8f6c\u6362\u80fd\u591f\u5728\u7ebf\u9884\u89c8\u7684\u683c\u5f0f -can.direct.view.online.format=jpg,png,bmp,ico,html,pdf - -source_domain=https://www.baidu.com -default_domain=https://lx.blob.core.windows.net diff --git a/product-server-web/src/main/resources/jdbc.properties b/product-server-web/src/main/resources/jdbc.properties deleted file mode 100644 index bef7230..0000000 --- a/product-server-web/src/main/resources/jdbc.properties +++ /dev/null @@ -1,8 +0,0 @@ -#======================================# -#=============JDBC\u53C2\u6570 \u76F8\u5173\u914D\u7F6E==============# -#======================================# -data.source.type=mysql -data.source.driver=com.mysql.jdbc.Driver -data.source.url=jdbc:mysql://192.168.0.199:3306/lx_product_db?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=UTC -data.source.user=root -data.source.password=root123 \ No newline at end of file diff --git a/product-server-web/src/main/resources/logback-spring.xml b/product-server-web/src/main/resources/logback-spring.xml deleted file mode 100644 index 8deb570..0000000 --- a/product-server-web/src/main/resources/logback-spring.xml +++ /dev/null @@ -1,114 +0,0 @@ -<configuration> - <property name="LOG_HOME" value="./logs/backend" /> - <timestamp key="byDate" datePattern="yyyy-MM-dd"/> - <!--鏍煎紡鍖栬緭鍑猴細%d琛ㄧず鏃ユ湡锛�%thread琛ㄧず绾跨▼鍚嶏紝%-5level锛氱骇鍒粠宸︽樉绀�5涓瓧绗﹀搴�%msg锛氭棩蹇楁秷鎭紝%n鏄崲琛岀--> - <property name="MESSAGE_FILE_PATTERN" value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50}.%M - %msg%n" /> - <!-- 鏃ュ織鏂囦欢淇濈暀鏃堕暱 --> - <property name="maxhistory" value="60"/> - <!-- 鏃ュ織鏂囦欢鍒嗗壊澶у皬 --> - <property name="logSize" value="500MB"/> - - <!-- 鎺у埗鍙� --> - <appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender"> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>DEBUG</level> - </filter> - <layout class="ch.qos.logback.classic.PatternLayout"> - <Pattern>${MESSAGE_FILE_PATTERN}</Pattern> - </layout> - </appender> - - <!-- error绾у埆鏃ュ織鏂囦欢 --> - <appender name="errorAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <append>true</append> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>ERROR</level> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> - <fileNamePattern>${LOG_HOME}/error/product_error_%d{yyyy-MM-dd}.%i.log</fileNamePattern> - <!--鏃ュ織鏂囦欢淇濈暀澶╂暟--> - <maxHistory>${maxhistory}</maxHistory> - <!--鏃ュ織鍒嗗壊澶у皬--> - <maxFileSize>${logSize}</maxFileSize> - </rollingPolicy> - <encoder> - <pattern>${MESSAGE_FILE_PATTERN}</pattern> - </encoder> - </appender> - - <!-- info绾у埆鏃ュ織鏂囦欢 --> - <appender name="infoAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <append>true</append> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> - <level>INFO</level> - <onMatch>ACCEPT</onMatch> - <onMismatch>DENY</onMismatch> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> - <fileNamePattern>${LOG_HOME}/info/product_info_%d{yyyy-MM-dd}.%i.log</fileNamePattern> - <!--鏃ュ織鏂囦欢淇濈暀澶╂暟--> - <maxHistory>${maxhistory}</maxHistory> - <!--鏃ュ織鍒嗗壊澶у皬--> - <maxFileSize>${logSize}</maxFileSize> - </rollingPolicy> - <encoder> - <pattern>${MESSAGE_FILE_PATTERN}</pattern> - </encoder> - </appender> - - <!-- debug绾у埆鏃ュ織鏂囦欢 --> - <appender name="debugAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <append>true</append> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> - <level>DEBUG</level> - <onMatch>ACCEPT</onMatch> - <onMismatch>DENY</onMismatch> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> - <fileNamePattern>${LOG_HOME}/debug/product_debug_%d{yyyy-MM-dd}.%i.log</fileNamePattern> - <!--鏃ュ織鏂囦欢淇濈暀澶╂暟--> - <maxHistory>${maxhistory}</maxHistory> - <!--鏃ュ織鍒嗗壊澶у皬--> - <maxFileSize>${logSize}</maxFileSize> - </rollingPolicy> - <encoder> - <pattern>${MESSAGE_FILE_PATTERN}</pattern> - </encoder> - </appender> - <!--db log configure--> - <logger name="com.apache.ibatis" level="INFO"/> - <logger name="java.sql.Connection" level="INFO"/> - <logger name="java.sql.Statement" level="INFO"/> - <logger name="java.sql.PreparedStatement" level="INFO"/> - <logger name="org.springframework" level="INFO"/> - - - <!-- 鐢熶骇鐜 --> - <springProfile name="prod"> - <root level="info"> - <appender-ref ref="consoleAppender"/> - <appender-ref ref="errorAppender"/> - <appender-ref ref="infoAppender"/> - </root> - </springProfile> - - <!-- 娴嬭瘯鐜 --> - <springProfile name="test"> - <root level="debug"> - <appender-ref ref="errorAppender"/> - <appender-ref ref="infoAppender"/> - <appender-ref ref="debugAppender"/> - </root> - </springProfile> - - <!-- 寮�鍙戠幆澧� --> - <springProfile name="dev"> - <root level="debug"> - <appender-ref ref="consoleAppender"/> - <appender-ref ref="errorAppender"/> - <appender-ref ref="infoAppender"/> - <appender-ref ref="debugAppender"/> - </root> - </springProfile> - <shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/> -</configuration> diff --git a/product-server-web/src/main/resources/static/js/crypto-js.min.js b/product-server-web/src/main/resources/static/js/crypto-js.min.js deleted file mode 100644 index 1deebee..0000000 --- a/product-server-web/src/main/resources/static/js/crypto-js.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports?module.exports=exports=e():"function"==typeof define&&define.amd?define([],e):t.CryptoJS=e()}(this,function(){var h,t,e,r,i,n,f,o,s,c,a,l,d,m,x,b,H,z,A,u,p,_,v,y,g,B,w,k,S,C,D,E,R,M,F,P,W,O,I,U,K,X,L,j,N,T,q,Z,V,G,J,$,Q,Y,tt,et,rt,it,nt,ot,st,ct,at,ht,lt,ft,dt,ut,pt,_t,vt,yt,gt,Bt,wt,kt,St,bt=bt||function(l){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&"undefined"!=typeof global&&global.crypto&&(t=global.crypto),!t&&"function"==typeof require)try{t=require("crypto")}catch(t){}function i(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")}var r=Object.create||function(t){var e;return n.prototype=t,e=new n,n.prototype=null,e};function n(){}var e={},o=e.lib={},s=o.Base={extend:function(t){var e=r(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),(e.init.prototype=e).$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},f=o.WordArray=s.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var e=this.words,r=t.words,i=this.sigBytes,n=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o<n;o++){var s=r[o>>>2]>>>24-o%4*8&255;e[i+o>>>2]|=s<<24-(i+o)%4*8}else for(o=0;o<n;o+=4)e[i+o>>>2]=r[o>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=l.ceil(e/4)},clone:function(){var t=s.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r<t;r+=4)e.push(i());return new f.init(e,t)}}),c=e.enc={},a=c.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n<r;n++){var o=e[n>>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i+=2)r[i>>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new f.init(r,e/2)}},h=c.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n<r;n++){var o=e[n>>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i++)r[i>>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new f.init(r,e)}},d=c.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},u=o.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e,r=this._data,i=r.words,n=r.sigBytes,o=this.blockSize,s=n/(4*o),c=(s=t?l.ceil(s):l.max((0|s)-this._minBufferSize,0))*o,a=l.min(4*c,n);if(c){for(var h=0;h<c;h+=o)this._doProcessBlock(i,h);e=i.splice(0,c),r.sigBytes-=a}return new f.init(e,a)},clone:function(){var t=s.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),p=(o.Hasher=u.extend({cfg:s.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(r){return function(t,e){return new r.init(e).finalize(t)}},_createHmacHelper:function(r){return function(t,e){return new p.HMAC.init(r,e).finalize(t)}}}),e.algo={});return e}(Math);function mt(t,e,r){return t^e^r}function xt(t,e,r){return t&e|~t&r}function Ht(t,e,r){return(t|~e)^r}function zt(t,e,r){return t&r|e&~r}function At(t,e,r){return t^(e|~r)}function Ct(t,e){return t<<e|t>>>32-e}function Dt(t,e,r,i){var n,o=this._iv;o?(n=o.slice(0),this._iv=void 0):n=this._prevBlock,i.encryptBlock(n,0);for(var s=0;s<r;s++)t[e+s]^=n[s]}function Et(t){if(255==(t>>24&255)){var e=t>>16&255,r=t>>8&255,i=255&t;255===e?(e=0,255===r?(r=0,255===i?i=0:++i):++r):++e,t=0,t+=e<<16,t+=r<<8,t+=i}else t+=1<<24;return t}function Rt(){for(var t=this._X,e=this._C,r=0;r<8;r++)ft[r]=e[r];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<ft[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<ft[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<ft[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<ft[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<ft[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<ft[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<ft[6]>>>0?1:0)|0,this._b=e[7]>>>0<ft[7]>>>0?1:0;for(r=0;r<8;r++){var i=t[r]+e[r],n=65535&i,o=i>>>16,s=((n*n>>>17)+n*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);dt[r]=s^c}t[0]=dt[0]+(dt[7]<<16|dt[7]>>>16)+(dt[6]<<16|dt[6]>>>16)|0,t[1]=dt[1]+(dt[0]<<8|dt[0]>>>24)+dt[7]|0,t[2]=dt[2]+(dt[1]<<16|dt[1]>>>16)+(dt[0]<<16|dt[0]>>>16)|0,t[3]=dt[3]+(dt[2]<<8|dt[2]>>>24)+dt[1]|0,t[4]=dt[4]+(dt[3]<<16|dt[3]>>>16)+(dt[2]<<16|dt[2]>>>16)|0,t[5]=dt[5]+(dt[4]<<8|dt[4]>>>24)+dt[3]|0,t[6]=dt[6]+(dt[5]<<16|dt[5]>>>16)+(dt[4]<<16|dt[4]>>>16)|0,t[7]=dt[7]+(dt[6]<<8|dt[6]>>>24)+dt[5]|0}function Mt(){for(var t=this._X,e=this._C,r=0;r<8;r++)wt[r]=e[r];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<wt[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<wt[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<wt[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<wt[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<wt[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<wt[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<wt[6]>>>0?1:0)|0,this._b=e[7]>>>0<wt[7]>>>0?1:0;for(r=0;r<8;r++){var i=t[r]+e[r],n=65535&i,o=i>>>16,s=((n*n>>>17)+n*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);kt[r]=s^c}t[0]=kt[0]+(kt[7]<<16|kt[7]>>>16)+(kt[6]<<16|kt[6]>>>16)|0,t[1]=kt[1]+(kt[0]<<8|kt[0]>>>24)+kt[7]|0,t[2]=kt[2]+(kt[1]<<16|kt[1]>>>16)+(kt[0]<<16|kt[0]>>>16)|0,t[3]=kt[3]+(kt[2]<<8|kt[2]>>>24)+kt[1]|0,t[4]=kt[4]+(kt[3]<<16|kt[3]>>>16)+(kt[2]<<16|kt[2]>>>16)|0,t[5]=kt[5]+(kt[4]<<8|kt[4]>>>24)+kt[3]|0,t[6]=kt[6]+(kt[5]<<16|kt[5]>>>16)+(kt[4]<<16|kt[4]>>>16)|0,t[7]=kt[7]+(kt[6]<<8|kt[6]>>>24)+kt[5]|0}return h=bt.lib.WordArray,bt.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,i=this._map;t.clamp();for(var n=[],o=0;o<r;o+=3)for(var s=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,c=0;c<4&&o+.75*c<r;c++)n.push(i.charAt(s>>>6*(3-c)&63));var a=i.charAt(64);if(a)for(;n.length%4;)n.push(a);return n.join("")},parse:function(t){var e=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var n=0;n<r.length;n++)i[r.charCodeAt(n)]=n}var o=r.charAt(64);if(o){var s=t.indexOf(o);-1!==s&&(e=s)}return function(t,e,r){for(var i=[],n=0,o=0;o<e;o++)if(o%4){var s=r[t.charCodeAt(o-1)]<<o%4*2,c=r[t.charCodeAt(o)]>>>6-o%4*2,a=s|c;i[n>>>2]|=a<<24-n%4*8,n++}return h.create(i,n)}(t,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(l){var t=bt,e=t.lib,r=e.WordArray,i=e.Hasher,n=t.algo,H=[];!function(){for(var t=0;t<64;t++)H[t]=4294967296*l.abs(l.sin(t+1))|0}();var o=n.MD5=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var i=e+r,n=t[i];t[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o=this._hash.words,s=t[e+0],c=t[e+1],a=t[e+2],h=t[e+3],l=t[e+4],f=t[e+5],d=t[e+6],u=t[e+7],p=t[e+8],_=t[e+9],v=t[e+10],y=t[e+11],g=t[e+12],B=t[e+13],w=t[e+14],k=t[e+15],S=o[0],m=o[1],x=o[2],b=o[3];S=z(S,m,x,b,s,7,H[0]),b=z(b,S,m,x,c,12,H[1]),x=z(x,b,S,m,a,17,H[2]),m=z(m,x,b,S,h,22,H[3]),S=z(S,m,x,b,l,7,H[4]),b=z(b,S,m,x,f,12,H[5]),x=z(x,b,S,m,d,17,H[6]),m=z(m,x,b,S,u,22,H[7]),S=z(S,m,x,b,p,7,H[8]),b=z(b,S,m,x,_,12,H[9]),x=z(x,b,S,m,v,17,H[10]),m=z(m,x,b,S,y,22,H[11]),S=z(S,m,x,b,g,7,H[12]),b=z(b,S,m,x,B,12,H[13]),x=z(x,b,S,m,w,17,H[14]),S=A(S,m=z(m,x,b,S,k,22,H[15]),x,b,c,5,H[16]),b=A(b,S,m,x,d,9,H[17]),x=A(x,b,S,m,y,14,H[18]),m=A(m,x,b,S,s,20,H[19]),S=A(S,m,x,b,f,5,H[20]),b=A(b,S,m,x,v,9,H[21]),x=A(x,b,S,m,k,14,H[22]),m=A(m,x,b,S,l,20,H[23]),S=A(S,m,x,b,_,5,H[24]),b=A(b,S,m,x,w,9,H[25]),x=A(x,b,S,m,h,14,H[26]),m=A(m,x,b,S,p,20,H[27]),S=A(S,m,x,b,B,5,H[28]),b=A(b,S,m,x,a,9,H[29]),x=A(x,b,S,m,u,14,H[30]),S=C(S,m=A(m,x,b,S,g,20,H[31]),x,b,f,4,H[32]),b=C(b,S,m,x,p,11,H[33]),x=C(x,b,S,m,y,16,H[34]),m=C(m,x,b,S,w,23,H[35]),S=C(S,m,x,b,c,4,H[36]),b=C(b,S,m,x,l,11,H[37]),x=C(x,b,S,m,u,16,H[38]),m=C(m,x,b,S,v,23,H[39]),S=C(S,m,x,b,B,4,H[40]),b=C(b,S,m,x,s,11,H[41]),x=C(x,b,S,m,h,16,H[42]),m=C(m,x,b,S,d,23,H[43]),S=C(S,m,x,b,_,4,H[44]),b=C(b,S,m,x,g,11,H[45]),x=C(x,b,S,m,k,16,H[46]),S=D(S,m=C(m,x,b,S,a,23,H[47]),x,b,s,6,H[48]),b=D(b,S,m,x,u,10,H[49]),x=D(x,b,S,m,w,15,H[50]),m=D(m,x,b,S,f,21,H[51]),S=D(S,m,x,b,g,6,H[52]),b=D(b,S,m,x,h,10,H[53]),x=D(x,b,S,m,v,15,H[54]),m=D(m,x,b,S,c,21,H[55]),S=D(S,m,x,b,p,6,H[56]),b=D(b,S,m,x,k,10,H[57]),x=D(x,b,S,m,d,15,H[58]),m=D(m,x,b,S,B,21,H[59]),S=D(S,m,x,b,l,6,H[60]),b=D(b,S,m,x,y,10,H[61]),x=D(x,b,S,m,a,15,H[62]),m=D(m,x,b,S,_,21,H[63]),o[0]=o[0]+S|0,o[1]=o[1]+m|0,o[2]=o[2]+x|0,o[3]=o[3]+b|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32;var n=l.floor(r/4294967296),o=r;e[15+(64+i>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e[14+(64+i>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(e.length+1),this._process();for(var s=this._hash,c=s.words,a=0;a<4;a++){var h=c[a];c[a]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return s},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function z(t,e,r,i,n,o,s){var c=t+(e&r|~e&i)+n+s;return(c<<o|c>>>32-o)+e}function A(t,e,r,i,n,o,s){var c=t+(e&i|r&~i)+n+s;return(c<<o|c>>>32-o)+e}function C(t,e,r,i,n,o,s){var c=t+(e^r^i)+n+s;return(c<<o|c>>>32-o)+e}function D(t,e,r,i,n,o,s){var c=t+(r^(e|~i))+n+s;return(c<<o|c>>>32-o)+e}t.MD5=i._createHelper(o),t.HmacMD5=i._createHmacHelper(o)}(Math),e=(t=bt).lib,r=e.WordArray,i=e.Hasher,n=t.algo,f=[],o=n.SHA1=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],c=r[4],a=0;a<80;a++){if(a<16)f[a]=0|t[e+a];else{var h=f[a-3]^f[a-8]^f[a-14]^f[a-16];f[a]=h<<1|h>>>31}var l=(i<<5|i>>>27)+c+f[a];l+=a<20?1518500249+(n&o|~n&s):a<40?1859775393+(n^o^s):a<60?(n&o|n&s|o&s)-1894007588:(n^o^s)-899497514,c=s,s=o,o=n<<30|n>>>2,n=i,i=l}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[14+(64+i>>>9<<4)]=Math.floor(r/4294967296),e[15+(64+i>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}}),t.SHA1=i._createHelper(o),t.HmacSHA1=i._createHmacHelper(o),function(n){var t=bt,e=t.lib,r=e.WordArray,i=e.Hasher,o=t.algo,s=[],B=[];!function(){function t(t){for(var e=n.sqrt(t),r=2;r<=e;r++)if(!(t%r))return;return 1}function e(t){return 4294967296*(t-(0|t))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=e(n.pow(r,.5))),B[i]=e(n.pow(r,1/3)),i++),r++}();var w=[],c=o.SHA256=i.extend({_doReset:function(){this._hash=new r.init(s.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],c=r[4],a=r[5],h=r[6],l=r[7],f=0;f<64;f++){if(f<16)w[f]=0|t[e+f];else{var d=w[f-15],u=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,p=w[f-2],_=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;w[f]=u+w[f-7]+_+w[f-16]}var v=i&n^i&o^n&o,y=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),g=l+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&a^~c&h)+B[f]+w[f];l=h,h=a,a=c,c=s+g|0,s=o,o=n,n=i,i=g+(y+v)|0}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0,r[5]=r[5]+a|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[14+(64+i>>>9<<4)]=n.floor(r/4294967296),e[15+(64+i>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA256=i._createHelper(c),t.HmacSHA256=i._createHmacHelper(c)}(Math),function(){var n=bt.lib.WordArray,t=bt.enc;t.Utf16=t.Utf16BE={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n<r;n+=2){var o=e[n>>>2]>>>16-n%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i++)r[i>>>1]|=t.charCodeAt(i)<<16-i%2*16;return n.create(r,2*e)}};function s(t){return t<<8&4278255360|t>>>8&16711935}t.Utf16LE={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n<r;n+=2){var o=s(e[n>>>2]>>>16-n%4*8&65535);i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i++)r[i>>>1]|=s(t.charCodeAt(i)<<16-i%2*16);return n.create(r,2*e)}}}(),function(){if("function"==typeof ArrayBuffer){var t=bt.lib.WordArray,n=t.init;(t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,r=[],i=0;i<e;i++)r[i>>>2]|=t[i]<<24-i%4*8;n.call(this,r,e)}else n.apply(this,arguments)}).prototype=t}}(),Math,c=(s=bt).lib,a=c.WordArray,l=c.Hasher,d=s.algo,m=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),x=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),b=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),H=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),z=a.create([0,1518500249,1859775393,2400959708,2840853838]),A=a.create([1352829926,1548603684,1836072691,2053994217,0]),u=d.RIPEMD160=l.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var i=e+r,n=t[i];t[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o,s,c,a,h,l,f,d,u,p,_,v=this._hash.words,y=z.words,g=A.words,B=m.words,w=x.words,k=b.words,S=H.words;l=o=v[0],f=s=v[1],d=c=v[2],u=a=v[3],p=h=v[4];for(r=0;r<80;r+=1)_=o+t[e+B[r]]|0,_+=r<16?mt(s,c,a)+y[0]:r<32?xt(s,c,a)+y[1]:r<48?Ht(s,c,a)+y[2]:r<64?zt(s,c,a)+y[3]:At(s,c,a)+y[4],_=(_=Ct(_|=0,k[r]))+h|0,o=h,h=a,a=Ct(c,10),c=s,s=_,_=l+t[e+w[r]]|0,_+=r<16?At(f,d,u)+g[0]:r<32?zt(f,d,u)+g[1]:r<48?Ht(f,d,u)+g[2]:r<64?xt(f,d,u)+g[3]:mt(f,d,u)+g[4],_=(_=Ct(_|=0,S[r]))+p|0,l=p,p=u,u=Ct(d,10),d=f,f=_;_=v[1]+c+u|0,v[1]=v[2]+a+p|0,v[2]=v[3]+h+l|0,v[3]=v[4]+o+f|0,v[4]=v[0]+s+d|0,v[0]=_},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32,e[14+(64+i>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var n=this._hash,o=n.words,s=0;s<5;s++){var c=o[s];o[s]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return n},clone:function(){var t=l.clone.call(this);return t._hash=this._hash.clone(),t}}),s.RIPEMD160=l._createHelper(u),s.HmacRIPEMD160=l._createHmacHelper(u),p=bt.lib.Base,_=bt.enc.Utf8,bt.algo.HMAC=p.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=_.parse(e));var r=t.blockSize,i=4*r;e.sigBytes>i&&(e=t.finalize(e)),e.clamp();for(var n=this._oKey=e.clone(),o=this._iKey=e.clone(),s=n.words,c=o.words,a=0;a<r;a++)s[a]^=1549556828,c[a]^=909522486;n.sigBytes=o.sigBytes=i,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,r=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(r))}}),y=(v=bt).lib,g=y.Base,B=y.WordArray,w=v.algo,k=w.SHA1,S=w.HMAC,C=w.PBKDF2=g.extend({cfg:g.extend({keySize:4,hasher:k,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r=this.cfg,i=S.create(r.hasher,t),n=B.create(),o=B.create([1]),s=n.words,c=o.words,a=r.keySize,h=r.iterations;s.length<a;){var l=i.update(e).finalize(o);i.reset();for(var f=l.words,d=f.length,u=l,p=1;p<h;p++){u=i.finalize(u),i.reset();for(var _=u.words,v=0;v<d;v++)f[v]^=_[v]}n.concat(l),c[0]++}return n.sigBytes=4*a,n}}),v.PBKDF2=function(t,e,r){return C.create(r).compute(t,e)},E=(D=bt).lib,R=E.Base,M=E.WordArray,F=D.algo,P=F.MD5,W=F.EvpKDF=R.extend({cfg:R.extend({keySize:4,hasher:P,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r,i=this.cfg,n=i.hasher.create(),o=M.create(),s=o.words,c=i.keySize,a=i.iterations;s.length<c;){r&&n.update(r),r=n.update(t).finalize(e),n.reset();for(var h=1;h<a;h++)r=n.finalize(r),n.reset();o.concat(r)}return o.sigBytes=4*c,o}}),D.EvpKDF=function(t,e,r){return W.create(r).compute(t,e)},I=(O=bt).lib.WordArray,U=O.algo,K=U.SHA256,X=U.SHA224=K.extend({_doReset:function(){this._hash=new I.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=K._doFinalize.call(this);return t.sigBytes-=4,t}}),O.SHA224=K._createHelper(X),O.HmacSHA224=K._createHmacHelper(X),L=bt.lib,j=L.Base,N=L.WordArray,(T=bt.x64={}).Word=j.extend({init:function(t,e){this.high=t,this.low=e}}),T.WordArray=j.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:8*t.length},toX32:function(){for(var t=this.words,e=t.length,r=[],i=0;i<e;i++){var n=t[i];r.push(n.high),r.push(n.low)}return N.create(r,this.sigBytes)},clone:function(){for(var t=j.clone.call(this),e=t.words=this.words.slice(0),r=e.length,i=0;i<r;i++)e[i]=e[i].clone();return t}}),function(d){var t=bt,e=t.lib,u=e.WordArray,i=e.Hasher,l=t.x64.Word,r=t.algo,C=[],D=[],E=[];!function(){for(var t=1,e=0,r=0;r<24;r++){C[t+5*e]=(r+1)*(r+2)/2%64;var i=(2*t+3*e)%5;t=e%5,e=i}for(t=0;t<5;t++)for(e=0;e<5;e++)D[t+5*e]=e+(2*t+3*e)%5*5;for(var n=1,o=0;o<24;o++){for(var s=0,c=0,a=0;a<7;a++){if(1&n){var h=(1<<a)-1;h<32?c^=1<<h:s^=1<<h-32}128&n?n=n<<1^113:n<<=1}E[o]=l.create(s,c)}}();var R=[];!function(){for(var t=0;t<25;t++)R[t]=l.create()}();var n=r.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new l.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var r=this._state,i=this.blockSize/2,n=0;n<i;n++){var o=t[e+2*n],s=t[e+2*n+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(x=r[n]).high^=s,x.low^=o}for(var c=0;c<24;c++){for(var a=0;a<5;a++){for(var h=0,l=0,f=0;f<5;f++){h^=(x=r[a+5*f]).high,l^=x.low}var d=R[a];d.high=h,d.low=l}for(a=0;a<5;a++){var u=R[(a+4)%5],p=R[(a+1)%5],_=p.high,v=p.low;for(h=u.high^(_<<1|v>>>31),l=u.low^(v<<1|_>>>31),f=0;f<5;f++){(x=r[a+5*f]).high^=h,x.low^=l}}for(var y=1;y<25;y++){var g=(x=r[y]).high,B=x.low,w=C[y];l=w<32?(h=g<<w|B>>>32-w,B<<w|g>>>32-w):(h=B<<w-32|g>>>64-w,g<<w-32|B>>>64-w);var k=R[D[y]];k.high=h,k.low=l}var S=R[0],m=r[0];S.high=m.high,S.low=m.low;for(a=0;a<5;a++)for(f=0;f<5;f++){var x=r[y=a+5*f],b=R[y],H=R[(a+1)%5+5*f],z=R[(a+2)%5+5*f];x.high=b.high^~H.high&z.high,x.low=b.low^~H.low&z.low}x=r[0];var A=E[c];x.high^=A.high,x.low^=A.low}},_doFinalize:function(){var t=this._data,e=t.words,r=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;e[r>>>5]|=1<<24-r%32,e[(d.ceil((1+r)/i)*i>>>5)-1]|=128,t.sigBytes=4*e.length,this._process();for(var n=this._state,o=this.cfg.outputLength/8,s=o/8,c=[],a=0;a<s;a++){var h=n[a],l=h.high,f=h.low;l=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(l)}return new u.init(c,o)},clone:function(){for(var t=i.clone.call(this),e=t._state=this._state.slice(0),r=0;r<25;r++)e[r]=e[r].clone();return t}});t.SHA3=i._createHelper(n),t.HmacSHA3=i._createHmacHelper(n)}(Math),function(){var t=bt,e=t.lib.Hasher,r=t.x64,i=r.Word,n=r.WordArray,o=t.algo;function s(){return i.create.apply(i,arguments)}var mt=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],xt=[];!function(){for(var t=0;t<80;t++)xt[t]=s()}();var c=o.SHA512=e.extend({_doReset:function(){this._hash=new n.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],c=r[4],a=r[5],h=r[6],l=r[7],f=i.high,d=i.low,u=n.high,p=n.low,_=o.high,v=o.low,y=s.high,g=s.low,B=c.high,w=c.low,k=a.high,S=a.low,m=h.high,x=h.low,b=l.high,H=l.low,z=f,A=d,C=u,D=p,E=_,R=v,M=y,F=g,P=B,W=w,O=k,I=S,U=m,K=x,X=b,L=H,j=0;j<80;j++){var N,T,q=xt[j];if(j<16)T=q.high=0|t[e+2*j],N=q.low=0|t[e+2*j+1];else{var Z=xt[j-15],V=Z.high,G=Z.low,J=(V>>>1|G<<31)^(V>>>8|G<<24)^V>>>7,$=(G>>>1|V<<31)^(G>>>8|V<<24)^(G>>>7|V<<25),Q=xt[j-2],Y=Q.high,tt=Q.low,et=(Y>>>19|tt<<13)^(Y<<3|tt>>>29)^Y>>>6,rt=(tt>>>19|Y<<13)^(tt<<3|Y>>>29)^(tt>>>6|Y<<26),it=xt[j-7],nt=it.high,ot=it.low,st=xt[j-16],ct=st.high,at=st.low;T=(T=(T=J+nt+((N=$+ot)>>>0<$>>>0?1:0))+et+((N+=rt)>>>0<rt>>>0?1:0))+ct+((N+=at)>>>0<at>>>0?1:0),q.high=T,q.low=N}var ht,lt=P&O^~P&U,ft=W&I^~W&K,dt=z&C^z&E^C&E,ut=A&D^A&R^D&R,pt=(z>>>28|A<<4)^(z<<30|A>>>2)^(z<<25|A>>>7),_t=(A>>>28|z<<4)^(A<<30|z>>>2)^(A<<25|z>>>7),vt=(P>>>14|W<<18)^(P>>>18|W<<14)^(P<<23|W>>>9),yt=(W>>>14|P<<18)^(W>>>18|P<<14)^(W<<23|P>>>9),gt=mt[j],Bt=gt.high,wt=gt.low,kt=X+vt+((ht=L+yt)>>>0<L>>>0?1:0),St=_t+ut;X=U,L=K,U=O,K=I,O=P,I=W,P=M+(kt=(kt=(kt=kt+lt+((ht=ht+ft)>>>0<ft>>>0?1:0))+Bt+((ht=ht+wt)>>>0<wt>>>0?1:0))+T+((ht=ht+N)>>>0<N>>>0?1:0))+((W=F+ht|0)>>>0<F>>>0?1:0)|0,M=E,F=R,E=C,R=D,C=z,D=A,z=kt+(pt+dt+(St>>>0<_t>>>0?1:0))+((A=ht+St|0)>>>0<ht>>>0?1:0)|0}d=i.low=d+A,i.high=f+z+(d>>>0<A>>>0?1:0),p=n.low=p+D,n.high=u+C+(p>>>0<D>>>0?1:0),v=o.low=v+R,o.high=_+E+(v>>>0<R>>>0?1:0),g=s.low=g+F,s.high=y+M+(g>>>0<F>>>0?1:0),w=c.low=w+W,c.high=B+P+(w>>>0<W>>>0?1:0),S=a.low=S+I,a.high=k+O+(S>>>0<I>>>0?1:0),x=h.low=x+K,h.high=m+U+(x>>>0<K>>>0?1:0),H=l.low=H+L,l.high=b+X+(H>>>0<L>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[30+(128+i>>>10<<5)]=Math.floor(r/4294967296),e[31+(128+i>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});t.SHA512=e._createHelper(c),t.HmacSHA512=e._createHmacHelper(c)}(),Z=(q=bt).x64,V=Z.Word,G=Z.WordArray,J=q.algo,$=J.SHA512,Q=J.SHA384=$.extend({_doReset:function(){this._hash=new G.init([new V.init(3418070365,3238371032),new V.init(1654270250,914150663),new V.init(2438529370,812702999),new V.init(355462360,4144912697),new V.init(1731405415,4290775857),new V.init(2394180231,1750603025),new V.init(3675008525,1694076839),new V.init(1203062813,3204075428)])},_doFinalize:function(){var t=$._doFinalize.call(this);return t.sigBytes-=16,t}}),q.SHA384=$._createHelper(Q),q.HmacSHA384=$._createHmacHelper(Q),bt.lib.Cipher||function(){var t=bt,e=t.lib,r=e.Base,a=e.WordArray,i=e.BufferedBlockAlgorithm,n=t.enc,o=(n.Utf8,n.Base64),s=t.algo.EvpKDF,c=e.Cipher=i.extend({cfg:r.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,r){this.cfg=this.cfg.extend(r),this._xformMode=t,this._key=e,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(i){return{encrypt:function(t,e,r){return h(e).encrypt(i,t,e,r)},decrypt:function(t,e,r){return h(e).decrypt(i,t,e,r)}}}});function h(t){return"string"==typeof t?w:g}e.StreamCipher=c.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var l,f=t.mode={},d=e.BlockCipherMode=r.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),u=f.CBC=((l=d.extend()).Encryptor=l.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize;p.call(this,t,e,i),r.encryptBlock(t,e),this._prevBlock=t.slice(e,e+i)}}),l.Decryptor=l.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=t.slice(e,e+i);r.decryptBlock(t,e),p.call(this,t,e,i),this._prevBlock=n}}),l);function p(t,e,r){var i,n=this._iv;n?(i=n,this._iv=void 0):i=this._prevBlock;for(var o=0;o<r;o++)t[e+o]^=i[o]}var _=(t.pad={}).Pkcs7={pad:function(t,e){for(var r=4*e,i=r-t.sigBytes%r,n=i<<24|i<<16|i<<8|i,o=[],s=0;s<i;s+=4)o.push(n);var c=a.create(o,i);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},v=(e.BlockCipher=c.extend({cfg:c.cfg.extend({mode:u,padding:_}),reset:function(){var t;c.reset.call(this);var e=this.cfg,r=e.iv,i=e.mode;this._xformMode==this._ENC_XFORM_MODE?t=i.createEncryptor:(t=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,r&&r.words):(this._mode=t.call(i,this,r&&r.words),this._mode.__creator=t)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),e.unpad(t)),t},blockSize:4}),e.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),y=(t.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,r=t.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(e):e).toString(o)},parse:function(t){var e,r=o.parse(t),i=r.words;return 1398893684==i[0]&&1701076831==i[1]&&(e=a.create(i.slice(2,4)),i.splice(0,4),r.sigBytes-=16),v.create({ciphertext:r,salt:e})}},g=e.SerializableCipher=r.extend({cfg:r.extend({format:y}),encrypt:function(t,e,r,i){i=this.cfg.extend(i);var n=t.createEncryptor(r,i),o=n.finalize(e),s=n.cfg;return v.create({ciphertext:o,key:r,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,e,r,i){return i=this.cfg.extend(i),e=this._parse(e,i.format),t.createDecryptor(r,i).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),B=(t.kdf={}).OpenSSL={execute:function(t,e,r,i){i=i||a.random(8);var n=s.create({keySize:e+r}).compute(t,i),o=a.create(n.words.slice(e),4*r);return n.sigBytes=4*e,v.create({key:n,iv:o,salt:i})}},w=e.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:B}),encrypt:function(t,e,r,i){var n=(i=this.cfg.extend(i)).kdf.execute(r,t.keySize,t.ivSize);i.iv=n.iv;var o=g.encrypt.call(this,t,e,n.key,i);return o.mixIn(n),o},decrypt:function(t,e,r,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var n=i.kdf.execute(r,t.keySize,t.ivSize,e.salt);return i.iv=n.iv,g.decrypt.call(this,t,e,n.key,i)}})}(),bt.mode.CFB=((Y=bt.lib.BlockCipherMode.extend()).Encryptor=Y.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize;Dt.call(this,t,e,i,r),this._prevBlock=t.slice(e,e+i)}}),Y.Decryptor=Y.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=t.slice(e,e+i);Dt.call(this,t,e,i,r),this._prevBlock=n}}),Y),bt.mode.ECB=((tt=bt.lib.BlockCipherMode.extend()).Encryptor=tt.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),tt.Decryptor=tt.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),tt),bt.pad.AnsiX923={pad:function(t,e){var r=t.sigBytes,i=4*e,n=i-r%i,o=r+n-1;t.clamp(),t.words[o>>>2]|=n<<24-o%4*8,t.sigBytes+=n},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},bt.pad.Iso10126={pad:function(t,e){var r=4*e,i=r-t.sigBytes%r;t.concat(bt.lib.WordArray.random(i-1)).concat(bt.lib.WordArray.create([i<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},bt.pad.Iso97971={pad:function(t,e){t.concat(bt.lib.WordArray.create([2147483648],1)),bt.pad.ZeroPadding.pad(t,e)},unpad:function(t){bt.pad.ZeroPadding.unpad(t),t.sigBytes--}},bt.mode.OFB=(et=bt.lib.BlockCipherMode.extend(),rt=et.Encryptor=et.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._keystream;n&&(o=this._keystream=n.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var s=0;s<i;s++)t[e+s]^=o[s]}}),et.Decryptor=rt,et),bt.pad.NoPadding={pad:function(){},unpad:function(){}},it=bt.lib.CipherParams,nt=bt.enc.Hex,bt.format.Hex={stringify:function(t){return t.ciphertext.toString(nt)},parse:function(t){var e=nt.parse(t);return it.create({ciphertext:e})}},function(){var t=bt,e=t.lib.BlockCipher,r=t.algo,h=[],l=[],f=[],d=[],u=[],p=[],_=[],v=[],y=[],g=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,i=0;for(e=0;e<256;e++){var n=i^i<<1^i<<2^i<<3^i<<4;n=n>>>8^255&n^99,h[r]=n;var o=t[l[n]=r],s=t[o],c=t[s],a=257*t[n]^16843008*n;f[r]=a<<24|a>>>8,d[r]=a<<16|a>>>16,u[r]=a<<8|a>>>24,p[r]=a;a=16843009*c^65537*s^257*o^16843008*r;_[n]=a<<24|a>>>8,v[n]=a<<16|a>>>16,y[n]=a<<8|a>>>24,g[n]=a,r?(r=o^t[t[t[c^o]]],i^=t[t[i]]):r=i=1}}();var B=[0,1,2,4,8,16,32,64,128,27,54],i=r.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,i=4*(1+(this._nRounds=6+r)),n=this._keySchedule=[],o=0;o<i;o++)o<r?n[o]=e[o]:(a=n[o-1],o%r?6<r&&o%r==4&&(a=h[a>>>24]<<24|h[a>>>16&255]<<16|h[a>>>8&255]<<8|h[255&a]):(a=h[(a=a<<8|a>>>24)>>>24]<<24|h[a>>>16&255]<<16|h[a>>>8&255]<<8|h[255&a],a^=B[o/r|0]<<24),n[o]=n[o-r]^a);for(var s=this._invKeySchedule=[],c=0;c<i;c++){o=i-c;if(c%4)var a=n[o];else a=n[o-4];s[c]=c<4||o<=4?a:_[h[a>>>24]]^v[h[a>>>16&255]]^y[h[a>>>8&255]]^g[h[255&a]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,f,d,u,p,h)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,_,v,y,g,l);r=t[e+1];t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,i,n,o,s,c){for(var a=this._nRounds,h=t[e]^r[0],l=t[e+1]^r[1],f=t[e+2]^r[2],d=t[e+3]^r[3],u=4,p=1;p<a;p++){var _=i[h>>>24]^n[l>>>16&255]^o[f>>>8&255]^s[255&d]^r[u++],v=i[l>>>24]^n[f>>>16&255]^o[d>>>8&255]^s[255&h]^r[u++],y=i[f>>>24]^n[d>>>16&255]^o[h>>>8&255]^s[255&l]^r[u++],g=i[d>>>24]^n[h>>>16&255]^o[l>>>8&255]^s[255&f]^r[u++];h=_,l=v,f=y,d=g}_=(c[h>>>24]<<24|c[l>>>16&255]<<16|c[f>>>8&255]<<8|c[255&d])^r[u++],v=(c[l>>>24]<<24|c[f>>>16&255]<<16|c[d>>>8&255]<<8|c[255&h])^r[u++],y=(c[f>>>24]<<24|c[d>>>16&255]<<16|c[h>>>8&255]<<8|c[255&l])^r[u++],g=(c[d>>>24]<<24|c[h>>>16&255]<<16|c[l>>>8&255]<<8|c[255&f])^r[u++];t[e]=_,t[e+1]=v,t[e+2]=y,t[e+3]=g},keySize:8});t.AES=e._createHelper(i)}(),function(){var t=bt,e=t.lib,n=e.WordArray,r=e.BlockCipher,i=t.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],o=i.DES=r.extend({_doReset:function(){for(var t=this._key.words,e=[],r=0;r<56;r++){var i=h[r]-1;e[r]=t[i>>>5]>>>31-i%32&1}for(var n=this._subKeys=[],o=0;o<16;o++){var s=n[o]=[],c=f[o];for(r=0;r<24;r++)s[r/6|0]|=e[(l[r]-1+c)%28]<<31-r%6,s[4+(r/6|0)]|=e[28+(l[r+24]-1+c)%28]<<31-r%6;s[0]=s[0]<<1|s[0]>>>31;for(r=1;r<7;r++)s[r]=s[r]>>>4*(r-1)+3;s[7]=s[7]<<5|s[7]>>>27}var a=this._invSubKeys=[];for(r=0;r<16;r++)a[r]=n[15-r]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,e,r){this._lBlock=t[e],this._rBlock=t[e+1],p.call(this,4,252645135),p.call(this,16,65535),_.call(this,2,858993459),_.call(this,8,16711935),p.call(this,1,1431655765);for(var i=0;i<16;i++){for(var n=r[i],o=this._lBlock,s=this._rBlock,c=0,a=0;a<8;a++)c|=d[a][((s^n[a])&u[a])>>>0];this._lBlock=s,this._rBlock=o^c}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,p.call(this,1,1431655765),_.call(this,8,16711935),_.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),t[e]=this._lBlock,t[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(t,e){var r=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=r,this._lBlock^=r<<t}function _(t,e){var r=(this._rBlock>>>t^this._lBlock)&e;this._lBlock^=r,this._rBlock^=r<<t}t.DES=r._createHelper(o);var s=i.TripleDES=r.extend({_doReset:function(){var t=this._key.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var e=t.slice(0,2),r=t.length<4?t.slice(0,2):t.slice(2,4),i=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=o.createEncryptor(n.create(e)),this._des2=o.createEncryptor(n.create(r)),this._des3=o.createEncryptor(n.create(i))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=r._createHelper(s)}(),function(){var t=bt,e=t.lib.StreamCipher,r=t.algo,i=r.RC4=e.extend({_doReset:function(){for(var t=this._key,e=t.words,r=t.sigBytes,i=this._S=[],n=0;n<256;n++)i[n]=n;n=0;for(var o=0;n<256;n++){var s=n%r,c=e[s>>>2]>>>24-s%4*8&255;o=(o+i[n]+c)%256;var a=i[n];i[n]=i[o],i[o]=a}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=n.call(this)},keySize:8,ivSize:0});function n(){for(var t=this._S,e=this._i,r=this._j,i=0,n=0;n<4;n++){r=(r+t[e=(e+1)%256])%256;var o=t[e];t[e]=t[r],t[r]=o,i|=t[(t[e]+t[r])%256]<<24-8*n}return this._i=e,this._j=r,i}t.RC4=e._createHelper(i);var o=r.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var t=this.cfg.drop;0<t;t--)n.call(this)}});t.RC4Drop=e._createHelper(o)}(),bt.mode.CTRGladman=(ot=bt.lib.BlockCipherMode.extend(),st=ot.Encryptor=ot.extend({processBlock:function(t,e){var r,i=this._cipher,n=i.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),0===((r=s)[0]=Et(r[0]))&&(r[1]=Et(r[1]));var c=s.slice(0);i.encryptBlock(c,0);for(var a=0;a<n;a++)t[e+a]^=c[a]}}),ot.Decryptor=st,ot),at=(ct=bt).lib.StreamCipher,ht=ct.algo,lt=[],ft=[],dt=[],ut=ht.Rabbit=at.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(r=this._b=0;r<4;r++)Rt.call(this);for(r=0;r<8;r++)n[r]^=i[r+4&7];if(e){var o=e.words,s=o[0],c=o[1],a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),l=a>>>16|4294901760&h,f=h<<16|65535&a;n[0]^=a,n[1]^=l,n[2]^=h,n[3]^=f,n[4]^=a,n[5]^=l,n[6]^=h,n[7]^=f;for(r=0;r<4;r++)Rt.call(this)}},_doProcessBlock:function(t,e){var r=this._X;Rt.call(this),lt[0]=r[0]^r[5]>>>16^r[3]<<16,lt[1]=r[2]^r[7]>>>16^r[5]<<16,lt[2]=r[4]^r[1]>>>16^r[7]<<16,lt[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)lt[i]=16711935&(lt[i]<<8|lt[i]>>>24)|4278255360&(lt[i]<<24|lt[i]>>>8),t[e+i]^=lt[i]},blockSize:4,ivSize:2}),ct.Rabbit=at._createHelper(ut),bt.mode.CTR=(pt=bt.lib.BlockCipherMode.extend(),_t=pt.Encryptor=pt.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._counter;n&&(o=this._counter=n.slice(0),this._iv=void 0);var s=o.slice(0);r.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var c=0;c<i;c++)t[e+c]^=s[c]}}),pt.Decryptor=_t,pt),yt=(vt=bt).lib.StreamCipher,gt=vt.algo,Bt=[],wt=[],kt=[],St=gt.RabbitLegacy=yt.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]],n=this._b=0;n<4;n++)Mt.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(e){var o=e.words,s=o[0],c=o[1],a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),l=a>>>16|4294901760&h,f=h<<16|65535&a;i[0]^=a,i[1]^=l,i[2]^=h,i[3]^=f,i[4]^=a,i[5]^=l,i[6]^=h,i[7]^=f;for(n=0;n<4;n++)Mt.call(this)}},_doProcessBlock:function(t,e){var r=this._X;Mt.call(this),Bt[0]=r[0]^r[5]>>>16^r[3]<<16,Bt[1]=r[2]^r[7]>>>16^r[5]<<16,Bt[2]=r[4]^r[1]>>>16^r[7]<<16,Bt[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)Bt[i]=16711935&(Bt[i]<<8|Bt[i]>>>24)|4278255360&(Bt[i]<<24|Bt[i]>>>8),t[e+i]^=Bt[i]},blockSize:4,ivSize:2}),vt.RabbitLegacy=yt._createHelper(St),bt.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;0<=r;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},bt}); \ No newline at end of file diff --git a/product-server-web/src/main/resources/static/js/jquery.min.js b/product-server-web/src/main/resources/static/js/jquery.min.js deleted file mode 100644 index e5ace11..0000000 --- a/product-server-web/src/main/resources/static/js/jquery.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v2.1.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ -!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.1",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+Math.random()}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b) -},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function yb(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+R[f]+"Width",!0,e)));return g}function Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",tb(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Bb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?zb.test(n.css(a,"display"))&&0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||f[d-2]||f[0];return e}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Kb.propHooks.scrollTop=Kb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||tb(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Nb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?tb(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ub(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xb(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Lb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Yb,Zb,$b=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Zb:Yb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b)) -},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Zb={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ac=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bc,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cc=n.now(),dc=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var ec,fc,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/gm,jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kc=/^(?:GET|HEAD)$/,lc=/^\/\//,mc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,nc={},oc={},pc="*/".concat("*");try{fc=location.href}catch(qc){fc=l.createElement("a"),fc.href="",fc=fc.href}ec=mc.exec(fc.toLowerCase())||[];function rc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function sc(a,b,c,d){var e={},f=a===oc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function tc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function uc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function vc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:fc,type:"GET",isLocal:jc.test(ec[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSettings,a)},ajaxPrefilter:rc(nc),ajaxTransport:rc(oc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=ic.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||fc)+"").replace(gc,"").replace(lc,ec[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=mc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===ec[1]&&h[2]===ec[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(ec[3]||("http:"===ec[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),sc(nc,k,b,v),2===t)return v;i=k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!kc.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=hc.test(d)?d.replace(hc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+pc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,complete:1})v[j](k[j]);if(c=sc(oc,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=uc(k,v,f)),u=vc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var wc=/%20/g,xc=/\[\]$/,yc=/\r?\n/g,zc=/^(?:submit|button|image|reset|file)$/i,Ac=/^(?:input|select|textarea|keygen)/i;function Bc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||xc.test(a)?d(a,e):Bc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Bc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Bc(c,a[c],b,e);return d.join("&").replace(wc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Ac.test(this.nodeName)&&!zc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(yc,"\r\n")}}):{name:b.name,value:c.replace(yc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Cc=0,Dc={},Ec={0:200,1223:204},Fc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Dc)Dc[a]()}),k.cors=!!Fc&&"withCredentials"in Fc,k.ajax=Fc=!!Fc,n.ajaxTransport(function(a){var b;return k.cors||Fc&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Dc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Ec[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Dc[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Gc=[],Hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Hc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Hc,"$1"+e):b.jsonp!==!1&&(b.url+=(dc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Gc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Ic=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Ic)return Ic.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Jc=a.document.documentElement;function Kc(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Kc(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||Jc;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Jc})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Kc(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,b),vb.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Lc=a.jQuery,Mc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Mc),b&&a.jQuery===n&&(a.jQuery=Lc),n},typeof b===U&&(a.jQuery=a.$=n),n}); diff --git a/product-server-web/src/main/resources/static/js/qs.min.js b/product-server-web/src/main/resources/static/js/qs.min.js deleted file mode 100644 index 17ec061..0000000 --- a/product-server-web/src/main/resources/static/js/qs.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Qs=e()}(function(){return function o(n,i,a){function c(t,e){if(!i[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(l)return l(t,!0);throw(r=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",r}r=i[t]={exports:{}},n[t][0].call(r.exports,function(e){return c(n[t][1][e]||e)},r,r.exports,o,n,i,a)}return i[t].exports}for(var l="function"==typeof require&&require,e=0;e<a.length;e++)c(a[e]);return c}({1:[function(e,t,r){"use strict";var o=String.prototype.replace,n=/%20/g,i="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(e){return o.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},{}],2:[function(e,t,r){"use strict";var o=e("./stringify"),n=e("./parse"),e=e("./formats");t.exports={formats:e,parse:n,stringify:o}},{"./formats":1,"./parse":3,"./stringify":4}],3:[function(e,t,r){"use strict";function u(e,t){return e&&"string"==typeof e&&t.comma&&-1<e.indexOf(",")?e.split(","):e}function l(e,t){var r,o,n,i,a={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,e=t.parameterLimit===1/0?void 0:t.parameterLimit,l=c.split(t.delimiter,e),f=-1,s=t.charset;if(t.charsetSentinel)for(r=0;r<l.length;++r)0===l[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[r]?s="utf-8":"utf8=%26%2310003%3B"===l[r]&&(s="iso-8859-1"),f=r,r=l.length);for(r=0;r<l.length;++r)r!==f&&((i=-1===(i=-1===(i=(o=l[r]).indexOf("]="))?o.indexOf("="):i+1)?(n=t.decoder(o,m.decoder,s,"key"),t.strictNullHandling?null:""):(n=t.decoder(o.slice(0,i),m.decoder,s,"key"),p.maybeMap(u(o.slice(i+1),t),function(e){return t.decoder(e,m.decoder,s,"value")})))&&t.interpretNumericEntities&&"iso-8859-1"===s&&(i=i.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),-1<o.indexOf("[]=")&&(i=y(i)?[i]:i),d.call(a,n)?a[n]=p.combine(a[n],i):a[n]=i);return a}function f(e,t,r,o){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=0<r.depth&&/(\[[^[\]]*])/.exec(n),e=a?n.slice(0,a.index):n,c=[];if(e){if(!r.plainObjects&&d.call(Object.prototype,e)&&!r.allowPrototypes)return;c.push(e)}for(var l=0;0<r.depth&&null!==(a=i.exec(n))&&l<r.depth;){if(l+=1,!r.plainObjects&&d.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+n.slice(a.index)+"]"),function(e,t,r,o){for(var n=o?t:u(t,r),i=e.length-1;0<=i;--i){var a,c,l,f=e[i];"[]"===f&&r.parseArrays?a=[].concat(n):(a=r.plainObjects?Object.create(null):{},c="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,l=parseInt(c,10),r.parseArrays||""!==c?!isNaN(l)&&f!==c&&String(l)===c&&0<=l&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=n:a[c]=n:a={0:n}),n=a}return n}(c,t,r,o)}}var p=e("./utils"),d=Object.prototype.hasOwnProperty,y=Array.isArray,m={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:p.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1};t.exports=function(e,t){var r=function(e){if(!e)return m;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=(void 0===e.charset?m:e).charset;return{allowDots:void 0===e.allowDots?m.allowDots:!!e.allowDots,allowPrototypes:("boolean"==typeof e.allowPrototypes?e:m).allowPrototypes,arrayLimit:("number"==typeof e.arrayLimit?e:m).arrayLimit,charset:t,charsetSentinel:("boolean"==typeof e.charsetSentinel?e:m).charsetSentinel,comma:("boolean"==typeof e.comma?e:m).comma,decoder:("function"==typeof e.decoder?e:m).decoder,delimiter:("string"==typeof e.delimiter||p.isRegExp(e.delimiter)?e:m).delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:m.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:("boolean"==typeof e.interpretNumericEntities?e:m).interpretNumericEntities,parameterLimit:("number"==typeof e.parameterLimit?e:m).parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:("boolean"==typeof e.plainObjects?e:m).plainObjects,strictNullHandling:("boolean"==typeof e.strictNullHandling?e:m).strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof e?l(e,r):e,n=r.plainObjects?Object.create(null):{},i=Object.keys(o),a=0;a<i.length;++a)var c=i[a],c=f(c,o[c],r,"string"==typeof e),n=p.merge(n,c,r);return p.compact(n)}},{"./utils":5}],4:[function(e,t,r){"use strict";function j(e,t){o.apply(e,x(t)?t:[t])}function O(e,t,r,o,n,i,a,c,l,f,s,u,p,d){var y=e;if("function"==typeof a?y=a(t,y):y instanceof Date?y=f(y):"comma"===r&&x(y)&&(y=w.maybeMap(y,function(e){return e instanceof Date?f(e):e})),null===y){if(o)return i&&!p?i(t,N.encoder,d,"key",s):t;y=""}if(e=y,"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"bigint"==typeof e||w.isBuffer(y))return i?[u(p?t:i(t,N.encoder,d,"key",s))+"="+u(i(y,N.encoder,d,"value",s))]:[u(t)+"="+u(String(y))];var m,h=[];if(void 0===y)return h;m="comma"===r&&x(y)?[{value:0<y.length?y.join(",")||null:void 0}]:x(a)?a:(e=Object.keys(y),c?e.sort(c):e);for(var b=0;b<m.length;++b){var g=m[b],v="object"==typeof g&&void 0!==g.value?g.value:y[g];n&&null===v||(g=x(y)?"function"==typeof r?r(t,g):t:t+(l?"."+g:"["+g+"]"),j(h,O(v,g,r,o,n,i,a,c,l,f,s,u,p,d)))}return h}var w=e("./utils"),f=e("./formats"),s=Object.prototype.hasOwnProperty,u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},x=Array.isArray,o=Array.prototype.push,n=Date.prototype.toISOString,e=f.default,N={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:w.encode,encodeValuesOnly:!1,format:e,formatter:f.formatters[e],indices:!1,serializeDate:function(e){return n.call(e)},skipNulls:!1,strictNullHandling:!1};t.exports=function(e,t){var r=e,o=function(e){if(!e)return N;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||N.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=f.default;if(void 0!==e.format){if(!s.call(f.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var o=f.formatters[r],n=N.filter;return"function"!=typeof e.filter&&!x(e.filter)||(n=e.filter),{addQueryPrefix:("boolean"==typeof e.addQueryPrefix?e:N).addQueryPrefix,allowDots:void 0===e.allowDots?N.allowDots:!!e.allowDots,charset:t,charsetSentinel:("boolean"==typeof e.charsetSentinel?e:N).charsetSentinel,delimiter:(void 0===e.delimiter?N:e).delimiter,encode:("boolean"==typeof e.encode?e:N).encode,encoder:("function"==typeof e.encoder?e:N).encoder,encodeValuesOnly:("boolean"==typeof e.encodeValuesOnly?e:N).encodeValuesOnly,filter:n,format:r,formatter:o,serializeDate:("function"==typeof e.serializeDate?e:N).serializeDate,skipNulls:("boolean"==typeof e.skipNulls?e:N).skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:("boolean"==typeof e.strictNullHandling?e:N).strictNullHandling}}(t);"function"==typeof o.filter?r=(0,o.filter)("",r):x(o.filter)&&(a=o.filter);var n=[];if("object"!=typeof r||null===r)return"";e=t&&t.arrayFormat in u?t.arrayFormat:!(t&&"indices"in t)||t.indices?"indices":"repeat";var i=u[e],a=a||Object.keys(r);o.sort&&a.sort(o.sort);for(var c=0;c<a.length;++c){var l=a[c];o.skipNulls&&null===r[l]||j(n,O(r[l],l,i,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset))}t=n.join(o.delimiter),e=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?e+="utf8=%26%2310003%3B&":e+="utf8=%E2%9C%93&"),0<t.length?e+t:""}},{"./formats":1,"./utils":5}],5:[function(e,t,r){"use strict";function c(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},o=0;o<e.length;++o)void 0!==e[o]&&(r[o]=e[o]);return r}var f=e("./formats"),l=Object.prototype.hasOwnProperty,s=Array.isArray,u=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),e=function o(n,i,a){if(!i)return n;if("object"!=typeof i){if(s(n))n.push(i);else{if(!n||"object"!=typeof n)return[n,i];(a&&(a.plainObjects||a.allowPrototypes)||!l.call(Object.prototype,i))&&(n[i]=!0)}return n}if(!n||"object"!=typeof n)return[n].concat(i);var e=n;return s(n)&&!s(i)&&(e=c(n,a)),s(n)&&s(i)?(i.forEach(function(e,t){var r;l.call(n,t)?(r=n[t])&&"object"==typeof r&&e&&"object"==typeof e?n[t]=o(r,e,a):n.push(e):n[t]=e}),n):Object.keys(i).reduce(function(e,t){var r=i[t];return l.call(e,t)?e[t]=o(e[t],r,a):e[t]=r,e},e)};t.exports={arrayToObject:c,assign:function(e,r){return Object.keys(r).reduce(function(e,t){return e[t]=r[t],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],o=0;o<t.length;++o)for(var n=t[o],i=n.obj[n.prop],a=Object.keys(i),c=0;c<a.length;++c){var l=a[c],f=i[l];"object"==typeof f&&null!==f&&-1===r.indexOf(f)&&(t.push({obj:i,prop:l}),r.push(f))}return function(e){for(;1<e.length;){var t=e.pop(),r=t.obj[t.prop];if(s(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,r){var o=e.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function(e,t,r,o,n){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var a="",c=0;c<i.length;++c){var l=i.charCodeAt(c);45===l||46===l||95===l||126===l||48<=l&&l<=57||65<=l&&l<=90||97<=l&&l<=122||n===f.RFC1738&&(40===l||41===l)?a+=i.charAt(c):l<128?a+=u[l]:l<2048?a+=u[192|l>>6]+u[128|63&l]:l<55296||57344<=l?a+=u[224|l>>12]+u[128|l>>6&63]+u[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&i.charCodeAt(c)),a+=u[240|l>>18]+u[128|l>>12&63]+u[128|l>>6&63]+u[128|63&l])}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(s(e)){for(var r=[],o=0;o<e.length;o+=1)r.push(t(e[o]));return r}return t(e)},merge:e}},{"./formats":1}]},{},[2])(2)}); \ No newline at end of file diff --git a/product-server-web/src/main/resources/templates/webOffice.html b/product-server-web/src/main/resources/templates/webOffice.html deleted file mode 100644 index 366bbc9..0000000 --- a/product-server-web/src/main/resources/templates/webOffice.html +++ /dev/null @@ -1,419 +0,0 @@ -<!DOCTYPE html> -<html xmlns:th="http://www.thymeleaf.org"> -<head> - <meta charset="UTF-8"/> - <meta http-equiv="X-UA-Compatible" content="IE=edge"/> - <meta name="viewport" content="width=device-width, initial-scale=1.0"/> - <title th:text="${file_title}"></title> - <style type="text/css"> - html, body { - margin: 0; - padding: 0; - height: 100vh; - } - - .openOffice { - height: calc(100% - 20px); - width: 100%; - margin: 0; - padding: 0; - } - </style> - <script type="text/javascript" src="/lx/static/js/jquery.min.js"></script> -</head> -<body> - - -<div style="height: 100%" id="openOffice-area"> - <script type="text/javascript"> - if (!!window.ActiveXObject || "ActiveXObject" in window) { - document.write('<object class="openOffice" classid="clsid:FF09E4FA-BFAA-486E-ACB4-86EB0AE875D5" codebase="http://www.officectrl.com/weboffice/WebOffice.ocx#Version=2018,1,6,2" id="WebOffice" width="100%" height="900" >'); - document.write('</object>'); - } else { - document.write('<object class="openOffice" id="WebOffice" CLSID="{FF09E4FA-BFAA-486E-ACB4-86EB0AE875D5}" TYPE="application/x-itst-activex" width=100% height=900></object>'); - } - </script> -</div> -</body> - -<script type="text/javascript" src="/lx/static/js/crypto-js.min.js"></script> -<script type="text/javascript" src="/lx/static/js/qs.min.js"></script> -<script type="text/javascript" th:inline="javascript"> - var requestPrefix = window.location.protocol + "//" + window.location.host + "/lx/api" - var saveFileApi = requestPrefix + "/office/save-office/v1" - var getFileApi = requestPrefix + "/office/get-file/v1" - var nestFileApi = requestPrefix + "/office/get-nest-red-file/v1" - let WebOffice; - var readOnly = 1; - var formData; - var signature; - var fileType; - var nestRedDocument = [[${nestDocument}]]; - - /** - * 姝e湪缂栬緫鐘舵�佸彂閫� - */ - function beingEditedStatusSend() { - //姣�15绉掓爣璇嗕竴娆℃鍦ㄧ紪杈� 閰嶅悎鍚庣 redis 杩囨湡鏃堕棿璁剧疆瀹氭椂鍙戦�佹椂闂� - // setTimeout(function () { - // $.ajaxSettings.async = true; - // $.post("/lx/api/office/reset-document-edit-time/v1", { - // 'signature': signature, - // 'formData': formData - // }, function (success, data) { - // if (!data || data.code != 200) { - // if (data) { - // if (confirm(data.msg)) { - // readOnly = 1 - // WebMenubar(false); - // getOffice().ProtectDoc(1, 1, new Date().toString() + Math.random() * 10); - // } else { - // //閫�鍑� - // customCloseWindow(); - // } - // } else { - // readOnly = 1 - // alert('鏍囪瘑鏂囨。缂栬緫鐘舵�侀敊璇�!'); - // customCloseWindow(); - // } - // } - // }, 'json') - // $.ajaxSettings.async = true; - // beingEditedStatusSend() - // }, 15000) - - } - - /** - * 鎵撳紑鏂囨。 - */ - function openOffice() { - try { - getOffice().UserName = "鎴愰兘榫欐杞欢鏈夐檺鍏徃"; - getOffice().Authorizer = "www.officectrl.com"; - getOffice().Open( - getFileApi + '?signature=' + signature + '&formData=' + encodeURI(formData), true, fileType - ) - //涓嶅厑璁告柊寤� - getOffice().SetSecurity(254); - //涓嶅厑璁告墦寮� - getOffice().SetSecurity(253); - if (readOnly == 1) { - // WebToolbar(false) - WebMenubar(false); - getOffice().ProtectDoc(1, 1, new Date().toString() + Math.random() * 10); - } else { - beingEditedStatusSend(); - autoSave() - } - } catch (e) { - if (e.message && e.message.indexOf('娑堟伅绛涢�夊櫒鏄剧ず搴旂敤绋嬪簭姝e湪浣跨敤涓�') != -1) { - alert('WPS 鎴� Microsoft Office 搴旂敤绋嬪簭姝e湪琚崰鐢�') - } - // alert(e.message) - console.error(e); - } - } - - /** - * 璁″垝寮�濮嬬紪杈戞枃妗� - * @param signature - * @param formData - */ - function planEditDocument() { - if (readOnly != 1) { - - $.post("/lx/api/office/document-edit-plan/v1", { - 'signature': signature, - 'formData': encodeURI(formData) - }, function (data, status) { - if (data && data.code == 200) { - setTimeout(openOffice, 500) - } else { - if (data.code == '90043') { - WebMenubar(false); - if (confirm(data.msg)) { - readOnly = 1 - planEditDocument() - } else { - customCloseWindow(); - } - return; - } - //璁″垝缂栬緫鏂囨。閿欒 - console.error(data ? data.msg : '璇锋眰閿欒') - alert('鎵撳紑鏂囨。閿欒锛岃鑱旂郴绯荤粺绠$悊鍛�!') - } - - }, 'json'); - - } else { - //鍙 - setTimeout(openOffice, 500) - } - - - } - - window.onload = function () { - - $.ajaxSettings.async = false; - WebTitlebar(false) - WebMenubar(true); - signature = [[${signature}]]; - let data = JSON.parse([[${requestParaTemp}]]); - if (!data.fileType) { - alert('鏂囦欢绫诲瀷鑾峰彇澶辫触') - return; - } - formData = JSON.stringify(data); - readOnly = (String(data.readOnly) != undefined && String(data.readOnly) != '' && String(data.readOnly) != null) ? String(data.readOnly) : 1 - fileType = data.fileType; - setMenu(); - planEditDocument() - - } - /** - * 鑷姩淇濆瓨鏍囪瘑 - * @type {null} - */ - var autoSaveStatus = null; - - /** - * 鑷姩淇濆瓨 - */ - function autoSave() { - if (readOnly == 1 || autoSaveStatus === false) { - return; - } - - autoSaveStatus = true; - //姣�30绉掕嚜鍔ㄤ繚瀛樹竴娆� - setTimeout(function () { - customSave(); - autoSave(); - }, 30000) - } - - window.close = function () { - window.opener = null; - window.open("", "_self"); - window.close(); - } - - function cutArray(array, subLength) { - let count = 1; - let newArr = []; - let resultArr = []; - if (array.length < subLength) { - return [array]; - } - array.forEach(function (item) { - newArr.push(item); - if (count % subLength == 0) { - resultArr.push(newArr); - newArr = []; - } - if (count == array.length - 1) { - resultArr.push(newArr); - } - count++; - }); - return resultArr; - } - - function setMenu() { - getOffice() - var menuCount = Array.isArray(nestRedDocument) && nestRedDocument.length > 0 ? (Math.ceil(nestRedDocument.length / 10)) + 2 : 2 - WebOffice.SetMenuName(0, '淇濆瓨');//淇敼鏂囦欢鑿滃崟鍚嶇О涓猴細鏂板缓鏂囦欢 - WebOffice.CustomMenuCount = menuCount;//璁剧疆鏂板鐨勮彍鍗曚釜鏁� - WebOffice.SetMenuName(1, '淇濆瓨骞跺叧闂�'); - WebOffice.SetMenuName(2, '鍏抽棴'); - // WebOffice.SetMenuName(3, '鍏抽棴鑷姩淇濆瓨'); - if (menuCount > 2) { - for (let i = 0; i < Math.ceil(nestRedDocument.length / 10); i++) { - WebOffice.SetMenuName(i + 3, '濂楃孩' + (i > 0 ? (i + 1) : '')); - } - } - - setTimeout(function () { - if (Array.isArray(nestRedDocument) && nestRedDocument.length > 0) { - let array = cutArray(nestRedDocument, 10); - for (let i = 0; i < array.length; i++) { - var group = array[i]; - for (let j = 0; j < group.length; j++) { - var e = group[j]; - WebOffice.WebAddMenuItem(3 + i, e.title, "5" + (3 + i) + "0" + (j == 9 ? '10' : '0' + (j + 1))) - } - } - } - WebOffice.WebClearMenuItem(0);//娓呴櫎鎺т欢榛樿鏂囦欢鑿滃崟閲岀殑鎵�鏈夊瓙椤� - }, 1500) - } - - function customSave() { - var strSaveUrl = saveFileApi; - try { - WebOffice.HttpInit(); - var signature = [[${signature}]]; - let data = JSON.parse([[${requestParaTemp}]]); - var formData = JSON.stringify(data); - WebOffice.HttpAddPostString('signature', signature); - WebOffice.HttpAddPostString('~table~', 'product_sys_attachments'); - WebOffice.HttpAddPostString('formData', formData); - WebOffice.HttpAddPostCurrFile("docfile", "");//姝ゅ彞涓哄浐瀹氳鍙ワ紝涓嶇鏄繚瀛榳ord杩樻槸excel,ppt绛夐兘杩欐牱鍐� - - //strResults鐢ㄤ簬鑾峰緱缃戦〉鎻愪氦鍚庣殑杩斿洖鏁版嵁锛屽彲鐢ㄤ互璋冭瘯鏈嶅姟鍣ㄧ浠g爜銆� - var strResults = WebOffice.HttpPost(strSaveUrl); - console.log(strResults) - if (strResults) { - var res = JSON.parse(strResults); - if (res && res.code != 200) { - if (res.code == "90021" || res.code == '90044') { - autoSaveStatus = false; - alert(res.msg); - customCloseWindow(); - return; - } - alert(res.msg); - } - // alert(strResults) - // JSON.parse() - } - // alert(strResults);//鐢╝lert璇彞鍙互鏄剧ず鏈嶅姟鍣ㄧ缃戦〉杩斿洖鐨勬暟鎹� - // strResults;//濡傛灉淇濆瓨鎴愬姛锛岀紪绋嬫椂璁╂湇鍔″櫒鎺ユ敹浠g爜濡倁pload.jsp,upload.aspx,upload.php绛夎繑鍥炵┖鍊兼垨OK瀛椾覆銆� - } catch (e) { - console.error(e); - alert('鍙戠敓閿欒锛佽浣跨敤鏌ラ槄杩斿洖鍊硷紒'); - } - } - - function customSaveClose() { - customSave() - customCloseWindow() - } - - function customCloseWindow() { - window.opener = null; - window.open("", "_self"); - window.close(); - } - - /** - * 璁剧疆褰撳墠鐢ㄦ埛鍚嶇О 锛坵ps 娴嬭瘯濂藉儚鏃犳晥锛� - */ - function setCurrentUserName() { - getOffice().SetCurrUserName([[${user_name}]]) - } - - - function getOffice() { - if (!WebOffice) { - WebOffice = document.getElementById('WebOffice'); - } - return WebOffice; - } - - /** - * 鏍囬鏍� - * @param e - * @constructor - */ - function WebTitlebar(e) { - getOffice().Titlebar = e - } - - /** - * 鑿滃崟鏍� - * @param e - * @constructor - */ - function WebMenubar(e) { - getOffice().MenuBars = e; - } - - /** - * 宸ュ叿鏍� - * @param e - * @constructor - */ - function WebToolbar(e) { - getOffice().Toolbars = e - } - - /** - * 濂楃孩鏂囨。 - */ - function nestRedDocumentInsert(menuId) { - if (!menuId) { - return; - } - - try { - var data; - try { - var groupId = parseInt(menuId.substring(1, 2)) - 3; - var menuItemCount = parseInt(menuId.substring(menuId.length - 2)); - var index = (groupId * 10) + menuItemCount - 1 - data = nestRedDocument[index]; - } catch (e) { - return; - } - if (!data) { - return; - } - if (confirm("濂楃孩鍚庢枃妗e皢鑷姩淇濆瓨锛屾槸鍚︾户缁紵")) { - WebOffice.HttpInit(); - WebOffice.HttpAddPostString('signature', data.signature); - // WebOffice.HttpAddPostString('~table~', 'product_sys_attachments'); - WebOffice.HttpAddPostString('formData', data.formJson); - WebOffice.HttpAddPostCurrFile("docfile", "");//姝ゅ彞涓哄浐瀹氳鍙ワ紝涓嶇鏄繚瀛榳ord杩樻槸excel,ppt绛夐兘杩欐牱鍐� - - //strResults鐢ㄤ簬鑾峰緱缃戦〉鎻愪氦鍚庣殑杩斿洖鏁版嵁锛屽彲鐢ㄤ互璋冭瘯鏈嶅姟鍣ㄧ浠g爜銆� - var strResults = WebOffice.HttpPost(nestFileApi); - openOffice(); - } - // console.log(data.signature, data.formJson) - // WebOffice.InSertFile(nestFileApi + "?location=1&formData=" + (encodeURI(data.formJson)) + "&signature=" + data.signature, 1) - // if (data.document_template_tail) { - // WebOffice.InSertFile(nestFileApi + "?location=2&formData=" + (encodeURI(data.formJson)) + "&signature=" + data.signature, 2) - // } - } catch (e) { - console.error(e); - alert('濂楃孩澶辫触锛屾湭鐭ラ敊璇�') - } - - } - - -</script> -<script language="javascript" for="WebOffice" event="OnMenuCommand(param1,param2)"> - - switch (param1) { - case 50100: - //鎺т欢鑿滃崟鐨勭涓�涓爣棰樻槸鍥哄畾鍊硷細50100,绗簩涓槸锛�50101,绗笁涓�50102锛屼緷娆$被鎺紝涓�鍏辨敮鎸佹渶澶�20涓�硷紝鍗虫渶鍚庝竴涓�间负锛�50120 - // alert('鎮ㄧ偣鍑讳簡绗竴涓彍鍗�'); - customSave() - break; - case 50101: - customSaveClose() - break; - case 50102: - customCloseWindow() - break; - // case 50103: - // if (typeof autoSaveStatus == 'boolean') { - // autoSaveStatus = !autoSaveStatus - // getOffice().SetMenuName(3, autoSaveStatus ? '鍏抽棴' : '寮�鍚�' + '鑷姩淇濆瓨'); - // } - // break; - default: - var p = String(param1) - if (p.indexOf("50") != 0) { - //濂楃孩 - nestRedDocumentInsert(p) - } - - } -</script> -</html> diff --git a/resources/LicenseKey.dat b/resources/LicenseKey.dat deleted file mode 100644 index 895186d..0000000 --- a/resources/LicenseKey.dat +++ /dev/null @@ -1 +0,0 @@ -87A2F619F42DA317C625BFB907E7D4299A7B277026DF795CE64BC91918460FE0330187884F421E4E1D9BDE9995CADC6B265DA8F0CE39722AA22AEBE2FA47CAA9D2507E31657ADFD73E6820DDD35D6D13AC98EAB1B3D644E1BAB21CA847B14348EE00E95ED50A8DC21387348CC21E1563261A4398B171F75DFB88DD89D27DF70F8776201EDC5B2CAF1D5004706495D6E50817E22A3C635E7A4E287D7F5634506F30F93435F06C69AB21C05B91D145415DF7EF820D4543DA3C57B983FD22998124AA815F042939B9A12472BCA296A827915A65F4C105996FA7F0346C7BA20F5580FF5C823C0B5E2A08AA4DCE9F83BC215F4A77AB104FC556D74789911C7D0FECEE868A1F89226B8F38F671D91B4ED080F3BC4CCAF6BA9056FB00533C81733D3B94DED016C547F474D9B0C324178F281174995EEFCD394B707AED1BF2A3177DF378B9D6F397557E297918C3F5A2E14D48C8FF53C0B1FF11CDC8B2E6237623DFC034344EDE31618594D2B571A6591F85707AAE5315A9D546B63E94C56C9FFE946623 \ No newline at end of file -- Gitblit v1.9.2