@Tags File @Summary Clear RecycleBin files @Accept json @Success 200 @Security ApiKeyAuth @Security Timestamp @Router /files/recycle/clear [post] @x-panel-log {"bodyKeys":[],"paramKeys":[],"BeforeFunctions":[],"formatZH":"清空回收站","formatEN":"清空回收站"}
(c *gin.Context)
| 61 | // @Router /files/recycle/clear [post] |
| 62 | // @x-panel-log {"bodyKeys":[],"paramKeys":[],"BeforeFunctions":[],"formatZH":"清空回收站","formatEN":"清空回收站"} |
| 63 | func (b *BaseApi) ClearRecycleBinFile(c *gin.Context) { |
| 64 | if err := recycleBinService.Clear(); err != nil { |
| 65 | helper.InternalServer(c, err) |
| 66 | return |
| 67 | } |
| 68 | helper.Success(c) |
| 69 | } |
| 70 | |
| 71 | // @Tags File |
| 72 | // @Summary Get RecycleBin status |