MCPcopy
hub / github.com/chavyleung/scripts / DailyCheckin

Function DailyCheckin

qimao/qmnovel.js:230–245  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

228}
229
230function DailyCheckin(t) {
231 return new Promise(resolve => { setTimeout(() => {
232 url = { url: DCURL, headers: JSON.parse(DCKEY) }
233 qmnovel.get(url, (error, response, data) => {
234 try {
235 Totalresult.dailycheckin = JSON.parse(data)
236 qmnovel.log(`${cookieName}日常签到, data: ${data}`)
237 resolve('done');
238 } catch (e) {
239 qmnovel.log(`Error: ${error}`)
240 qmnovel.msg(cookieName, '日常签到结果: 失败‼️', '请查看错误日志‼️')
241 resolve('done')
242 }
243 })}, t)
244 })
245}
246
247function NoviceCheckin(t) {
248 return new Promise(resolve => { setTimeout(() => {

Callers 1

allFunction · 0.85

Calls 3

getMethod · 0.45
logMethod · 0.45
msgMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…