修改newconfig文件更改
This commit is contained in:
@@ -62,7 +62,7 @@ func GetSysConfigAsInt64(db *DaoDB, key string) (value int64, err error) {
|
||||
|
||||
// 修改配置
|
||||
func UpdateOperatorConfig(param string) error {
|
||||
sql := `UPDATE new_config SET value = ? WHERE type = ? AND key = ?`
|
||||
sql := `UPDATE new_config c SET c.value = ? WHERE c.type = ? AND c.key = ?`
|
||||
_, err := ExecuteSQL(GetDB(), sql, []interface{}{param, "Sys", "FZR"})
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user