- 修复「修改接入网关失败」的问题
- 完成「[功能请求]审计的历史会话建议添加“已阅”的功能」close #194 - 增加一键删除登录日志和历史会话的功能
This commit is contained in:
@ -78,8 +78,7 @@ func AccessGatewayUpdateEndpoint(c echo.Context) error {
|
||||
if err := accessGatewayRepository.UpdateById(&item, id); err != nil {
|
||||
return err
|
||||
}
|
||||
accessGatewayService.DisconnectById(id)
|
||||
_, _ = accessGatewayService.GetGatewayAndReconnectById(id)
|
||||
accessGatewayService.ReConnect(&item)
|
||||
return Success(c, nil)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user