Skip to content

Let's use AI to Earn!

style: 1

yikaJasonMicea390b14ac84
diff --git a/electron/main/autoRun/controller.ts b/electron/main/autoRun/controller.ts
index 5769377d..33ecbe5d 100644
--- a/electron/main/autoRun/controller.ts
+++ b/electron/main/autoRun/controller.ts
@@ -1,11 +1,11 @@
/*
* @Author: nevin
* @Date: 2025-01-20 22:02:54
- * @LastEditTime: 2025-03-19 07:46:54
+ * @LastEditTime: 2025-03-19 14:08:16
* @LastEditors: nevin
* @Description: autoRun AutoRun
*/
-import { Controller, Icp, Inject } from '../core/decorators';
+import { Controller, Icp, Inject, Scheduled } from '../core/decorators';
import { AutoRunService } from './service';
import { AutoRunType } from '../../db/models/autoRun';
import { getUserInfo } from '../user/comment';
@@ -102,4 +102,14 @@ export class AutoRunController {
return list;
}
+
+ // 每5分钟进行一次自动启动
+ @Scheduled('*/1 * * * *', 'all_auto_run_start')
+ async syncAllAutoRunStart() {
+ try {
+ console.log('------- 111');
+ } catch (error) {
+ console.error('Failed to sync accounts:', error);
+ }
+ }
}
diff --git a/electron/main/reply/controller.ts b/electron/main/reply/controller.ts
index 48ee3bc5..1ba677ef 100644
--- a/electron/main/reply/controller.ts
+++ b/electron/main/reply/controller.ts
@@ -1,7 +1,7 @@
/*
* @Author: nevin
* @Date: 2025-01-20 22:02:54
- * @LastEditTime: 2025-02-06 19:14:12
+ * @LastEditTime: 2025-03-19 12:18:37
* @LastEditors: nevin
* @Description: reply Reply
*/
diff --git a/src/layout/Navigation/navigation.module.scss b/src/layout/Navigation/navigation.module.scss
index d667f8b2..909cce17 100644
--- a/src/layout/Navigation/navigation.module.scss
+++ b/src/layout/Navigation/navigation.module.scss
@@ -69,4 +69,5 @@
}
.navigation-darwin {
+ padding-left: 80px;
}