mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
chore: api doc
This commit is contained in:
parent
3c6dc2c87e
commit
7540e80f20
@ -202,7 +202,7 @@ func listOnlineUser(c *gin.Context) (*model.Value[[]*model.OnlineUser], error) {
|
||||
// @Param request body []string true "block list"
|
||||
// @Produce json
|
||||
// @Success 200 {object} model.CommonResponse[any]
|
||||
// @Router /online-user/batch-block [patch]
|
||||
// @Router /online-user/batch-block [post]
|
||||
func batchBlockOnlineUser(c *gin.Context) (any, error) {
|
||||
var list []string
|
||||
if err := c.ShouldBindJSON(&list); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user