diff --git a/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java b/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java index ab5fa4e9..7807454d 100644 --- a/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java +++ b/src/main/java/com/huawei/dispose/protocol/HuaWeiInterface.java @@ -36,14 +36,14 @@ public class HuaWeiInterface { * * @param baseUrlPath the base url path * @param token the token - * @param zone_ip the zone ip + * @param zoneIp the zone ip * @return the error code */ - public ErrorCode createDivert(String baseUrlPath, String token, String[] zone_ip) { + public ErrorCode createDivert(String baseUrlPath, String token, String[] zoneIp) { //获取HTTP部分 HttpResponse response = RestfulInterface.huaWeiProRun(baseUrlPath, token, - new HuaWeiCreatDivertReq(zone_ip), + new HuaWeiCreatDivertReq(zoneIp), RequestMethod.POST); if (response != null) {