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);
|
}
|