phpcjl
2024-12-10 450d98429b33d4433fa4f24a62a47790391459f6
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
package com.ruoyi.account.api.feignClient;
 
import com.ruoyi.account.api.factory.UserChangeLogFallbackFactory;
import com.ruoyi.account.api.model.UserChangeLog;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**
 * @author zhibing.pu
 * @Date 2024/12/10 15:01
 */
@FeignClient(contextId = "UserChangeLogClient", value = ServiceNameConstants.ACCOUNT_SERVICE, fallbackFactory = UserChangeLogFallbackFactory.class)
public interface UserChangeLogClient {
    
    
    /**
     * 保存会员等级变更记录
     * @param userChangeLog
     * @return
     */
    @PostMapping("/user-change-log/saveUserChangeLog")
    R saveUserChangeLog(@RequestBody UserChangeLog userChangeLog);
}