From 80b6cbfc9c861469146318d0b3dd5f8b8b525b8a Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期五, 01 十一月 2024 15:11:19 +0800
Subject: [PATCH] Revert "集成获取mdm分发通用数据格式接口集成"

---
 Source/BladeX-Tool/blade-core-tool/src/main/java/org/springblade/core/tool/constant/BladeConstant.java |  146 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 146 insertions(+), 0 deletions(-)

diff --git a/Source/BladeX-Tool/blade-core-tool/src/main/java/org/springblade/core/tool/constant/BladeConstant.java b/Source/BladeX-Tool/blade-core-tool/src/main/java/org/springblade/core/tool/constant/BladeConstant.java
new file mode 100644
index 0000000..37add9d
--- /dev/null
+++ b/Source/BladeX-Tool/blade-core-tool/src/main/java/org/springblade/core/tool/constant/BladeConstant.java
@@ -0,0 +1,146 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 搴勯獮 (smallchill@163.com)
+ */
+package org.springblade.core.tool.constant;
+
+/**
+ * 绯荤粺甯搁噺
+ *
+ * @author Chill
+ */
+public interface BladeConstant {
+
+	/**
+	 * 缂栫爜
+	 */
+	String UTF_8 = "UTF-8";
+
+	/**
+	 * contentType
+	 */
+	String CONTENT_TYPE_NAME = "Content-type";
+
+	/**
+	 * JSON 璧勬簮
+	 */
+	String CONTENT_TYPE = "application/json;charset=utf-8";
+
+	/**
+	 * 涓婁笅鏂囬敭鍊�
+	 */
+	String CONTEXT_KEY = "bladeContext";
+
+	/**
+	 * mdc request id key
+	 */
+	String MDC_REQUEST_ID_KEY = "requestId";
+
+	/**
+	 * mdc account id key
+	 */
+	String MDC_ACCOUNT_ID_KEY = "accountId";
+
+	/**
+	 * mdc tenant id key
+	 */
+	String MDC_TENANT_ID_KEY = "tenantId";
+
+	/**
+	 * 瑙掕壊鍓嶇紑
+	 */
+	String SECURITY_ROLE_PREFIX = "ROLE_";
+
+	/**
+	 * 涓婚敭瀛楁鍚�
+	 */
+	String DB_PRIMARY_KEY = "id";
+
+	/**
+	 * 涓婚敭瀛楁get鏂规硶
+	 */
+	String DB_PRIMARY_KEY_METHOD = "getId";
+
+	/**
+	 * 绉熸埛瀛楁鍚�
+	 */
+	String DB_TENANT_KEY = "tenantId";
+
+	/**
+	 * 绉熸埛瀛楁get鏂规硶
+	 */
+	String DB_TENANT_KEY_GET_METHOD = "getTenantId";
+
+	/**
+	 * 绉熸埛瀛楁set鏂规硶
+	 */
+	String DB_TENANT_KEY_SET_METHOD = "setTenantId";
+
+	/**
+	 * 涓氬姟鐘舵�乕1:姝e父]
+	 */
+	int DB_STATUS_NORMAL = 1;
+
+
+	/**
+	 * 鍒犻櫎鐘舵�乕0:姝e父,1:鍒犻櫎]
+	 */
+	int DB_NOT_DELETED = 0;
+	int DB_IS_DELETED = 1;
+
+	/**
+	 * 鐢ㄦ埛閿佸畾鐘舵��
+	 */
+	int DB_ADMIN_NON_LOCKED = 0;
+	int DB_ADMIN_LOCKED = 1;
+
+	/**
+	 * 椤剁骇鐖惰妭鐐筰d
+	 */
+	Long TOP_PARENT_ID = 0L;
+
+	/**
+	 * 椤剁骇鐖惰妭鐐瑰悕绉�
+	 */
+	String TOP_PARENT_NAME = "椤剁骇";
+
+	/**
+	 * 绠$悊鍛樺搴旂殑绉熸埛ID
+	 */
+	String ADMIN_TENANT_ID = "000000";
+
+	/**
+	 * 鏃ュ織榛樿鐘舵��
+	 */
+	String LOG_NORMAL_TYPE = "1";
+
+	/**
+	 * 榛樿涓虹┖娑堟伅
+	 */
+	String DEFAULT_NULL_MESSAGE = "鏆傛棤鎵胯浇鏁版嵁";
+	/**
+	 * 榛樿鎴愬姛娑堟伅
+	 */
+	String DEFAULT_SUCCESS_MESSAGE = "鎿嶄綔鎴愬姛";
+	/**
+	 * 榛樿澶辫触娑堟伅
+	 */
+	String DEFAULT_FAILURE_MESSAGE = "鎿嶄綔澶辫触";
+	/**
+	 * 榛樿鏈巿鏉冩秷鎭�
+	 */
+	String DEFAULT_UNAUTHORIZED_MESSAGE = "绛惧悕璁よ瘉澶辫触";
+
+}

--
Gitblit v1.9.3