mirror of
https://gitee.com/lauix/HFish
synced 2025-05-11 12:28:02 +08:00
修改设置
This commit is contained in:
parent
12daac015e
commit
b4cf12519c
@ -80,7 +80,7 @@ func UpdateEmailInfo(c *gin.Context) {
|
||||
status = ?,
|
||||
update_time = ?
|
||||
where id = ?;`
|
||||
dbUtil.Update(sql, info, 0, time.Now().Format("2006-01-02 15:04"), id)
|
||||
dbUtil.Update(sql, info, time.Now().Format("2006-01-02 15:04"), id)
|
||||
c.JSON(http.StatusOK, error.ErrSuccessNull())
|
||||
}
|
||||
/*更新警告邮件通知*/
|
||||
@ -101,7 +101,7 @@ func UpdateAlertMail(c *gin.Context) {
|
||||
status = ?,
|
||||
update_time = ?
|
||||
where id = ?;`
|
||||
dbUtil.Update(sql, info, 0, time.Now().Format("2006-01-02 15:04"), id)
|
||||
dbUtil.Update(sql, info, time.Now().Format("2006-01-02 15:04"), id)
|
||||
c.JSON(http.StatusOK, error.ErrSuccessNull())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user