diff --git a/pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/constant/ServiceNameConstants.java b/pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/constant/ServiceNameConstants.java index 8f69acbb..7cc87814 100644 --- a/pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/constant/ServiceNameConstants.java +++ b/pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/constant/ServiceNameConstants.java @@ -23,7 +23,7 @@ package com.pig4cloud.pig.common.core.constant; */ public interface ServiceNameConstants { /** - * 认证服务的SERVICEID(zuul 配置的对应) + * 认证服务的SERVICEID */ String AUTH_SERVICE = "pig-auth"; diff --git a/pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/exception/UnloginException.java b/pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/exception/UnloginException.java deleted file mode 100755 index 09737120..00000000 --- a/pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/exception/UnloginException.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2019-2020, 冷冷 (wangiegie@gmail.com). - *
- * Licensed under the GNU Lesser General Public License 3.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - *
- * https://www.gnu.org/licenses/lgpl.html - *
- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.pig4cloud.pig.common.core.exception; - -import lombok.NoArgsConstructor; - -/** - * @author lengleng - * @date 2018年06月22日16:22:10 - */ -@NoArgsConstructor -public class UnloginException extends RuntimeException { - private static final long serialVersionUID = 1L; - - public UnloginException(String message) { - super(message); - } - - public UnloginException(Throwable cause) { - super(cause); - } - - public UnloginException(String message, Throwable cause) { - super(message, cause); - } - - public UnloginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { - super(message, cause, enableSuppression, writableStackTrace); - } - -}