feat: swagger接口文档更新1.0.8
This commit is contained in:
@@ -22,6 +22,15 @@ type SysCacheController struct{}
|
||||
// Redis信息
|
||||
//
|
||||
// GET /
|
||||
//
|
||||
// @Tags monitor/cache
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Summary Cache Service Information
|
||||
// @Description Cache Service Information
|
||||
// @Router /monitor/cache [get]
|
||||
func (s *SysCacheController) Info(c *gin.Context) {
|
||||
c.JSON(200, result.OkData(map[string]any{
|
||||
"info": redis.Info(""),
|
||||
|
||||
Reference in New Issue
Block a user