JD.com Inc.’s quarterly revenue rose 5.1%, suggesting Chinese consumers are cautiously spending again as Beijing tries to ...