更新 'SrcJyPublic.js'

master
src48597962 4 months ago
parent 16fcbf6cb3
commit 8e68c3897b
  1. 6
      SrcJyPublic.js

@ -984,9 +984,9 @@ function shareResource() {
let textcontent = globalMap0.getVar('Jy_gmParams').zip(JSON.stringify(text));
try{
log('1');
let json = request('https://pasteme.tyrantg.com/api/update', {
"body": 'content='+JSON.stringify(text)+'&path='+it.path+'&auth_code='+it.token,
"method": 'POST'
let json = fetchPC('https://pasteme.tyrantg.com/api/update', {
"body": "content="+textcontent+"&path="+it.path+"&auth_code="+it.token,
"method": "POST"
})
log(json);
let pasteupdate = JSON.parse(json);

Loading…
Cancel
Save