package com.dsh.account.feignclient.activity;
|
|
import com.dsh.account.feignclient.activity.model.UserCouponPayment;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/11/28 11:10
|
*/
|
@FeignClient(value = "mb-cloud-activity")
|
public interface UserCouponPaymentClient {
|
|
|
/**
|
* 添加数据
|
* @param userCouponPayment
|
*/
|
@PostMapping("/userCouponPayment/addUserCouponPayment")
|
void addUserCouponPayment(UserCouponPayment userCouponPayment);
|
|
|
/**
|
* 获取数据
|
* @param code
|
* @return
|
*/
|
@PostMapping("/userCouponPayment/getUserCouponPayment")
|
UserCouponPayment getUserCouponPayment(String code);
|
|
/**
|
* 修改数据
|
* @param userCouponPayment
|
*/
|
@PostMapping("/userCouponPayment/updateUserCouponPayment")
|
void updateUserCouponPayment(UserCouponPayment userCouponPayment);
|
}
|