diff --git a/pom.xml b/pom.xml
index 94b98ed7..b04080de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
com.dispose
phoenix_ddos_handle
- 2.0.1
+ 2.0.3
phoenix_ddos_handle
Dispose Platform
diff --git a/src/main/java/com/dispose/ability/impl/HuaWeiAbilityImpl.java b/src/main/java/com/dispose/ability/impl/HuaWeiAbilityImpl.java
index 8f422494..4fdf3ba8 100644
--- a/src/main/java/com/dispose/ability/impl/HuaWeiAbilityImpl.java
+++ b/src/main/java/com/dispose/ability/impl/HuaWeiAbilityImpl.java
@@ -1,8 +1,7 @@
package com.dispose.ability.impl;
-import com.dispose.ability.DisposeAbility;
-
import cn.hutool.http.HttpResponse;
+import com.dispose.ability.DisposeAbility;
import com.dispose.common.DisposeCapacityType;
import com.dispose.common.DisposeObjectType;
import com.dispose.common.ErrorCode;
@@ -22,6 +21,11 @@ import org.springframework.stereotype.Component;
import javax.annotation.Nullable;
import javax.servlet.http.HttpServletResponse;
+/**
+ * The type Hua wei ability.
+ *
+ * @author
+ */
@Component
@Slf4j
public class HuaWeiAbilityImpl implements DisposeAbility {
diff --git a/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java b/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java
index 1abc4609..ab5fa4e9 100644
--- a/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java
+++ b/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java
@@ -10,18 +10,18 @@ import org.springframework.web.bind.annotation.RequestMethod;
import javax.servlet.http.HttpServletResponse;
/**
- * The type Hua Wei interface.
+ * The type Hua wei interface.
*
- * @author
+ * @author
*/
public class HuaWeiInterface {
/**
- * Login protocol resp dto.
+ * Auth http response.
*
* @param baseUrlPath the base url path
* @param username the username
* @param password the password
- * @return the http resp
+ * @return the http response
*/
public HttpResponse auth(String baseUrlPath, String username, String password) {
return RestfulInterface.huaWeiProRun(baseUrlPath + "/auth",
@@ -32,12 +32,12 @@ public class HuaWeiInterface {
/**
- * create divert protocol resp dto.
+ * Create divert error code.
*
* @param baseUrlPath the base url path
* @param token the token
- * @param zone_ip zone ip
- * @return the delete zone status
+ * @param zone_ip the zone ip
+ * @return the error code
*/
public ErrorCode createDivert(String baseUrlPath, String token, String[] zone_ip) {
//获取HTTP部分
@@ -65,11 +65,11 @@ public class HuaWeiInterface {
/**
- * delete divert protocol resp dto.
+ * Delete zones error code.
*
* @param baseUrlPath the base url path
* @param token the token
- * @return the delete zone status
+ * @return the error code
*/
public ErrorCode deleteZones(String baseUrlPath, String token) {
//获取HTTP部分
@@ -96,11 +96,11 @@ public class HuaWeiInterface {
}
/**
- * query all zones protocol resp dto.
+ * Query all zones http response.
*
* @param baseUrlPath the base url path
* @param token the token
- * @return the http resp
+ * @return the http response
*/
public HttpResponse queryAllZones(String baseUrlPath, String token) {
return RestfulInterface.huaWeiProRun(baseUrlPath,