默认头像

master
taoshihan 2 years ago
parent 3935fb1cb9
commit 82ec150ff2

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Loading…
Cancel
Save