This commit is contained in:
mr
2024-08-26 13:50:11 +02:00
parent b94f6c4ddf
commit 0815f8bd58
5 changed files with 55 additions and 3 deletions

View File

@@ -167,12 +167,12 @@ func (o *SharedWorkspaceController) AddPeer() {
o.ServeJSON()
}
// @Title Add Peer
// @Title Add Rule
// @Description find shared workspace by id
// @Param id path string true "the id you want to get"
// @Param id2 path string true "the id you want to add"
// @Success 200 {shared workspace} models.shared_workspace
// @router /:id/peer/:id2 [post]
// @router /:id/rule/:id2 [post]
func (o *SharedWorkspaceController) AddRule() {
var res map[string]interface{}
id := o.Ctx.Input.Param(":id")