fhx
2024-04-01 e4b84e0f62b9f93e0c619f3a42275dd9a5f0de0b
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiGroupService.java
@@ -1,24 +1,28 @@
package com.hz.his.feign.service.platform.bi;
import com.hx.resultTool.Result;
import com.hz.his.dto.report.UserReportListDto;
import com.hz.his.dto.report.GroupUserReportDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * 群业绩
 * 群数据
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-group-data")
public interface BiGroupService {
    /**
     * 用户现金执行数据
     * 群数据-增长中心项目消费频次和消费
     */
    @PostMapping("/admin/user/report/money/data/list")
    Result cashTotalList(@RequestBody UserReportListDto userReportListDto);
    @PostMapping("/admin/group/report/deduction/total")
    Result deductionTotal(@RequestBody GroupUserReportDto groupUserReportDto);
}