diff --git a/service-configuration/src/main/java/com/lanyuanxiaoyao/service/configuration/entity/AmisResponse.java b/service-configuration/src/main/java/com/lanyuanxiaoyao/service/configuration/entity/AmisResponse.java index 64a1b79..1356669 100644 --- a/service-configuration/src/main/java/com/lanyuanxiaoyao/service/configuration/entity/AmisResponse.java +++ b/service-configuration/src/main/java/com/lanyuanxiaoyao/service/configuration/entity/AmisResponse.java @@ -1,5 +1,6 @@ package com.lanyuanxiaoyao.service.configuration.entity; +import java.util.HashMap; import java.util.Map; /** @@ -64,7 +65,7 @@ public class AmisResponse { public static final class Builder { private Integer status = 0; private String message = ""; - private Map data; + private Map data = new HashMap<>(); private Builder() { }