修复缓存问题

dev_course
daiao 5 years ago
parent a26f046423
commit 264ffe9143

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

Loading…
Cancel
Save