This website works better with JavaScript.
Home
Explore
Help
Sign In
EggPlanet
/
egg_app
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
头像
master
huangjiajun
3 days ago
parent
eafd411344
commit
126c72100e
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/hdl/hdl_user.go
+1
-0
app/svc/svc_common.go
+ 1
- 1
app/hdl/hdl_user.go
View File
@@ -113,7 +113,7 @@ func InviteCodeUserInfo(c *gin.Context) {
user = svc.UserImg(user)
res := md.InviteCodeUserInfoResp{
Nickname: nickname,
HeadImg: user.Avatar,
HeadImg:
svc.GetOssUrl(
user.Avatar
)
,
}
e.OutSuc(c, res, nil)
return
+ 1
- 0
app/svc/svc_common.go
View File
@@ -22,6 +22,7 @@ func UserImg(user *model.User) *model.User {
if user.Avatar == "" {
user.Avatar = GetSysCfgStr("default_avatar")
}
user.Avatar = GetOssUrl(user.Avatar)
return user
}
func GetOssDomain() string {
Write
Preview
Loading…
Cancel
Save