| | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.system.domain.vo.AppAdvertVo; |
| | | import com.ruoyi.system.domain.vo.AppBannerVo; |
| | | import com.ruoyi.system.domain.vo.AppPopVo; |
| | | import com.ruoyi.system.domain.vo.AppQuickEntryVo; |
| | | import com.ruoyi.system.service.config.AdvertService; |
| | | import com.ruoyi.system.service.config.BannerService; |
| | | import com.ruoyi.system.service.config.PopService; |
| | | import com.ruoyi.system.service.config.QuickEntryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | |
| | | |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private BannerService bannerService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private QuickEntryService quickEntryService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private AdvertService advertService; |
| | | |
| | | @Resource |
| | | private PopService popService; |
| | | |
| | | |
| | | |
| | | |
| | |
| | | return R.ok(appAdvertVo); |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value = "/getPop", method = RequestMethod.POST) |
| | | @ApiOperation(value = "获取弹窗") |
| | | public R<AppPopVo> getAppPop() { |
| | | AppPopVo appPopVo = popService.getAppPop(); |
| | | return R.ok(appPopVo); |
| | | } |
| | | |
| | | |
| | | |