소스 검색

fix:api调整

fuwencai 2 년 전
부모
커밋
285c9e5802
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      api/internal/logic/getbuoymsglogic.go

+ 4 - 0
api/internal/logic/getbuoymsglogic.go

@@ -47,6 +47,10 @@ func (l *GetBuoyMsgLogic) GetBuoyMsg(req types.GetBuoyMsgReq) (*types.GetBuoyMsg
 		result.Data = append(result.Data, map[string]interface{}{
 		result.Data = append(result.Data, map[string]interface{}{
 			"id":         msg.Id,
 			"id":         msg.Id,
 			"buoyDetail": msg.BuoyDetail,
 			"buoyDetail": msg.BuoyDetail,
+			"pcUrl":      msg.PcUrl,
+			"androidUrl": msg.AndroidUrl,
+			"iosUrl":     msg.IosUrl,
+			"weChatUrl":  msg.WeChatUrl,
 		})
 		})
 	}
 	}
 	return result, nil
 	return result, nil