Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
fix: 账号删除,删除关联
Nevinf8f07b88d9ac
diff --git a/aitoearn_web/server/aitoearn-channel/src/core/skKey/skKey.service.ts b/aitoearn_web/server/aitoearn-channel/src/core/skKey/skKey.service.tsindex 6ef68a43..cca37a68 100644--- a/aitoearn_web/server/aitoearn-channel/src/core/skKey/skKey.service.ts+++ b/aitoearn_web/server/aitoearn-channel/src/core/skKey/skKey.service.ts@@ -38,6 +38,7 @@ export class SkKeyService {// 删除async del(key: string): Promise<boolean> {const res = await this.skKeyModel.deleteOne({ key });+ this.skKeyRefAccountModel.deleteMany({ key });return res.deletedCount > 0;}