新增aws 状态检测接口
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user