新增aws 状态检测接口

This commit is contained in:
zhouchengrong
2023-12-29 13:35:39 +08:00
parent 4b1974aceb
commit 858a195e13
2 changed files with 3 additions and 2 deletions

View File

@@ -46,7 +46,8 @@ public class AuthenticationFilter extends OncePerRequestFilter {
"/api/python/saveGeneratePicture", "/api/python/getLibraryByUserId",
"/api/third/party/addUser","/api/third/party/addTrialUser", "/api/third/party/editUser", "/api/element/initDefaultSysFile",
"/api/python/chatStream",
"/api/python/flush"
"/api/python/flush",
"/api/account/healthy"
);
@Override

View File

@@ -130,7 +130,7 @@ public class AccountController {
}
@ApiOperation(value = "aws状态检测")
@PostMapping("/healthy")
@GetMapping("/healthy")
@ResponseStatus(HttpStatus.OK)
public Response<Map<String,Integer>> checkStatus(){
Map<String,Integer> returnMap = new HashMap<>();