|
|
@ -11,6 +11,7 @@ import com.epmet.dto.result.PointRankingResultDTO; |
|
|
|
import com.epmet.service.BizPointTotalDetailService; |
|
|
|
import com.epmet.service.BizPointUserTotalDetailService; |
|
|
|
import com.epmet.service.PointRuleService; |
|
|
|
import com.epmet.utils.ModuleConstant; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
@ -88,6 +89,8 @@ public class GroupPointController { |
|
|
|
@PostMapping("pointrule") |
|
|
|
public Result<GroupPointRuleResultDTO> pointRule(@LoginUser TokenDto tokenDto) { |
|
|
|
GroupPointRuleResultDTO result = pointRuleService.getGroupRule(tokenDto.getCustomerId()); |
|
|
|
result.setContriSummary(ModuleConstant.CONTRI_SUMMARY); |
|
|
|
result.setGroupSummary(ModuleConstant.GROUP_RULE_SUMMARY); |
|
|
|
return new Result<GroupPointRuleResultDTO>().ok(result); |
|
|
|
} |
|
|
|
} |
|
|
|