|
|
@ -2,6 +2,7 @@ package com.elink.esua.epdc.service.impl; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
|
|
|
import com.elink.esua.epdc.commons.tools.constant.NumConstant; |
|
|
|
import com.elink.esua.epdc.commons.tools.enums.BehaviorEnum; |
|
|
|
import com.elink.esua.epdc.commons.tools.enums.YesOrNoEnum; |
|
|
|
import com.elink.esua.epdc.commons.tools.redis.RedisUtils; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
@ -12,6 +13,7 @@ import com.elink.esua.epdc.dto.epdc.result.*; |
|
|
|
import com.elink.esua.epdc.dto.result.EpdcAppHomeDataResultDTO; |
|
|
|
import com.elink.esua.epdc.feign.ActInfoFeignClient; |
|
|
|
import com.elink.esua.epdc.feign.NewsFeignClient; |
|
|
|
import com.elink.esua.epdc.pointcommons.tools.annotation.RecordUserBehavior; |
|
|
|
import com.elink.esua.epdc.service.NewsService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -157,4 +159,10 @@ public class NewsServiceImpl implements NewsService { |
|
|
|
public Result<List<ModuleCategoryResultDTO>> getModuleCategory(ModuleCategoryFormDTO dto) { |
|
|
|
return newsFeignClient.getModuleCategory(dto); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.CONTENT_BROWSE,referenceId = "#{dto.getPid}",userId = "#{userDetail.getUserId}",gridId = "#{userDetail.getGridId}") |
|
|
|
public void addContentPoints(TokenDto userDetail, ModuleCategoryFormDTO dto) { |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|