feat: 缓存下微信 这个

This commit is contained in:
许永平
2025-07-05 14:49:39 +08:00
parent 87067011df
commit 0dbaa114ae
4 changed files with 394 additions and 15 deletions

View File

@@ -141,7 +141,7 @@ export const transformWechatAccount = (serverAccount: any): any => {
todayAdded,
remainingAdds: serverAccount.canAddFriendCount || (maxDailyAdds - todayAdded),
maxDailyAdds,
status: serverAccount.wechatAlive === 1 ? "normal" : "abnormal" as "normal" | "abnormal",
status: serverAccount.wechatStatus === 1 ? "normal" : "abnormal" as "normal" | "abnormal",
lastActive: new Date().toLocaleString() // 服务端未提供,使用当前时间
};
};