初步实现安装界面

This commit is contained in:
GoEdgeLab
2020-10-13 20:05:13 +08:00
parent 911e57b1f2
commit 23c0200e73
76 changed files with 2550 additions and 88 deletions

View File

@@ -26,7 +26,13 @@ func NewSysSettingDAO() *SysSettingDAO {
}).(*SysSettingDAO)
}
var SharedSysSettingDAO = NewSysSettingDAO()
var SharedSysSettingDAO *SysSettingDAO
func init() {
dbs.OnReady(func() {
SharedSysSettingDAO = NewSysSettingDAO()
})
}
// 设置配置
func (this *SysSettingDAO) UpdateSetting(codeFormat string, valueJSON []byte, codeFormatArgs ...interface{}) error {