无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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);
}