|
@@ -52,6 +52,8 @@ public class WxPortalController extends ApiBaseController {
|
|
private IAssRelcustomerinfoService assRelcustomerinfoService;
|
|
private IAssRelcustomerinfoService assRelcustomerinfoService;
|
|
@Autowired
|
|
@Autowired
|
|
private ISysMagnetLogService sysMagnetLogService;
|
|
private ISysMagnetLogService sysMagnetLogService;
|
|
|
|
+ @Autowired
|
|
|
|
+ private ISysRidingLanternService sysRidingLanternService;
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "微信门户首页",notes = "参数:{userId:1}")
|
|
@ApiOperation(value = "微信门户首页",notes = "参数:{userId:1}")
|
|
@@ -68,6 +70,19 @@ public class WxPortalController extends ApiBaseController {
|
|
return AjaxResult.success().putKV("magnets",wxMagnetList).putKV("banners",wxBannerList);
|
|
return AjaxResult.success().putKV("magnets",wxMagnetList).putKV("banners",wxBannerList);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "通知公告")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "params" , paramType = "body")
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/ridingLantern")
|
|
|
|
+ public Object getRidingLantern(){
|
|
|
|
+ List<SysRidingLantern> lanternList=sysRidingLanternService.selectLanternList();
|
|
|
|
+ if(lanternList !=null && lanternList.size()>0){
|
|
|
|
+ return AjaxResult.success().putKV("lanterns",lanternList);
|
|
|
|
+ }else{
|
|
|
|
+ return AjaxResult.error("暂无通知");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
/**
|
|
/**
|
|
* 新增保存磁铁日志
|
|
* 新增保存磁铁日志
|
|
*/
|
|
*/
|