feat: add avatar
This commit is contained in:
@@ -53,7 +53,7 @@ func (ctl *auth) Login(ctx fiber.Ctx, code, state, redirect string) error {
|
||||
authUserInfo = &wechat.AuthorizeUserInfo{
|
||||
City: "",
|
||||
Country: "",
|
||||
Headimgurl: "",
|
||||
Headimgurl: "/avatar.jpeg",
|
||||
Nickname: "暂未设置昵称",
|
||||
Openid: token.Openid,
|
||||
Privilege: []string{},
|
||||
|
||||
BIN
frontend/wechat/public/avatar.jpeg
Normal file
BIN
frontend/wechat/public/avatar.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user