mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 07:18:25 +08:00
Add files via upload
This commit is contained in:
8
htx.js
8
htx.js
@@ -96,11 +96,11 @@ class UserInfo {
|
|||||||
//答题
|
//答题
|
||||||
async dt () {
|
async dt () {
|
||||||
try {
|
try {
|
||||||
let url = `https://carbon.lcago.cn/community/requestQuestion`
|
let url = `https://htx.lcago.cn/community/requestQuestion`
|
||||||
let body = `{"token":"${this.ck[0]}","deviceCoding":"${this.ck[1]}","taskId":"EHD8472JSDS_htx"}`
|
let body = `{"token":"${this.ck[0]}","deviceCoding":"${this.ck[1]}","taskId":"EHD8472JSDS_htx"}`
|
||||||
let h = {
|
let h = {
|
||||||
"Content-Type": "application/json; charset\u003dutf-8",
|
"Content-Type": "application/json; charset\u003dutf-8",
|
||||||
"Host": "carbon.lcago.cn",
|
"Host": "htx.lcago.cn",
|
||||||
}
|
}
|
||||||
let urlObject = popu(url, h, body)
|
let urlObject = popu(url, h, body)
|
||||||
// console.log(urlObject)
|
// console.log(urlObject)
|
||||||
@@ -129,11 +129,11 @@ class UserInfo {
|
|||||||
}
|
}
|
||||||
async tjda () {
|
async tjda () {
|
||||||
try {
|
try {
|
||||||
let url = `https://carbon.lcago.cn/community/answerQuestion`
|
let url = `https://htx.lcago.cn/community/answerQuestion`
|
||||||
let body = `{"token":"${this.ck[0]}","deviceCoding":"${this.ck[1]}","questionId":${this.id},"answer":"${this.wer}"}`
|
let body = `{"token":"${this.ck[0]}","deviceCoding":"${this.ck[1]}","questionId":${this.id},"answer":"${this.wer}"}`
|
||||||
let h = {
|
let h = {
|
||||||
"Content-Type": "application/json; charset\u003dutf-8",
|
"Content-Type": "application/json; charset\u003dutf-8",
|
||||||
"Host": "carbon.lcago.cn",
|
"Host": "htx.lcago.cn",
|
||||||
}
|
}
|
||||||
let urlObject = popu(url, h, body)
|
let urlObject = popu(url, h, body)
|
||||||
// console.log(urlObject)
|
// console.log(urlObject)
|
||||||
|
|||||||
Reference in New Issue
Block a user