diff --git a/controller/visitor.go b/controller/visitor.go index 6a5fd78..b6b5421 100644 --- a/controller/visitor.go +++ b/controller/visitor.go @@ -61,9 +61,9 @@ func PostVisitorLogin(c *gin.Context) { avator:="" userAgent := c.GetHeader("User-Agent") if tools.IsMobile(userAgent) { - avator = "/static/images/phone.png" + avator = "/static/images/1.png" } else { - avator = "/static/images/computer.png" + avator = "/static/images/2.png" } toId := c.PostForm("to_id") diff --git a/static/images/1.png b/static/images/1.png index 352ce67..5f1c076 100644 Binary files a/static/images/1.png and b/static/images/1.png differ diff --git a/static/images/2.png b/static/images/2.png index d94ba2a..23d05fc 100644 Binary files a/static/images/2.png and b/static/images/2.png differ