package com.hz.his.feign.service.phis;
|
|
import com.hx.resultTool.Result;
|
import com.hz.his.dto.PageDto;
|
import com.hz.his.dto.activity.RepoActivityDto;
|
import com.hz.his.dto.coupon.CouponDto;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 复购活动service
|
*/
|
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "repo-activity")
|
public interface SRepoActivityService {
|
|
/** 门店列表 */
|
@PostMapping(value = "/repo/activity/shop/list")
|
Result shopList();
|
|
/** SPU列表 */
|
@PostMapping(value = "/repo/activity/spu/list")
|
Result spuList(@RequestBody PageDto dto);
|
|
/** 项目映射分类列表 */
|
@PostMapping(value = "/repo/activity/project/type/relation/list")
|
Result projectTypeRelationList(@RequestBody PageDto dto);
|
|
/** 优惠券列表 */
|
@PostMapping(value = "/repo/activity/coupon/list")
|
Result couponList(@RequestBody CouponDto couponDto);
|
|
/** 检查查询用户是否符合参与复购活动 */
|
@PostMapping(value = "/repo/activity/check/user/can/join")
|
Result checkUserCanJoin(@RequestBody RepoActivityDto repoActivityDto);
|
|
|
}
|