Browse Source

fix:图片路径修改

duxin 2 years ago
parent
commit
55965c9e6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rpc/internal/common/sendMsg.go

+ 1 - 1
rpc/internal/common/sendMsg.go

@@ -169,7 +169,7 @@ func UserMsgList(this *message.UserMsgListReq) *message.UserMsgList {
 		for _, v := range entity.MessageColumn {
 			var column message.AllSortData
 			column.Name = common.InterfaceToStr(v["name"])
-			column.Img = fmt.Sprintf("/images/msgCenter/%s.png", common.InterfaceToStr(v["img"]))
+			column.Img = fmt.Sprintf("/common-module/msgCenter/%s.png", common.InterfaceToStr(v["img"]))
 			column.MsgType = common.Int64All(v["msg_type"])
 			if column.Name == "私信" {
 				column.UnreadMessages = unreadMsg(this)