版本规整V7

This commit is contained in:
xiaocp2009 2025-09-08 09:04:05 +08:00
parent 2179577540
commit 500a5f96eb
2 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
pnpm > 10.5.0
pnpm > 10.5.0
node > 20 ,我本地使用的24.3.0
node可以通过nvm升级, 最新版本nvm install node
@ -38,12 +38,12 @@ pnpm build
1、cd dist
2、mkdir WEB-INF
2、mkdir WEB-INF 增加WEB-INF目录及web.xml,否则中间件无法成功识别
3、touch web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
@ -56,5 +56,6 @@ pnpm build
</web-app>
4、jar -cvf mps-vue.war *
5、将war复制到tongweb安装目录
4、cd dist
5、jar -cvf mps-vue.war *
6、将war复制到tongweb安装目录

View File

@ -20,11 +20,11 @@ public class DromaraApplication {
application.setApplicationStartup(new BufferingApplicationStartup(2048));
application.run(args);
System.out.println("mps started successfully!");
TEST();
//TEST();
}
//方便测试,后续删掉
public static void TEST() {
/*public static void TEST() {
PooledPBEStringEncryptor encryptor = new PooledPBEStringEncryptor();
SimpleStringPBEConfig config = new SimpleStringPBEConfig();
@ -46,6 +46,6 @@ public class DromaraApplication {
// 如需解密验证可使用下面一行
// System.out.println("Decrypted: " + encryptor.decrypt(encryptedText));
}
}*/
}