mirror of
https://gitee.com/lauix/HFish
synced 2025-05-11 12:28:02 +08:00
修改设置
This commit is contained in:
parent
b4cf12519c
commit
8faf1301e5
@ -77,7 +77,6 @@ func UpdateEmailInfo(c *gin.Context) {
|
|||||||
sql := `
|
sql := `
|
||||||
UPDATE hfish_setting
|
UPDATE hfish_setting
|
||||||
set info = ?,
|
set info = ?,
|
||||||
status = ?,
|
|
||||||
update_time = ?
|
update_time = ?
|
||||||
where id = ?;`
|
where id = ?;`
|
||||||
dbUtil.Update(sql, info, time.Now().Format("2006-01-02 15:04"), id)
|
dbUtil.Update(sql, info, time.Now().Format("2006-01-02 15:04"), id)
|
||||||
@ -98,7 +97,6 @@ func UpdateAlertMail(c *gin.Context) {
|
|||||||
sql := `
|
sql := `
|
||||||
UPDATE hfish_setting
|
UPDATE hfish_setting
|
||||||
set info = ?,
|
set info = ?,
|
||||||
status = ?,
|
|
||||||
update_time = ?
|
update_time = ?
|
||||||
where id = ?;`
|
where id = ?;`
|
||||||
dbUtil.Update(sql, info, time.Now().Format("2006-01-02 15:04"), id)
|
dbUtil.Update(sql, info, time.Now().Format("2006-01-02 15:04"), id)
|
||||||
|
Loading…
Reference in New Issue
Block a user