diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryTokenController.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryTokenController.java index 5ebd15d1..a706425e 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryTokenController.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryTokenController.java @@ -87,6 +87,8 @@ public class QueryTokenController { resp.setMsg("Query token success"); resp.setData(JSONUtil.toJSONString(tokenResponse)); } + } else { + resp.setMsg("Cooperation settings or start time not valid"); } return resp; }