mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 08:40:20 +00:00
chore: api doc
This commit is contained in:
1 parent
2dd53c7f38
commit
eaf57ec1ab
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user