add random delay (fix #1)

This commit is contained in:
2023-10-20 21:56:21 +08:00
parent 2ed58716bf
commit 5c8a9eb55e
4 changed files with 16 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
const { exit } = require("process")
const fs = require("fs")
const { default: axios } = require("axios")
const { log } = require("./logger")
const { log } = require("./util")
exports.ListNotificationURL = 'https://api-cloudgame.mihoyo.com/hk4e_cg_cn/gamer/api/listNotifications?is_sort=true&source=NotificationSourceUnknown&status=NotificationStatusUnread&type=NotificationTypePopup'
exports.AckNotificationURL = 'https://api-cloudgame.mihoyo.com/hk4e_cg_cn/gamer/api/ackNotification'