fix(接口测试): 修复POI和TIKA冲突问题
--bug=1023164 --user=赵勇 【接口定义】github#21820,请求体中使用word文件,点击调试后,没有内容返回 https://www.tapd.cn/55049933/s/1337167
This commit is contained in:
parent
ec570da638
commit
0000805db6
|
@ -16,6 +16,20 @@
|
|||
<groupId>io.metersphere</groupId>
|
||||
<artifactId>sdk</artifactId>
|
||||
<version>${revision}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>poi</artifactId>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>poi-ooxml-schemas</artifactId>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.metersphere</groupId>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
package io.metersphere.api.parse;
|
||||
|
||||
import io.metersphere.api.dto.ApiTestImportRequest;
|
||||
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
public interface ApiImportParser<T> {
|
||||
T parse(InputStream source, ApiTestImportRequest request) throws IOException, InvalidFormatException, Exception;
|
||||
T parse(InputStream source, ApiTestImportRequest request) throws IOException, Exception;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue