修改设置

This commit is contained in:
Joucks Hua 2019-08-12 10:39:57 +08:00
parent b4cf12519c
commit 8faf1301e5

View File

@ -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)