refactor: split backend into standalone server project

Remove embedded frontend and workflow editor assets, add standalone API deployment configuration, and retain the current backend service updates.
This commit is contained in:
t
2026-08-20 21:46:55 +08:00
parent 954a3fe8d9
commit 3d47227fbd
612 changed files with 515 additions and 97334 deletions
@@ -548,13 +548,6 @@ func (s *wxWorkKFInboundService) getChannelByOpenKfID(openKfID string) (*models.
if channel == nil {
return nil, errorsx.InvalidParamI18n("error.e0231")
}
if channel.AIAgentID <= 0 {
return nil, errorsx.InvalidParamI18n("error.e0098")
}
agent := AIAgentService.Get(channel.AIAgentID)
if agent == nil || agent.Status != enums.StatusOk {
return nil, errorsx.InvalidParamI18n("error.e0099")
}
return channel, nil
}