From 9de92e730b53479ab5537589cdad0c95f2034b30 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 4 Apr 2024 18:58:13 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=EF=BC=9Aeasy-trans=20=E5=9C=A8=20FeignCl?= =?UTF-8?q?ient=20=E6=97=A0=E6=B3=95=E5=90=AF=E5=8A=A8=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/api/user/AdminUserApi.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/AdminUserApi.java b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/AdminUserApi.java index 4be228d3d..3abb1caa6 100644 --- a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/AdminUserApi.java +++ b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/AdminUserApi.java @@ -5,23 +5,23 @@ import cn.iocoder.yudao.framework.common.pojo.CommonResult; 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.FeignIgnore; -import io.swagger.v3.oas.annotations.tags.Tag; -import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.Parameter; +import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; -import java.util.*; - -import static cn.iocoder.yudao.module.system.api.user.AdminUserApi.PREFIX; +import java.util.Collection; +import java.util.Collections; +import java.util.List; +import java.util.Map; @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 { String PREFIX = ApiConstants.PREFIX + "/user";