package com.hz.his.feign.service.platform.questionnaire;
|
|
import com.hx.resultTool.Result;
|
import com.hz.his.dto.activity.ActivityDto;
|
import com.hz.phis.dt.reward.QuestionInvestigateDto;
|
import com.hz.phis.dt.reward.RewardRecordDto;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import java.util.List;
|
|
/**
|
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
|
*/
|
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-reward")
|
public interface SPhipRewardService {
|
|
/**
|
* 查询打赏商品
|
*/
|
@PostMapping(value = "/questionnaire/reward-goods/list")
|
Result rewardGoodsList();
|
|
|
/**
|
* 打赏
|
*/
|
@PostMapping(value = "/questionnaire/reward")
|
Result reward(RewardRecordDto recordDto);
|
|
|
/**
|
* 调查问卷详情
|
*/
|
@PostMapping(value = "/questionnaire/investigate/details")
|
Result details(QuestionInvestigateDto questionInvestigateDto);
|
|
/**
|
* 提交调查问卷
|
*/
|
@PostMapping(value = "/questionnaire/submit")
|
Result submit(QuestionInvestigateDto questionInvestigateDto);
|
|
}
|