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