From 129bc8f0c9bce0306aa99fafde97689f645dbbb5 Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期三, 20 一月 2021 09:39:30 +0800 Subject: [PATCH] finish basic jwt func --- src/main/java/com/whyc/dto/Response.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/dto/Response.java b/src/main/java/com/whyc/dto/Response.java index 6bdf1bf..c088fab 100644 --- a/src/main/java/com/whyc/dto/Response.java +++ b/src/main/java/com/whyc/dto/Response.java @@ -46,6 +46,12 @@ return this; } + public Response<T> set(Integer code,String msg) { + this.code = code; + this.msg = msg; + return this; + } + public Integer getCode() { return code; } -- Gitblit v1.9.1