1.移除无用improt
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
package vvpkassistant.common;
|
||||
|
||||
/**
|
||||
* 自定义错误码
|
||||
*
|
||||
* @author <a href="https://github.com/liyupi">程序员鱼皮</a>
|
||||
* @from <a href="https://yupi.icu">编程导航知识星球</a>
|
||||
*/
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum ErrorCode {
|
||||
|
||||
SUCCESS(0, "ok"),
|
||||
|
||||
@@ -3,12 +3,7 @@ package vvpkassistant.exception;
|
||||
|
||||
import vvpkassistant.common.ErrorCode;
|
||||
|
||||
/**
|
||||
* 自定义异常类
|
||||
*
|
||||
* @author <a href="https://github.com/liyupi">程序员鱼皮</a>
|
||||
* @from <a href="https://yupi.icu">编程导航知识星球</a>
|
||||
*/
|
||||
|
||||
public class BusinessException extends RuntimeException {
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,8 +4,8 @@ spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
username: root
|
||||
password: wfn53400
|
||||
url: jdbc:mysql://mysql.text.zhukeping.com:3326/vv_assistant?allowMultiQueries=true
|
||||
password: 123asd
|
||||
url: jdbc:mysql://localhost:3306/vv_assistant?allowMultiQueries=true
|
||||
|
||||
|
||||
chat:
|
||||
|
||||
Reference in New Issue
Block a user