1、修复了部分bug
2、优化了数据库sql文件 3、优化了部分文件
This commit is contained in:
@@ -750,4 +750,16 @@ public class CrmebUtil {
|
||||
Matcher matcher = pattern.matcher(str);
|
||||
return matcher.matches();
|
||||
}
|
||||
|
||||
//数组去重
|
||||
public static List<Integer> arrayUnique(Integer[] arr){
|
||||
List<Integer> list = new ArrayList<>();
|
||||
for (Integer integer : arr) {
|
||||
if (!list.contains(integer)) {
|
||||
list.add(integer);
|
||||
}
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user