js2ts: msg(WIP)
This commit is contained in:
+7
-1
@@ -118,7 +118,13 @@ async function responseMessage(msgID: number, responseAct: boolean):Promise<void
|
|||||||
const response = await axios({
|
const response = await axios({
|
||||||
url: 'j_msg_decide_opt.php',
|
url: 'j_msg_decide_opt.php',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
responseType: 'json'
|
responseType: 'json',
|
||||||
|
data: convertFormData({
|
||||||
|
data: JSON.stringify({
|
||||||
|
msgID:msgID,
|
||||||
|
response:responseAct
|
||||||
|
})
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
const result: InvalidResponse = response.data;
|
const result: InvalidResponse = response.data;
|
||||||
|
|||||||
Reference in New Issue
Block a user