package com.hz.his.feign.service.platform;
|
|
import com.hx.resultTool.Result;
|
import com.hz.his.dto.marketing.MarketActivityDto;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
/**
|
* 营销活动service
|
* @USER: fhx
|
* @DATE: 2023/8/2
|
**/
|
@FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-market-activity")
|
public interface SPhipMarketActivityService {
|
|
/** 列表 */
|
@PostMapping(value = "/market/activity/list")
|
Result list(@RequestBody MarketActivityDto dto);
|
|
/** 分类tab列表 */
|
@PostMapping(value = "/market/activity/tabData")
|
Result tabData(@RequestBody MarketActivityDto dto);
|
|
/** 顶部轮播图数据 */
|
@PostMapping(value = "/market/activity/topBannerData")
|
Result topBannerData(@RequestBody MarketActivityDto dto);
|
|
/** 详情 */
|
@PostMapping(value = "/market/activity/detail")
|
Result detail(@RequestBody MarketActivityDto dto);
|
|
/** 确认查看 */
|
@PostMapping(value = "/market/activity/confirmView")
|
Result confirmView(@RequestBody MarketActivityDto dto);
|
|
/** 领取优惠券 */
|
@PostMapping(value = "/market/activity/receiveCoupon")
|
Result receiveCoupon(@RequestBody MarketActivityDto dto);
|
|
/** 审批列表 */
|
@PostMapping(value = "/market/activity/approve/list")
|
Result pendingApproveCoupon(@RequestBody MarketActivityDto dto);
|
|
/** 操作审批领取优惠券 */
|
@PostMapping(value = "/market/activity/receive/approve/callback/admin")
|
Result receiveApproveCallbackAdmin(@RequestBody MarketActivityDto dto);
|
|
}
|