Commit 38c53a01 by 朱继来

调整

parent a3fb8a44
Showing with 1 additions and 1 deletions
......@@ -88,7 +88,7 @@ func main() {
var user_info UserInfo.UserInfo
db.CmsDB.Get(&user_info, "select * FROM user_info WHERE userId = ?", user_login.UserId)
ding.Send(util.Configs.Ding_msg.Webhook,"监控告警", "后台用户登录IP监控,用户:"+ user_info.Email +",登录地址为:" + province + city, mobile, isAtAll)
ding.Send(util.Configs.Ding_msg.Webhook,"监控告警", "后台用户登录IP监控,邮箱:"+ user_info.Email + ",名称:"+ user_info.Name +",登录地址为:" + province + city, mobile, isAtAll)
// 登录状态更新为异常
db.CmsDB.Exec("UPDATE user_login set status = ? WHERE userId = ? and skey = ?", -1, user_login.UserId, user_login.Skey)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment