| | |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.sanshuo.ComMediaTypeVO; |
| | | import com.panzhihua.common.model.vos.sanshuo.ComSanShuoEventVO; |
| | | import com.panzhihua.common.model.vos.sanshuo.ComSanShuoIndustryCenterVO; |
| | | import com.panzhihua.common.model.vos.sanshuo.ExpertShowVO; |
| | | import com.panzhihua.common.model.vos.sanshuo.*; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | return communityService.industryCenterAppList(); |
| | | } |
| | | |
| | | @ApiOperation(value = "小程序获取可选择行专家列表",response = ComSanShuoEventVO.class ) |
| | | @ApiOperation(value = "小程序获取可选择行专家列表",response = ComSanshuoExpertVO.class ) |
| | | @GetMapping("/expert/appletsList") |
| | | public R expertAppList(){ |
| | | return communityService.expertAppList(); |
| | |
| | | } |
| | | |
| | | @GetMapping("/expert/expertShowList") |
| | | @ApiOperation("专家风采列表") |
| | | public R expertShowList(@RequestParam(value = "level",required = false)Integer level,@RequestParam(value = "id",required = false)Long id){ |
| | | @ApiOperation(value = "专家风采列表",response = ComSanshuoExpertVO.class) |
| | | public R expertShowList(@RequestParam(value = "level",required = false) @ApiParam("对应的level,1三说会堂2行业分中心3街道4社区")Integer level, |
| | | @RequestParam(value = "id",required = false) @ApiParam("id,level=1不传2行业分中心id 3街道id 4社区id")Long id){ |
| | | return communityService.expertShowList(level,id); |
| | | } |
| | | } |