|
|
@ -7,6 +7,7 @@ import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.jeecg.common.api.vo.Result; |
|
|
|
import org.jeecg.common.system.query.QueryGenerator; |
|
|
|
import org.jeecg.common.util.RedisUtil; |
|
|
|
import org.jeecg.config.shiro.ShiroRealm; |
|
|
|
import org.jeecg.modules.banner.entity.WebBanner; |
|
|
@ -14,6 +15,8 @@ import org.jeecg.modules.hanHaiMember.entity.HanHaiMember; |
|
|
|
import org.jeecg.modules.industry.entity.TbIndustry; |
|
|
|
import org.jeecg.modules.industry.service.ITbIndustryService; |
|
|
|
import org.jeecg.modules.postBean.SuggestReq; |
|
|
|
import org.jeecg.modules.tbConf.entity.TbConf; |
|
|
|
import org.jeecg.modules.tbConf.service.ITbConfService; |
|
|
|
import org.jeecg.modules.tbSuggest.entity.TbSuggest; |
|
|
|
import org.jeecg.modules.tbSuggest.service.ITbSuggestService; |
|
|
|
import org.jeecg.modules.tbTask.service.ITbTaskService; |
|
|
@ -28,6 +31,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
@ -55,7 +59,7 @@ public class IndexController { |
|
|
|
@Resource |
|
|
|
private ITbUserRoleService tbUserRoleService; |
|
|
|
@Resource |
|
|
|
private ITbTaskService tbTaskService; |
|
|
|
private ITbConfService tbConfService; |
|
|
|
@Resource |
|
|
|
private TaskMapper TaskMapper; |
|
|
|
|
|
|
@ -80,6 +84,20 @@ public class IndexController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value="平台图片配置", notes="平台图片配置") |
|
|
|
@GetMapping(value = "/picList") |
|
|
|
public Result<List<TbConf>> queryPagePicList() { |
|
|
|
QueryWrapper<TbConf> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
|
|
|
queryWrapper.eq("dict_group","sys_pic"); |
|
|
|
List<TbConf> list = tbConfService.list(queryWrapper); |
|
|
|
return Result.OK(list); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "获取banner列表") |
|
|
|
@RequestMapping(value = "/bannerList", method = RequestMethod.POST) |
|
|
|
public Result<Map<Integer, List<WebBanner>>> bannerList() { |
|
|
|