Browse Source

测试maven部署

dev-lhz
chenzhihang 1 year ago
parent
commit
8449b9256e
2 changed files with 0 additions and 12 deletions
  1. +0
    -6
      ruoyi-modules/management-platform/pom.xml
  2. +0
    -6
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java

+ 0
- 6
ruoyi-modules/management-platform/pom.xml View File

@@ -242,12 +242,6 @@
<artifactId>jedis</artifactId>
<version>3.6.0</version>
</dependency>

<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.5</version>
</dependency>
</dependencies>

<build>


+ 0
- 6
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java View File

@@ -1,6 +1,5 @@
package com.ruoyi.platform.service.impl;

import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
@@ -1216,9 +1215,4 @@ public class ModelsServiceImpl implements ModelsService {
modelMetaVo.setMetrics(result);
}

void test(){
String str = "Hello, Hutool!";
System.out.println(StrUtil.isEmpty(str)); // 判断字符串是否为空
System.out.println(StrUtil.sub(str, 0, 5));
}
}

Loading…
Cancel
Save