🐛 Fixing a bug.fix hikari cp conflict

This commit is contained in:
萌萌哒Sakura酱 committed 2019-04-06 21:35:30 +08:00
1 parent 2cf5293eb8
commit 92728eaaf8
2 files changed
+6 -3

No files matched your search

@@ -111,9 +111,6 @@ public class PigxTokenEndpoint {
@Inner
@DeleteMapping("/{token}")
public R<Boolean> delToken(@PathVariable("token") String token) {
if (token != null) {
throw new RuntimeException("lalalala");
}
OAuth2AccessToken oAuth2AccessToken = tokenStore.readAccessToken(token);
tokenStore.removeAccessToken(oAuth2AccessToken);
return new R<>();
+6
View File
@@ -38,6 +38,12 @@
<groupId>com.dangdang</groupId>
<artifactId>elastic-job-lite-core</artifactId>
<version>${elastic-job-lite.version}</version>
<exclusions>
<exclusion>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java7</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- import other module if need -->
<dependency>