|
@@ -21,7 +21,6 @@ import com.wf.captcha.SpecCaptcha;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
-import lombok.AllArgsConstructor;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springblade.common.cache.CacheNames;
|
|
|
import org.springblade.core.cache.utils.CacheUtil;
|
|
@@ -29,7 +28,6 @@ import org.springblade.core.jwt.JwtUtil;
|
|
|
import org.springblade.core.jwt.props.JwtProperties;
|
|
|
import org.springblade.core.launch.constant.AppConstant;
|
|
|
import org.springblade.core.launch.constant.TokenConstant;
|
|
|
-import org.springblade.core.log.annotation.ApiLog;
|
|
|
import org.springblade.core.redis.cache.BladeRedis;
|
|
|
import org.springblade.core.secure.BladeUser;
|
|
|
import org.springblade.core.secure.utils.AuthUtil;
|
|
@@ -71,7 +69,7 @@ public class BladeTokenEndPoint {
|
|
|
@Value("${captcha.length}")
|
|
|
private Integer captchaLength;
|
|
|
|
|
|
- @ApiLog("登录用户验证")
|
|
|
+ //@ApiLog("登录用户验证")
|
|
|
@PostMapping("/oauth/token")
|
|
|
@ApiOperation(value = "获取认证令牌", notes = "传入租户ID:tenantId,账号:account,密码:password")
|
|
|
public Kv token(@ApiParam(value = "租户ID", required = true) @RequestParam String tenantId,
|
|
@@ -111,7 +109,7 @@ public class BladeTokenEndPoint {
|
|
|
return TokenUtil.createAuthInfo(userInfo);
|
|
|
}
|
|
|
|
|
|
- @ApiLog("登录用户验证")
|
|
|
+ //@ApiLog("登录用户验证")
|
|
|
@PostMapping("/oauth/tokenType")
|
|
|
@ApiOperation(value = "获取认证令牌", notes = "传入租户ID:tenantId,账号:account,密码:password")
|
|
|
public Kv tokenType(@ApiParam(value = "租户ID", required = true) @RequestParam String tenantId,
|