AlexTCX's recent timeline updates
AlexTCX

AlexTCX

V2EX member #681906, joined on 2024-03-25 22:06:00 +08:00
AlexTCX's recent replies
Apr 30, 2024
Replied to a topic by waiaan JavaScript 这段 if...else 有优雅的写法吗?
function onSortChange({ order, prop }) {
const sortTypes = {
descending: {
thisYearIncome: 1,
lastYearIncome: 3,
rate: 5
},
ascending: {
thisYearIncome: 2,
lastYearIncome: 4,
rate: 6
}
};

const sortType = sortTypes[order][prop] || 0;
this.fetchData(sortType);
}
Apr 14, 2024
Replied to a topic by xzour 程序员 内部系统如何优雅的管理各种第三方接口
可以考虑统一对外发布一个网关,api 都从这个地方走
Apr 6, 2024
Replied to a topic by Parry API 美股实时行情数据 API 接口
以前接过,实时不稳定,有一家 alltick api 的不错
Apr 6, 2024
Replied to a topic by cccn Java 前端如何快速转 Java
java 其实还行,只是学习成本比较大
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2826 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
♥ Do have faith in what you're doing.