Unverified Commit cbed39e0 authored by zhu-mingye's avatar zhu-mingye Committed by GitHub

[Feature] change dinky-web for main #2188

parent 7f4362c2
......@@ -38,6 +38,12 @@ dlink-web/node_modules/*
dlink-web/node/*
dlink-web/dist/*
dlink-web/.mfsu-production
dinky-web/node_modules/*
dinky-web/node/*
dinky-web/dist/*
dinky-web/.mfsu-production
dinky-admin/src/main/resources/static/*
dinky-admin/tmp/*
dependency-reduced-pom.xml
......
......@@ -424,7 +424,7 @@
<overwrite>true</overwrite>
<resources>
<resource>
<directory>../dlink-web/dist</directory>
<directory>../dinky-web/dist</directory>
</resource>
</resources>
</configuration>
......
......@@ -124,13 +124,11 @@ mybatis-plus:
#################################################################################################################
# Sa-Token basic configuration
sa-token:
# token name (also cookie name)
token-name: satoken
# The validity period of the token, the unit is 10 hours by default, -1 means it will never expire
timeout: 36000
# The temporary validity period of the token (the token will be considered as expired if there is no operation within the specified time)
# unit: second
active-timeout: -1
# unit: second , if you do not need to set a temporary token, you can set it to -1
active-timeout: 1800
# Whether to allow the same account to log in concurrently (when true, allow login together, when false, new login squeezes out old login)
is-concurrent: false
# When multiple people log in to the same account, whether to share a token (if true, all logins share a token, and if false, create a new token for each login)
......@@ -143,6 +141,10 @@ sa-token:
is-print: false
# The secret key
jwt-secret-key: 0DA4198858E84F1AADDF846340587A85
# is write header
is-write-header: true
# is read header
is-read-header: true
#################################################################################################################
......
......@@ -37,7 +37,7 @@
<profile>
<id>web</id>
<modules>
<module>../dlink-web</module>
<module>../dinky-web</module>
<module>../dinky-web-flink</module>
</modules>
</profile>
......
<?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.dinky</groupId>
<artifactId>dinky</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>dlink-web</artifactId>
<packaging>pom</packaging>
<name>Dinky : Dlink-Web</name>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<!-- 调用npm命令插件 -->
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.12.0</version>
<configuration>
<nodeVersion>v14.17.0</nodeVersion>
<npmVersion>7.19.0</npmVersion>
<!-- 国内node下载加速 -->
<!--<nodeDownloadRoot>https://mirrors.huaweicloud.com/nodejs/</nodeDownloadRoot>-->
<!--<npmDownloadRoot>https://repo.huaweicloud.com/npm-software/</npmDownloadRoot>-->
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<!-- 国内npm源加速可在后面加入(去掉空格) - -registry https://repo.huaweicloud.com/repository/npm/ -->
<arguments>install --force</arguments>
</configuration>
</execution>
<execution>
<id>npm run build</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment