From f3cd78cd0355259a7f08cab33df69e0ac3a6850d Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期四, 26 五月 2022 18:12:27 +0800 Subject: [PATCH] mybatis时间转化文件 --- src/main/java/com/hz/util/http/dto/HttpHzResponse.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hz/util/http/dto/HttpHzResponse.java b/src/main/java/com/hz/util/http/dto/HttpHzResponse.java index 2751732..9eb077e 100644 --- a/src/main/java/com/hz/util/http/dto/HttpHzResponse.java +++ b/src/main/java/com/hz/util/http/dto/HttpHzResponse.java @@ -17,6 +17,14 @@ /**璇锋眰杩斿洖鐘舵��-鎴愬姛*/ public static final String CODE_201 = "201"; + /**灏佽鏍¢獙璇锋眰鐮佹柟娉�*/ + public boolean checkRequesCode(){ + if(CODE_200.equals(code) || CODE_201.equals(code)){ + return true; + } + return false; + } + public String getCode() { return code; } -- Gitblit v1.8.0