Browse Source

Merge remote-tracking branch 'remotes/origin/dev' into release

master
jianjun 5 years ago
parent
commit
05ace56f1f
  1. 2
      epmet-openapi/epmet-openapi-scan/deploy/docker-compose-dev.yml
  2. 2
      epmet-openapi/epmet-openapi-scan/pom.xml
  3. 4
      epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/support/param/TextScanParam.java

2
epmet-openapi/epmet-openapi-scan/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services:
epmet-openapi-scan:
container_name: epmet-openapi-scan-dev
image: 192.168.1.130:10080/epmet-cloud-dev/epmet-openapi-scan:0.3.9
image: 192.168.1.130:10080/epmet-cloud-dev/epmet-openapi-scan:0.3.10
ports:
- "8107:8107"
network_mode: host # 不会创建新的网络

2
epmet-openapi/epmet-openapi-scan/pom.xml

@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>0.3.9</version>
<version>0.3.10</version>
<artifactId>epmet-openapi-scan</artifactId>
<packaging>jar</packaging>

4
epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/support/param/TextScanParam.java

@ -26,14 +26,14 @@ public class TextScanParam implements Serializable {
*
* @see com.epmet.openapi.scan.common.enu.ImgSceneEnum;
*/
@Valid
@NotEmpty(message = "任务列表不能为空")
private List<String> scenes;
/**
* 要检测的内容列表必填
* remark一组任务列表中的taskId不能相同
*/
@Valid
@NotEmpty(message = "任务列表不能为空")
private List<TextTask> tasks;
/**

Loading…
Cancel
Save