From c4b85c21d8bee8fef671ec8f5e3957fd88a37f88 Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期四, 12 十二月 2024 16:49:29 +0800 Subject: [PATCH] 小程序登录方法demo --- pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java b/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java index 64d0dda..245bb9f 100644 --- a/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java +++ b/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java @@ -21,11 +21,11 @@ } public static BaseResponse buildToLogin(){ - return buildResult(ResultCodeMsg.RsCode.TOLOGIN_CODE, ResultCodeMsg.RsMsg.TOLOGIN_MESSAGE, null); + return buildResult(ResultCodeMsg.RsCode.TOLOGIN_CODE, ResultCodeMsg.RsMsg.TOLOGIN_MESSAGE, ResultCodeMsg.RsMsg.TOLOGIN_MESSAGE); } public static BaseResponse buildNoPower(){ - return buildResult(ResultCodeMsg.RsCode.NOPOWER_CODE, ResultCodeMsg.RsMsg.NOPOWER_MESSAGE, null); + return buildResult(ResultCodeMsg.RsCode.NOPOWER_CODE, ResultCodeMsg.RsMsg.NOPOWER_MESSAGE, ResultCodeMsg.RsMsg.NOPOWER_MESSAGE); } public static BaseResponse buildException(String message){ -- Gitblit v1.8.0