Commit fb5d1c53 by zhouhaibao
2 parents fd98eb98 bd0f6f5a
...@@ -18,6 +18,8 @@ import org.springframework.web.bind.annotation.GetMapping; ...@@ -18,6 +18,8 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.Objects;
/** /**
* @Title: * @Title:
* @Description: * @Description:
...@@ -53,7 +55,7 @@ public class ParamSettingController extends BaseController { ...@@ -53,7 +55,7 @@ public class ParamSettingController extends BaseController {
log.info("充电桩工作参数设置响应 {}", rsp); log.info("充电桩工作参数设置响应 {}", rsp);
if (rsp.getData().getResult() == 1) { if (Objects.nonNull(rsp) && rsp.getData().getResult() == 1) {
return Result.success("成功"); return Result.success("成功");
} else { } else {
return Result.failure(); return Result.failure();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!