bugfix:easy-trans 在 FeignClient 无法启动的情况
This commit is contained in:
parent
c41a155cfe
commit
60d56f0834
@ -5,9 +5,7 @@ import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
|||||||
import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils;
|
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.api.user.dto.AdminUserRespDTO;
|
||||||
import cn.iocoder.yudao.module.system.enums.ApiConstants;
|
import cn.iocoder.yudao.module.system.enums.ApiConstants;
|
||||||
import com.fhs.core.trans.anno.AutoTrans;
|
|
||||||
import com.fhs.trans.service.AutoTransable;
|
import com.fhs.trans.service.AutoTransable;
|
||||||
import feign.RequestLine;
|
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import io.swagger.v3.oas.annotations.Parameter;
|
import io.swagger.v3.oas.annotations.Parameter;
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
@ -17,11 +15,9 @@ import org.springframework.web.bind.annotation.RequestParam;
|
|||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import static cn.iocoder.yudao.module.system.api.user.AdminUserApi.PREFIX;
|
|
||||||
|
|
||||||
@FeignClient(name = ApiConstants.NAME) // TODO 芋艿:fallbackFactory =
|
@FeignClient(name = ApiConstants.NAME) // TODO 芋艿:fallbackFactory =
|
||||||
@Tag(name = "RPC 服务 - 管理员用户")
|
@Tag(name = "RPC 服务 - 管理员用户")
|
||||||
@AutoTrans(namespace = PREFIX, fields = {"nickname"})
|
//@AutoTrans(namespace = PREFIX, fields = {"nickname"}) // TODO @芋艿:需要 easy-trans 做个 bugfix
|
||||||
public interface AdminUserApi extends AutoTransable<AdminUserRespDTO> {
|
public interface AdminUserApi extends AutoTransable<AdminUserRespDTO> {
|
||||||
|
|
||||||
String PREFIX = ApiConstants.PREFIX + "/user";
|
String PREFIX = ApiConstants.PREFIX + "/user";
|
||||||
|
Loading…
Reference in New Issue
Block a user