|
|
@ -1011,18 +1011,22 @@ function SRCSet() { |
|
|
|
for (var i = 0; i < 6; i++) { |
|
|
|
for (var i = 0; i < 6; i++) { |
|
|
|
num += Math.floor(Math.random() * 10); |
|
|
|
num += Math.floor(Math.random() * 10); |
|
|
|
} |
|
|
|
} |
|
|
|
var pasteurl = JSON.parse(request('https://netcut.cn/api/note/create/', { |
|
|
|
try{ |
|
|
|
headers: { 'Referer': 'https://netcut.cn/' }, |
|
|
|
var pasteurl = JSON.parse(request('https://netcut.cn/api/note/create/', { |
|
|
|
body: 'note_name=Juying'+num+'¬e_content='+base64Encode(text)+'¬e_pwd=0&expire_time=3600', |
|
|
|
headers: { 'Referer': 'https://netcut.cn/' }, |
|
|
|
method: 'POST' |
|
|
|
body: 'note_name=Juying'+num+'¬e_content='+base64Encode(text)+'¬e_pwd=0&expire_time=3600', |
|
|
|
})).data.note_id || ""; |
|
|
|
method: 'POST' |
|
|
|
|
|
|
|
})).data.note_id || ""; |
|
|
|
|
|
|
|
}catch(e){ |
|
|
|
|
|
|
|
var pasteurl = ""; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(pasteurl){ |
|
|
|
if(pasteurl){ |
|
|
|
let code = sm+'¥'+aesEncode('Juying', pasteurl)+'¥1小时内有效'; |
|
|
|
let code = sm+'¥'+aesEncode('Juying', pasteurl)+'¥1小时内有效'; |
|
|
|
copy(code); |
|
|
|
copy(code); |
|
|
|
return "toast://"+sm2; |
|
|
|
return "toast://"+sm2; |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
return "toast://分享失败,剪粘板异常"; |
|
|
|
return "toast://分享失败,剪粘板或网络异常"; |
|
|
|
} |
|
|
|
} |
|
|
|
}), |
|
|
|
}), |
|
|
|
img: "https://lanmeiguojiang.com/tubiao/more/3.png", |
|
|
|
img: "https://lanmeiguojiang.com/tubiao/more/3.png", |
|
|
|