diff --git a/youlai-auth/src/main/java/com/youlai/auth/security/extension/captcha/CaptchaTokenGranter.java b/youlai-auth/src/main/java/com/youlai/auth/security/extension/captcha/CaptchaTokenGranter.java
index f82524c64..8caa09467 100644
--- a/youlai-auth/src/main/java/com/youlai/auth/security/extension/captcha/CaptchaTokenGranter.java
+++ b/youlai-auth/src/main/java/com/youlai/auth/security/extension/captcha/CaptchaTokenGranter.java
@@ -16,7 +16,7 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
- * 验证码授权模式 授权者
+ * 验证码授权模式授权者
*
* @author xianrui
* @date 2021/9/25
diff --git a/youlai-auth/src/main/java/com/youlai/auth/security/extension/mobile/SmsCodeTokenGranter.java b/youlai-auth/src/main/java/com/youlai/auth/security/extension/mobile/SmsCodeTokenGranter.java
index 47e845c93..65f44dd5d 100644
--- a/youlai-auth/src/main/java/com/youlai/auth/security/extension/mobile/SmsCodeTokenGranter.java
+++ b/youlai-auth/src/main/java/com/youlai/auth/security/extension/mobile/SmsCodeTokenGranter.java
@@ -14,13 +14,21 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
- * 手机验证码
+ * 手机验证码授权者
*
* @author xianrui
* @date 2021/9/25
*/
public class SmsCodeTokenGranter extends AbstractTokenGranter {
+ /**
+ * 声明授权者 CaptchaTokenGranter 支持授权模式 sms_code
+ * 根据接口传值 grant_type = sms_code 的值匹配到此授权者
+ * 匹配逻辑详见下面的两个方法
+ *
+ * @see org.springframework.security.oauth2.provider.CompositeTokenGranter#grant(String, TokenRequest)
+ * @see org.springframework.security.oauth2.provider.token.AbstractTokenGranter#grant(String, TokenRequest)
+ */
private static final String GRANT_TYPE = "sms_code";
private final AuthenticationManager authenticationManager;