Skip to content

Commit

Permalink
bugfix:easy-trans 在 FeignClient 无法启动的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
YunaiV committed Apr 4, 2024
1 parent c41a155 commit 60d56f0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils;
import cn.iocoder.yudao.module.system.api.user.dto.AdminUserRespDTO;
import cn.iocoder.yudao.module.system.enums.ApiConstants;
import com.fhs.core.trans.anno.AutoTrans;
import com.fhs.trans.service.AutoTransable;
import feign.RequestLine;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Operation;
Expand All @@ -17,11 +15,9 @@

import java.util.*;

import static cn.iocoder.yudao.module.system.api.user.AdminUserApi.PREFIX;

@FeignClient(name = ApiConstants.NAME) // TODO 芋艿:fallbackFactory =
@Tag(name = "RPC 服务 - 管理员用户")
@AutoTrans(namespace = PREFIX, fields = {"nickname"})
//@AutoTrans(namespace = PREFIX, fields = {"nickname"}) // TODO @芋艿:需要 easy-trans 做个 bugfix
public interface AdminUserApi extends AutoTransable<AdminUserRespDTO> {

String PREFIX = ApiConstants.PREFIX + "/user";
Expand Down

0 comments on commit 60d56f0

Please sign in to comment.