mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 21:52:07 +08:00
token校验接口逻辑更改
This commit is contained in:
+2
@@ -19,6 +19,7 @@ import org.springframework.validation.annotation.Validated;
|
|||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
import javax.annotation.security.PermitAll;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@@ -95,6 +96,7 @@ public class TokenConfigController {
|
|||||||
|
|
||||||
|
|
||||||
@GetMapping("/check")
|
@GetMapping("/check")
|
||||||
|
@PermitAll
|
||||||
@Operation(summary = "token校验")
|
@Operation(summary = "token校验")
|
||||||
public CommonResult<Long> checkTokenConfig(@RequestParam("token") String token) {
|
public CommonResult<Long> checkTokenConfig(@RequestParam("token") String token) {
|
||||||
|
|
||||||
|
|||||||
@@ -169,6 +169,7 @@ chenfeng:
|
|||||||
- /admin-api/system/user/reset-password
|
- /admin-api/system/user/reset-password
|
||||||
- /admin-api/system/auth/login/check
|
- /admin-api/system/auth/login/check
|
||||||
- /admin-api/system/auth/login/sms/check
|
- /admin-api/system/auth/login/sms/check
|
||||||
|
- /admin-api/system/token/check
|
||||||
- /rpc-api/**
|
- /rpc-api/**
|
||||||
#- /admin-api/system/**
|
#- /admin-api/system/**
|
||||||
#- /rpc-api/system/organ/valid # 防止递归。避免调用 /rpc-api/system/organ/valid 接口时,又去触发 /rpc-api/system/organ/valid 去校验
|
#- /rpc-api/system/organ/valid # 防止递归。避免调用 /rpc-api/system/organ/valid 接口时,又去触发 /rpc-api/system/organ/valid 去校验
|
||||||
|
|||||||
Reference in New Issue
Block a user