add rule
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user