Skip to content

Let's use AI to Earn!

style: 1

Nevincc622e5b75ba
diff --git a/src/api/user.ts b/src/api/user.ts
index 7b2174bc..442adfc6 100644
--- a/src/api/user.ts
+++ b/src/api/user.ts
@@ -36,7 +36,10 @@ export const userApi = {
},
// 更新用户自动赚钱配置
- setUserEarnInfo(data: any) {
+ setUserEarnInfo(data: {
+ readonly status: 0 | 1,
+ readonly cycleInterval: number;
+ }) {
return http.put<IUserInfo>('/user/info/update', data);
},