@@ -235,7 +235,7 @@ func musicianTasks(userData types.LoginStatusData, data utils.RequestData, autoT
235235 }
236236 }()
237237 switch autoTasks [i ] {
238- case 399000 :
238+ case 749006 :
239239 log .Printf ("[%s] 执行音乐人签到任务中" , userData .Profile .Nickname )
240240 result , err := api .MusicianSign (data )
241241 if err != nil {
@@ -246,14 +246,14 @@ func musicianTasks(userData types.LoginStatusData, data utils.RequestData, autoT
246246 } else {
247247 log .Printf ("[%s] 音乐人签到失败: %s" , userData .Profile .Nickname , result .Message )
248248 }
249- case 398000 :
249+ case 740004 :
250250 log .Printf ("[%s] 执行发送动态任务中" , userData .Profile .Nickname )
251251 err := sendEventTask (userData , data )
252252 if err != nil {
253253 log .Println (err )
254254 }
255255 log .Printf ("[%s] 发送动态任务执行完成" , userData .Profile .Nickname )
256- case 393001 :
256+ case 732004 :
257257 log .Printf ("[%s] 执行回复评论任务中" , userData .Profile .Nickname )
258258 commentConfig := api.CommentConfig {
259259 ResType : api .ResTypeMusic ,
@@ -266,22 +266,22 @@ func musicianTasks(userData types.LoginStatusData, data utils.RequestData, autoT
266266 log .Println (err )
267267 }
268268 log .Printf ("[%s] 发送回复评论执行完成" , userData .Profile .Nickname )
269- case 395002 :
269+ case 755001 :
270270 log .Printf ("[%s] 执行发送私信任务中" , userData .Profile .Nickname )
271271 err := sendMsgTask (userData , config .SendMsgConfig .UserID [processingUser ], data )
272272 if err != nil {
273273 log .Println (err )
274274 }
275275 log .Printf ("[%s] 发送私信任务执行完成" , userData .Profile .Nickname )
276- case 135000 :
276+ case 744005 :
277277 log .Printf ("[%s] 执行发送 Mlog 任务中" , userData .Profile .Nickname )
278278 err := sendMlogTask (userData , data )
279279 if err != nil {
280280 log .Println (err )
281281 }
282282 log .Printf ("[%s] 发送 Mlog 任务执行完成" , userData .Profile .Nickname )
283- case 396002 :
284- log .Printf ("[%s] 执行发主创说任务中 " , userData .Profile .Nickname )
283+ case 396002 : // 待修复
284+ log .Printf ("[%s] 执行发布主创说任务中 " , userData .Profile .Nickname )
285285 commentConfig := api.CommentConfig {
286286 ResType : api .ResTypeMusic ,
287287 ResID : config .CommentConfig .RepliedComment [processingUser ].MusicID ,
@@ -606,7 +606,7 @@ func checkPathExists(path string) bool {
606606}
607607
608608func autoTaskAvail (val int ) bool {
609- availAutoTasks := []int {135000 , 399000 , 398000 , 393001 , 395002 , 396002 }
609+ availAutoTasks := []int {740004 , 744005 , 732004 , 755001 , 749006 } // 待修复
610610 for i := 0 ; i < len (availAutoTasks ); i ++ {
611611 if val == availAutoTasks [i ] {
612612 return true
0 commit comments