mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-11-29 18:37:49 +08:00
修复部分错误之处
This commit is contained in:
parent
8c2ff8be9a
commit
9c828ccddc
@ -184,6 +184,12 @@
|
|||||||
<!-- help 按钮 -->
|
<!-- help 按钮 -->
|
||||||
<div class="help-btn">技术求助</div>
|
<div class="help-btn">技术求助</div>
|
||||||
|
|
||||||
|
<!-- ew-wa -->
|
||||||
|
<div class="ew-wa">
|
||||||
|
<p>如果 Sa-Token 帮助到了你,希望你可以向同事、朋友推荐了解本框架,这对我们非常重要,感谢支持! <!-- 🤗 --> </p>
|
||||||
|
<p>加油,工程师!</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -37,14 +37,14 @@ public @interface CheckAccount {
|
|||||||
|
|
||||||
#### 1.2、第二步,创建注解处理器
|
#### 1.2、第二步,创建注解处理器
|
||||||
|
|
||||||
实现 `SaAnnotationAbstractHandler` 接口,指定泛型为刚才自定义的注解
|
实现 `SaAnnotationHandlerInterface` 接口,指定泛型为刚才自定义的注解
|
||||||
|
|
||||||
``` java
|
``` java
|
||||||
/**
|
/**
|
||||||
* 注解 CheckAccount 的处理器
|
* 注解 CheckAccount 的处理器
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class CheckAccountHandler implements SaAnnotationAbstractHandler<CheckAccount> {
|
public class CheckAccountHandler implements SaAnnotationHandlerInterface<CheckAccount> {
|
||||||
|
|
||||||
// 指定这个处理器要处理哪个注解
|
// 指定这个处理器要处理哪个注解
|
||||||
@Override
|
@Override
|
||||||
@ -156,7 +156,7 @@ public @interface SaUserCheckLogin {
|
|||||||
* 注解 SaUserCheckLogin 的处理器
|
* 注解 SaUserCheckLogin 的处理器
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class SaUserCheckLoginHandler implements SaAnnotationAbstractHandler<SaUserCheckLogin> {
|
public class SaUserCheckLoginHandler implements SaAnnotationHandlerInterface<SaUserCheckLogin> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Class<SaUserCheckLogin> getHandlerAnnotationClass() {
|
public Class<SaUserCheckLogin> getHandlerAnnotationClass() {
|
||||||
|
@ -453,6 +453,9 @@ body {
|
|||||||
.help-btn:hover{box-shadow: 0 0 20px #D1EEE1 !important;}
|
.help-btn:hover{box-shadow: 0 0 20px #D1EEE1 !important;}
|
||||||
.xiaozhushou-intro p{line-height: 16px;}
|
.xiaozhushou-intro p{line-height: 16px;}
|
||||||
|
|
||||||
|
/* ew-wa */
|
||||||
|
.ew-wa{ margin-top: 14px; line-height: 18px; color: #aaa; }
|
||||||
|
|
||||||
/* 按钮发光动画 */
|
/* 按钮发光动画 */
|
||||||
/* .help-btn{animation: helpbtnanimation 3s infinite;}
|
/* .help-btn{animation: helpbtnanimation 3s infinite;}
|
||||||
@keyframes helpbtnanimation{
|
@keyframes helpbtnanimation{
|
||||||
@ -494,4 +497,4 @@ body {
|
|||||||
}
|
}
|
||||||
.main-box .alert.flat.note{background-color: #E8F4FF;}
|
.main-box .alert.flat.note{background-color: #E8F4FF;}
|
||||||
.main-box .alert.flat.tip{background-color: #F0F9EB;}
|
.main-box .alert.flat.tip{background-color: #F0F9EB;}
|
||||||
.main-box .alert.flat.warning{background-color: #FDF6EC;}
|
.main-box .alert.flat.warning{background-color: #FDF6EC;}
|
||||||
|
Loading…
Reference in New Issue
Block a user