Merge branch 'master' of https://git.czcyedu.com/huoran/dqFinancial
commit
58a26d8951
18 changed files with 165 additions and 77 deletions
@ -0,0 +1,35 @@ |
|||||||
|
target/ |
||||||
|
logs/ |
||||||
|
.mvn/ |
||||||
|
mvnw |
||||||
|
mvnw.cmd |
||||||
|
!**/src/main/** |
||||||
|
!**/src/test/** |
||||||
|
|
||||||
|
src/main/resources/docs/ |
||||||
|
|
||||||
|
### STS ### |
||||||
|
.apt_generated |
||||||
|
.classpath |
||||||
|
.factorypath |
||||||
|
.project |
||||||
|
.settings |
||||||
|
.springBeans |
||||||
|
.sts4-cache |
||||||
|
|
||||||
|
### IntelliJ IDEA ### |
||||||
|
.idea |
||||||
|
*.iws |
||||||
|
*.iml |
||||||
|
*.ipr |
||||||
|
|
||||||
|
### NetBeans ### |
||||||
|
/nbproject/private/ |
||||||
|
/nbbuild/ |
||||||
|
/dist/ |
||||||
|
/nbdist/ |
||||||
|
/.nb-gradle/ |
||||||
|
build/ |
||||||
|
|
||||||
|
### VS Code ### |
||||||
|
.vscode/ |
@ -1,15 +1,16 @@ |
|||||||
package com.daqing.financial.gateway.util; |
package com.daqing.financial.gateway.exception; |
||||||
|
|
||||||
|
import com.daqing.financial.gateway.util.ResultCodeEnum; |
||||||
import lombok.Data; |
import lombok.Data; |
||||||
|
|
||||||
@Data |
@Data |
||||||
public class OdcException extends RuntimeException { |
public class DqException extends RuntimeException { |
||||||
|
|
||||||
private int code; |
private int code; |
||||||
|
|
||||||
private ResultCodeEnum resultCodeEnum; |
private ResultCodeEnum resultCodeEnum; |
||||||
|
|
||||||
public OdcException(ResultCodeEnum codeEnum) { |
public DqException(ResultCodeEnum codeEnum) { |
||||||
super(codeEnum.getRemark()); |
super(codeEnum.getRemark()); |
||||||
code = codeEnum.getCode(); |
code = codeEnum.getCode(); |
||||||
} |
} |
@ -1 +1 @@ |
|||||||
jwt.ignoreUrlList=/route-api/login,/route-api/refresh |
jwt.ignoreUrlList=/api/hrms/employee/list,/route-api/refresh |
Loading…
Reference in new issue