标题: 上班第三天,还有三天
作者: #xuanfeng
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410115
时间: 2026-01-06 09:38:15
摘要:
作者: #xuanfeng
板块: #搞七捻三
编号:
1410115帖子: https://linux.do/t/topic/1410115
时间: 2026-01-06 09:38:15
摘要:
坚持就是胜利
标题: 【我可以不玩,但我不能没有】Epic+1—-20260106
作者: #beyond510
板块: #福利羊毛
编号:
帖子: https://linux.do/t/topic/1410124
时间: 2026-01-06 09:40:38
摘要:
作者: #beyond510
板块: #福利羊毛
编号:
1410124帖子: https://linux.do/t/topic/1410124
时间: 2026-01-06 09:40:38
摘要:
《Skul: The Hero Slayer》 (小骨:英雄杀手)
领取截止时间: 2026年1月9日 00:00
这是一款风格独特、玩起来非常“上头”的2D动作Rogue-lite(轻度Rogue)平台游戏。
领取方式:EPIC手机端,首页往下拉到“免费游戏”即可直接领取。
提醒:锁区。。。反正我这儿是没领到,我设置的是美区。国区的可以去试试拿一下。
标题: 谷歌是不是发布flash 版本图片生成模型了
作者: #sd d
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410128
时间: 2026-01-06 09:41:18
摘要:
作者: #sd d
板块: #搞七捻三
编号:
1410128帖子: https://linux.do/t/topic/1410128
时间: 2026-01-06 09:41:18
摘要:
谷歌是不是发布flash 版本图片生成模型了
标题: 昨晚的神人提交的issue被锁定了,昨晚看还被盒了来着。
作者: #丶 Sakana
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410141
时间: 2026-01-06 09:43:40
摘要:
作者: #丶 Sakana
板块: #搞七捻三
编号:
1410141帖子: https://linux.do/t/topic/1410141
时间: 2026-01-06 09:43:40
摘要:
标题: 各位佬,请教一下抽奖中的教育邮箱可以干嘛?
作者: #zzhhmm404
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410149
时间: 2026-01-06 09:44:43
摘要:
作者: #zzhhmm404
板块: #搞七捻三
编号:
1410149帖子: https://linux.do/t/topic/1410149
时间: 2026-01-06 09:44:43
摘要:
各位佬,我前几天抽奖中了一个edu.gr邮箱。这个邮箱都可以薅什么羊毛或者是做什么用,谢谢各位佬
(L站风气好,不懂就问总会人回复,不会被阴阳)
标题: 基于Spring Framework 6的跨服务请求客户端-HTTP Interface
作者: #猫娘
板块: #开发调优
编号:
帖子: https://linux.do/t/topic/1410150
时间: 2026-01-06 09:44:54
摘要:
作者: #猫娘
板块: #开发调优
编号:
1410150帖子: https://linux.do/t/topic/1410150
时间: 2026-01-06 09:44:54
摘要:
从 https://linux.do/t/topic/1409391?u=furry 继续讨论。
在前段时间公司要自己搞个电商平台,首选开发语言用java,架子用springboot,我作为研发负责人。
在立项初期我准备上cloud,但是老板没同意,说后面再迭代,我因为刚来这家公司我也就没好说什么,单体就单体呗。
在后面的开发过程中产品提出要增加一个供应商服务端,两端会有频繁的数据交互,我思考了半天有几个方案,要么是谷歌的grpc,要么是阿里的dubbo,或者是openfeign,不过grpc要写protobuf,dubbo以前用的2.8版本遇到兼容性问题现在好多年不用而且时间给的少我怕来不及,openfeign 又没脱离cloud依赖,需要引入一堆maven依赖,思来想去总不能直接http吧,这不胶水架构了么。
最后吧,还是用了胶水架构,不过是好用一点的,这就是HTTP Interface啦,因为当时是我负责搭建架子的,所以我采用了基于jdk17的boot3.5,正好是基于Spring Framework 6的。
这个东西用起来门槛非常低,只需要一个配置:
@Configuration
@RequiredArgsConstructor
@Slf4j
public class HttpInterfaceConfig {
private final TenantPropagator tenantPropagator;
@Value("${service.auth.secret-key}")
private String secretKey;
private WebClient.Builder createWebClientBuilder(String baseUrl) {
return WebClient.builder()
.baseUrl(baseUrl)
.filter(this::addAuthHeaders) // 添加认证过滤器
.defaultHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE);
}
/**
* 为每次请求动态添加认证头
*/
private Mono<ClientResponse> addAuthHeaders(ClientRequest request, ExchangeFunction next) {
// 每次请求时动态生成时间戳、随机数和签名
long timestamp = System.currentTimeMillis();
String nonce = UUID.randomUUID().toString().replace("-", "").substring(0, 16);
String signature = HmacSignUtils.generateTimestampSignature(timestamp, nonce, secretKey);
log.debug("🔐 动态生成认证头 - timestamp: {}, nonce: {}, signature: {}",
timestamp, nonce, signature);
// 创建新的请求,添加认证头
ClientRequest newRequest = ClientRequest.from(request)
.header("X-Internal-Service", "true")
.header("X-Service-Timestamp", String.valueOf(timestamp))
.header("X-Service-Nonce", nonce)
.header("X-Service-Signature", signature)
.build();
return next.exchange(newRequest);
}
@Bean
public OperationPlatFormApiClient operationPlatformApiClient(
@Value("${service.operationPlatform.url}") String baseUrl) {
log.info("=== operationPlatformApiClient 配置信息 ===");
log.info("baseUrl: {}", baseUrl);
log.info("secretKey: {}", secretKey != null ? "已配置" : "未配置");
// 创建基础的 WebClient Builder
WebClient.Builder webClientBuilder = createWebClientBuilder(baseUrl);
// 传播租户信息
webClientBuilder = tenantPropagator.propagateTenant(webClientBuilder);
WebClient webClient = webClientBuilder.build();
WebClientAdapter adapter = WebClientAdapter.create(webClient);
HttpServiceProxyFactory factory = HttpServiceProxyFactory
.builderFor(adapter)
.build();
OperationPlatFormApiClient client = factory.createClient(OperationPlatFormApiClient.class);
log.info("✅ operationPlatformApiClient 创建成功");
return client;
}
@Bean
public SupplierApiClient supplierApiClient(
@Value("${service.supplier.url}") String baseUrl) {
log.info("=== SupplierApiClient 配置信息 ===");
log.info("baseUrl: {}", baseUrl);
log.info("secretKey: {}", secretKey != null ? "已配置" : "未配置");
// 创建基础的 WebClient Builder
WebClient.Builder webClientBuilder = createWebClientBuilder(baseUrl);
// 传播租户信息
webClientBuilder = tenantPropagator.propagateTenant(webClientBuilder);
WebClient webClient = webClientBuilder.build();
WebClientAdapter adapter = WebClientAdapter.create(webClient);
HttpServiceProxyFactory factory = HttpServiceProxyFactory
.builderFor(adapter)
.build();
SupplierApiClient client = factory.createClient(SupplierApiClient.class);
log.info("✅ SupplierApiClient 创建成功");
return client;
}
@Bean
public CrowdsourcingApiClient crowdsourcingApiClient(
@Value("${ser
标题: B站不知道看啥,一人推荐一个宝藏UP主,分享你的精神审美!!!
作者: #One_Youndcris
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410152
时间: 2026-01-06 09:45:05
摘要:
作者: #One_Youndcris
板块: #搞七捻三
编号:
1410152帖子: https://linux.do/t/topic/1410152
时间: 2026-01-06 09:45:05
摘要:
我最近看的是李正讲史
标题: 你们都是怎么调教cc的
作者: #对方正在长头发
板块: #开发调优
编号:
帖子: https://linux.do/t/topic/1410153
时间: 2026-01-06 09:45:20
摘要:
作者: #对方正在长头发
板块: #开发调优
编号:
1410153帖子: https://linux.do/t/topic/1410153
时间: 2026-01-06 09:45:20
摘要:
最近在薅公益站的claude code,也感谢各位公益佬们的付出,太强了,但是我想看看你们调教cc的提示词是怎么样的
标题: 【求助】codex错误提示:上下文空间不错问题
作者: #大好丶先森
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410154
时间: 2026-01-06 09:45:20
摘要:
作者: #大好丶先森
板块: #搞七捻三
编号:
1410154帖子: https://linux.do/t/topic/1410154
时间: 2026-01-06 09:45:20
摘要:
这是额度用完了?已经新建对话了,还是显示上下文灭有空间~~求大佬帮助
标题: 为何credit积分两天没涨了?
作者: #Skinger
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410158
时间: 2026-01-06 09:45:56
摘要:
作者: #Skinger
板块: #搞七捻三
编号:
1410158帖子: https://linux.do/t/topic/1410158
时间: 2026-01-06 09:45:56
摘要:
标题: 九华山景色分享
作者: #ChenZiL
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410159
时间: 2026-01-06 09:46:02
摘要:
作者: #ChenZiL
板块: #搞七捻三
编号:
1410159帖子: https://linux.do/t/topic/1410159
时间: 2026-01-06 09:46:02
摘要:
元旦去了一趟九华山,正好前几天下了雪,上面景色清幽壮丽,给佬友们分享一些图片(拍的不好见谅)
另外,如果有佬友想去玩的话,最好提前关注一下天气,我们那天爬山的时候有些台阶结冰了很滑。
标题: 日子也是好起来了,萌新第一次获取这么多ldc
作者: #xking
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410163
时间: 2026-01-06 09:46:24
摘要:
作者: #xking
板块: #搞七捻三
编号:
1410163帖子: https://linux.do/t/topic/1410163
时间: 2026-01-06 09:46:24
摘要:
标题: 又是普涨的行情,新高了
作者: #谷歌学术
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410169
时间: 2026-01-06 09:47:25
摘要:
作者: #谷歌学术
板块: #搞七捻三
编号:
1410169帖子: https://linux.do/t/topic/1410169
时间: 2026-01-06 09:47:25
摘要:
但是我钱呢,钱呢???
标题: GeminiCli求助
作者: #zhuanjiao
板块: #开发调优
编号:
帖子: https://linux.do/t/topic/1410172
时间: 2026-01-06 09:48:09
摘要:
作者: #zhuanjiao
板块: #开发调优
编号:
1410172帖子: https://linux.do/t/topic/1410172
时间: 2026-01-06 09:48:09
摘要:
现在必须登录才能使用嘛。我配置了环境变量想用自己的api怎么输入gemini启动每次都直接跳转登录了呢。
标题: Baserow-开源版的Airtable
作者: #josenlou
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410180
时间: 2026-01-06 09:49:19
摘要:
作者: #josenlou
板块: #搞七捻三
编号:
1410180帖子: https://linux.do/t/topic/1410180
时间: 2026-01-06 09:49:19
摘要:
Baserow 是一款对标Airtable
但主打开源的数据库软件
除了可以透过以下的github部属自己的本地服务外
github.com
GitHub - baserow/baserow: Build databases, automations, apps & agents with...
Build databases, automations, apps & agents with AI — no code. Open source platform available on cloud and self-hosted. GDPR, HIPAA, SOC 2 compliant. Best Airtable alternative.
也可以透过官方的平台创建云数据库
目前看起来价格确实比Airtable本身更多(免费方案)
有兴趣可以试看看
标题: 反代 GCP 免费鸡流量怎么算
作者: #caoyufei
板块: #搞七捻三
编号:
帖子: https://linux.do/t/topic/1410187
时间: 2026-01-06 09:50:26
摘要:
作者: #caoyufei
板块: #搞七捻三
编号:
1410187帖子: https://linux.do/t/topic/1410187
时间: 2026-01-06 09:50:26
摘要:
用A机器反代 GCP免费鸡
A机器开了CF小黄云,免费鸡还走200G的流量不
标题: vibe 的一个小玩具,支持将 Antigravity 的额度用于 Claude Code, Codex 的工具,支持 docker
作者: #小野花
板块: #资源荟萃
编号:
帖子: https://linux.do/t/topic/1410191
时间: 2026-01-06 09:50:54
摘要:
作者: #小野花
板块: #资源荟萃
编号:
1410191帖子: https://linux.do/t/topic/1410191
时间: 2026-01-06 09:50:54
摘要:
Antigravity Manager 的简化版,去除客户端,增加 WebUI ,支持 docker 部署 与 非本地 Google Auth
AntiProxy