mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
Update test.js
This commit is contained in:
10
test.js
10
test.js
@@ -2,12 +2,12 @@
|
|||||||
// $request.scheme, $request.method, $request.url, $request.path, $request.body, $request.headers
|
// $request.scheme, $request.method, $request.url, $request.path, $request.body, $request.headers
|
||||||
// $response.statusCode, $response.headers, $response.body
|
// $response.statusCode, $response.headers, $response.body
|
||||||
|
|
||||||
var body = $response.body;
|
//var body = $response.body;
|
||||||
var obj = JSON.parse(body);
|
//var obj = JSON.parse(body);
|
||||||
|
|
||||||
//$notify("HAHA", "Sucess");
|
//$notify("HAHA", "Sucess");
|
||||||
$notification.post("HAHA", "Sucess");
|
$notification.post("HAHA", "Sucess");
|
||||||
obj['result'] = 0;
|
//obj['result'] = 0;
|
||||||
body = JSON.stringify(obj);
|
//body = JSON.stringify(obj);
|
||||||
|
|
||||||
$done(body);
|
//$done(body);
|
||||||
|
|||||||
Reference in New Issue
Block a user