简介头像

This commit is contained in:
wucongxing8150 2024-03-27 16:17:58 +08:00
parent ebc6d9b21f
commit 593ecb7db2
2 changed files with 2 additions and 2 deletions

View File

@ -1835,7 +1835,7 @@ func (r *UserDoctorService) PutDoctorIntroduction(doctorId int64, req requests.P
profileItem := []tencentIm.ProfileItem{
{
Tag: "Tag_Profile_IM_Image",
Value: doctorIntroductionRecord.Avatar,
Value: utils.AddOssDomain(doctorIntroductionRecord.Avatar),
},
}

View File

@ -13,7 +13,7 @@ func RemoveOssDomain(url string) string {
return url
}
// AddOssDomain 去除oss地址中的前缀
// AddOssDomain 增加oss地址中的前缀
func AddOssDomain(url string) string {
if url == "" {
return ""