Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
ada061ec
Commit
ada061ec
authored
Jan 11, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/origin/feature/上传接口替换' into developer
parents
9ce0c03e
56cc31ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
60 deletions
+1
-60
pom.xml
haoban-manage3-service/pom.xml
+1
-1
UploadUtils.java
...m/gic/haoban/manage/web/utils/statistics/UploadUtils.java
+0
-59
No files found.
haoban-manage3-service/pom.xml
View file @
ada061ec
...
...
@@ -171,7 +171,7 @@
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
gic-thirdparty-sdk
</artifactId>
<version>
3.0-SNAPSHOT
</version>
<version>
${gic-thirdparty-sdk}
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/utils/statistics/UploadUtils.java
deleted
100644 → 0
View file @
9ce0c03e
//package com.gic.haoban.manage.web.utils.statistics;
//
///**
// * @Author jinxin
// * @Date 2022/12/27 09:23
// * 文件上传工具类
// */
//public class UploadUtils {
// /**
// * 是否是图片
// * @param fileSuffix
// * @return
// * @throws Exception
// */
// public static boolean isPicture(String fileSuffix) throws Exception{
// //pdf 隐私文件,小程序端,只能用这个
// String[] imageArray =
// {"bmp", "dib","gif", "jfif", "jpe","jpeg", "jpg", "png", "tif", "tiff", "ico", "10", "pdf"};
// for (String str : imageArray) {
// if (str.equals(fileSuffix.replace(".", ""))) {
// return true;
// }
// }
// return false;
// }
//
// public static boolean isOffice(String fileSuffix) throws Exception{
// String[] arr =
// {"doc", "docx","xls", "xlsx", "pptx", "ppt"};
// for (String str : arr) {
// if (str.equals(fileSuffix.replace(".", ""))) {
// return true;
// }
// }
// return false;
// }
//
// public static boolean isMusic(String fileSuffix) throws Exception{
// String[] arr =
// {"wma", "mpc","ogg", "wav", "mpeg", "mp3"};
// for (String str : arr) {
// if (str.equals(fileSuffix.replace(".", ""))) {
// return true;
// }
// }
// return false;
// }
//
// public static boolean isVedio(String fileSuffix) throws Exception{
// String[] arr =
// {"rm", "rmvb","mp4", "wmv", "asf", "asx", "3gp", "mov", "m4v", "avi", "dat", "mkv", "flv", "vob"};
// for (String str : arr) {
// if (str.equals(fileSuffix.replace(".", ""))) {
// return true;
// }
// }
// return false;
// }
//}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment