缓存问题

dev_course
daiao 6 years ago
parent 8f978c4304
commit f6faab9353

@ -20,6 +20,6 @@ class EduSetting < ApplicationRecord
private
def expire_value_cache
Rails.cache.clear(value_cache_key)
Rails.cache.write(value_cache_key, nil)
end
end

Loading…
Cancel
Save