工具包
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 217 B

12345678
  1. package zhios_tool_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. }