跳转登录是否合法
This commit is contained in:
parent
01523714f7
commit
cec21be80a
|
|
@ -0,0 +1,31 @@
|
||||||
|
package com.bonus.gzgqj.business.bases.controller;
|
||||||
|
|
||||||
|
import com.bonus.gzgqj.manager.webResult.ServerResponse;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @className:HealthController
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-11-27-15:58
|
||||||
|
* @version:1.0
|
||||||
|
* @description:验证token是否合法
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/backstage/health/")
|
||||||
|
@Slf4j
|
||||||
|
public class HealthController {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 验证token是否合法
|
||||||
|
* @return ServerResponse
|
||||||
|
* @author cwchen
|
||||||
|
* @date 2024/11/27 16:00
|
||||||
|
*/
|
||||||
|
@GetMapping("isHealth")
|
||||||
|
public ServerResponse getApplyPlanList() {
|
||||||
|
return ServerResponse.createBySuccessMsg("合法");
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue