This commit is contained in:
wisz2021
2021-05-21 18:05:40 +08:00
parent 8b9ec9caa8
commit fcaadd0124
2 changed files with 23 additions and 6 deletions

View File

@ -699,7 +699,7 @@ function openTuan() {
function getAuthorShareCode(url) {
return new Promise(resolve => {
const options = {
url: `${url}?${new Date()}`, "timeout": 10000, headers: {
url: `${url}?${Date.now()}`, "timeout": 10000, headers: {
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 Edg/87.0.4280.88"
}
};