Chinese firm Astronergy, formerly known as Chint Solar, has won a contract to build rooftop solar plants for logistics firm Cainiao Network Co, an affiliate of Chinese e-commerce group Alibaba Group Holding (NYSE:BABA).