1.字典解析调整

2.用户对外接口添加
This commit is contained in:
2023-09-26 20:37:02 +08:00
parent 081d499c03
commit 08f3564292
7 changed files with 39 additions and 6 deletions

View File

@@ -65,5 +65,6 @@ public interface UserFeignClient {
@PostMapping("/userByIdList")
HttpResult<List<User>> getUserByIdList(@RequestBody List<String> ids);
@PostMapping("/getAdminInfo")
HttpResult<List<User>> getAdminInfo();
}

View File

@@ -67,6 +67,12 @@ public class UserFeignClientFallbackFactory implements FallbackFactory<UserFeign
throw new BusinessException(finalExceptionEnum);
}
@Override
public HttpResult<List<User>> getAdminInfo() {
log.error("{}异常,降级处理,异常为:{}","获取业务管理员信息",cause.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}