Skip to content

Commit

Permalink
Update dkd_coin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSiMai authored Feb 24, 2021
1 parent 0006b6f commit d9c6d59
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions dkd_coin.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,17 +323,21 @@ if(result.status_code == 10020){
},timeout)
})
}
//多看点

function dkdyq(timeout = 0) {
return new Promise((resolve) => {
let url = {
url : 'http://dkd-api.dysdk.com/inviter/bind',
url : 'http://dkd-api.dysdk.com/inviter/bind?'+dkdbody&code=13834451,
headers : JSON.parse(dkdhd),
body : 'code=13209301&'+dkdbody,}
body : '',}
$.post(url, async (err, resp, data) => {
try {
//$.log(dkdbody)
const result = JSON.parse(data)
if(result.status_code == 200){
console.log('邀请,回执:成功🌝 '+result.message)}
if(result.status_code == 10020){
console.log('邀请,回执:失败🚫 '+result.message)}
} catch (e) {
//$.logErr(e, resp);
} finally {
Expand Down

0 comments on commit d9c6d59

Please sign in to comment.