新增:新版疑修上链操作

This commit is contained in:
2023-03-02 17:06:49 +08:00
parent aba5de8bb8
commit c9c16aef8d
7 changed files with 34 additions and 12 deletions

View File

@@ -30,6 +30,10 @@ class Site < ApplicationRecord
self.common.where(key: 'notice').present?
end
def self.has_blockchain?
self.common.where(key: 'blockchain').present?
end
private
def self.set_add_menu!
adds= [