面包店
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.

set_cache.go 206 B

10 months ago
12345678
  1. package e
  2. func SetCache(cacheTime int64) map[string]interface{} {
  3. if cacheTime == 0 {
  4. return map[string]interface{}{"cache_time": cacheTime}
  5. }
  6. return map[string]interface{}{"cache_time": cacheTime}
  7. }