update
This commit is contained in:
parent
d4918b467f
commit
9e5dc7072a
@ -264,6 +264,7 @@ const checkDonate = async (loginName = null, opayid = null, join = false) => {
|
||||
if (typeof loginName !== 'string' || loginName.trim().length === 0) return null
|
||||
if (typeof opayid !== 'string' || opayid.trim().length === 0) return null
|
||||
let url = `https://payment.opay.tw/Broadcaster/CheckDonate/${opayid}`
|
||||
console.log('check opay url ::::: ', url)
|
||||
let db = await DB.connect()
|
||||
|
||||
// console.log('check donate :::: ', loginName, opayid)
|
||||
@ -280,7 +281,8 @@ const checkDonate = async (loginName = null, opayid = null, join = false) => {
|
||||
url,
|
||||
data: {},
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0'
|
||||
},
|
||||
method: 'post'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user