You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
509 B
24 lines
509 B
package http |
|
|
|
import ( |
|
"go-common/app/service/main/workflow/model" |
|
bm "go-common/library/net/http/blademaster" |
|
) |
|
|
|
// deleteGroup delete group . |
|
func deleteGroup(c *bm.Context) { |
|
p := &model.DeleteGroupParams{} |
|
if err := c.Bind(p); err != nil { |
|
return |
|
} |
|
c.JSON(nil, wkfSvc.DeleteGroup(c, p)) |
|
} |
|
|
|
// pubRefereeGroup delete group . |
|
func pubRefereeGroup(c *bm.Context) { |
|
p := &model.PublicRefereeGroupParams{} |
|
if err := c.Bind(p); err != nil { |
|
return |
|
} |
|
c.JSON(nil, wkfSvc.PublicRefereeGroup(c, p)) |
|
}
|
|
|