瀏覽代碼

fix:图片路径修改

duxin 2 年之前
父節點
當前提交
55965c9e6a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)