广告平台(站长使用)
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.
 
 
 
 
 

13 regels
216 B

  1. package svc
  2. import (
  3. "applet/app/utils/cache"
  4. "fmt"
  5. "github.com/gin-gonic/gin"
  6. )
  7. func ClearRedis(c *gin.Context, key string) {
  8. key1 := fmt.Sprintf("%s:cfg_cache:%s", c.GetString("mid"), key)
  9. cache.Del(key1)
  10. }