Merge pull request #82 from supergod001/main

更新了沪碳行答题url
This commit is contained in:
smallfawn
2023-08-29 23:08:07 +08:00
committed by GitHub

8
htx.js
View File

@@ -96,11 +96,11 @@ class UserInfo {
//答题
async dt () {
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 h = {
"Content-Type": "application/json; charset\u003dutf-8",
"Host": "carbon.lcago.cn",
"Host": "htx.lcago.cn",
}
let urlObject = popu(url, h, body)
// console.log(urlObject)
@@ -129,11 +129,11 @@ class UserInfo {
}
async tjda () {
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 h = {
"Content-Type": "application/json; charset\u003dutf-8",
"Host": "carbon.lcago.cn",
"Host": "htx.lcago.cn",
}
let urlObject = popu(url, h, body)
// console.log(urlObject)