简介头像
This commit is contained in:
parent
ebc6d9b21f
commit
593ecb7db2
@ -1835,7 +1835,7 @@ func (r *UserDoctorService) PutDoctorIntroduction(doctorId int64, req requests.P
|
|||||||
profileItem := []tencentIm.ProfileItem{
|
profileItem := []tencentIm.ProfileItem{
|
||||||
{
|
{
|
||||||
Tag: "Tag_Profile_IM_Image",
|
Tag: "Tag_Profile_IM_Image",
|
||||||
Value: doctorIntroductionRecord.Avatar,
|
Value: utils.AddOssDomain(doctorIntroductionRecord.Avatar),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ func RemoveOssDomain(url string) string {
|
|||||||
return url
|
return url
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddOssDomain 去除oss地址中的前缀
|
// AddOssDomain 增加oss地址中的前缀
|
||||||
func AddOssDomain(url string) string {
|
func AddOssDomain(url string) string {
|
||||||
if url == "" {
|
if url == "" {
|
||||||
return ""
|
return ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user