Skip to content

Commit 7ee05f3

Browse files
Merge pull request #67 from geekidea/dev
🇨🇳 1.3.0.RELEASE shiro+jwt
2 parents 5f63164 + 74a5163 commit 7ee05f3

File tree

157 files changed

+763
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+763
-230
lines changed

docs/config/settings.xml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<!--
4-
Licensed to the Apache Software Foundation (ASF) under one
5-
or more contributor license agreements. See the NOTICE file
6-
distributed with this work for additional information
7-
regarding copyright ownership. The ASF licenses this file
8-
to you under the Apache License, Version 2.0 (the
9-
"License"); you may not use this file except in compliance
10-
with the License. You may obtain a copy of the License at
11-
12-
http://www.apache.org/licenses/LICENSE-2.0
13-
14-
Unless required by applicable law or agreed to in writing,
15-
software distributed under the License is distributed on an
16-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17-
KIND, either express or implied. See the License for the
18-
specific language governing permissions and limitations
19-
under the License.
20-
-->
4+
~ Copyright 2019-2029 geekidea(https://github.com/geekidea)
5+
~
6+
~ Licensed under the Apache License, Version 2.0 (the "License");
7+
~ you may not use this file except in compliance with the License.
8+
~ You may obtain a copy of the License at
9+
~
10+
~ http://www.apache.org/licenses/LICENSE-2.0
11+
~
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS,
14+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
~ See the License for the specific language governing permissions and
16+
~ limitations under the License.
17+
-->
2118

2219
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2320
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

pom.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright 2019-2029 geekidea(https://github.com/geekidea)
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
-->
3+
~ Copyright 2019-2029 geekidea(https://github.com/geekidea)
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
1717

1818
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1919
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

src/main/assembly/assembly.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright 2019-2029 geekidea(https://github.com/geekidea)
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
-->
3+
~ Copyright 2019-2029 geekidea(https://github.com/geekidea)
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
1717

1818
<assembly>
1919
<!-- 可自定义,这里指定的是项目环境 -->

src/main/java/io/geekidea/springbootplus/SpringBootPlusApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/aop/LogAop.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/api/ApiCode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/api/ApiController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/api/ApiResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/api/Assert.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constant/CacheKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constant/CommonConstant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constant/CommonRedisKey.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
3-
* <p>
3+
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
* <p>
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
* <p>
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/main/java/io/geekidea/springbootplus/common/constant/DatePattern.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/Email.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/EmailValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/EnumType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/EnumTypeValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/IdCard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/IdCardValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/Phone.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/constraints/PhoneValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/entity/BaseEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/enums/BaseTypeStateEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/exception/BusinessException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/exception/DaoException.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
3+
*
34
* Licensed under the Apache License, Version 2.0 (the "License");
45
* you may not use this file except in compliance with the License.
56
* You may obtain a copy of the License at
7+
*
68
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
710
* Unless required by applicable law or agreed to in writing, software
811
* distributed under the License is distributed on an "AS IS" BASIS,
912
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/main/java/io/geekidea/springbootplus/common/exception/GlobalErrorController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/exception/GlobalExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/exception/SpringBootPlusException.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
3+
*
34
* Licensed under the Apache License, Version 2.0 (the "License");
45
* you may not use this file except in compliance with the License.
56
* You may obtain a copy of the License at
7+
*
68
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
710
* Unless required by applicable law or agreed to in writing, software
811
* distributed under the License is distributed on an "AS IS" BASIS,
912
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/main/java/io/geekidea/springbootplus/common/exception/SysLoginException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/package-info.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
/**
2-
* 公共部分
3-
* @author geekidea
4-
* @date 2018-11-08
5-
*/
6-
/**
1+
/*
72
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
83
*
94
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,4 +14,9 @@
1914
* limitations under the License.
2015
*/
2116

17+
/**
18+
* 公共部分
19+
* @author geekidea
20+
* @date 2018-11-08
21+
*/
2222
package io.geekidea.springbootplus.common;

src/main/java/io/geekidea/springbootplus/common/service/BaseService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/service/impl/BaseServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/controller/ApiDocController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/controller/BaseController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/controller/IndexController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/filter/CrossDomainFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/filter/RequestPathFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/interceptor/PermissionInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/param/IdParam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/param/IdStatusParam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/param/NameParam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/param/OrderQueryParam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/param/QueryParam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/vo/CommonIdName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

src/main/java/io/geekidea/springbootplus/common/web/vo/Paging.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)