From 250e02f238b2853bb47b02c1e7d31297c036fa33 Mon Sep 17 00:00:00 2001 From: ptlyu29vw Date: Sun, 15 May 2022 19:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/Constants.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 common/Constants.java diff --git a/common/Constants.java b/common/Constants.java new file mode 100644 index 0000000..6c6d19c --- /dev/null +++ b/common/Constants.java @@ -0,0 +1,17 @@ +package com.imut.common; + +public interface Constants { + + String CODE_200 = "200"; //成功 + String CODE_401 = "401"; // 权限不足 + String CODE_400 = "400"; // 参数错误 + String CODE_500 = "500"; // 系统错误 + String CODE_600 = "600"; // 其他业务异常 + String dict_type = "icon"; + + String role_admin = "admin"; + String role_user = "user"; + + } + +