package com.chuangongzhijia.huacheng_union_applets.api; import com.panzhihua.common.model.vos.ResultData; import com.panzhihua.common.model.vos.union.StructuredVO; import com.panzhihua.common.service.community.CommunityUnionService; import io.swagger.annotations.Api; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import java.util.List; @Slf4j @Api(tags = {"新闻基本面,技术面相关接口"}) @RestController @RequestMapping("/roomck-web") public class RoomckWebApi { @Resource private CommunityUnionService communityUnionService; @PostMapping("/roomck/ivsCommomEventController") public ResultData ivsCommomEventController(@RequestBody List structureds){ log.info("传输参数为{}",structureds); return communityUnionService.ivsCommomEventController(structureds); } }