mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 17:15: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
|
||||
// $response.statusCode, $response.headers, $response.body
|
||||
|
||||
var body = $response.body;
|
||||
var obj = JSON.parse(body);
|
||||
//var body = $response.body;
|
||||
//var obj = JSON.parse(body);
|
||||
|
||||
//$notify("HAHA", "Sucess");
|
||||
$notification.post("HAHA", "Sucess");
|
||||
obj['result'] = 0;
|
||||
body = JSON.stringify(obj);
|
||||
//obj['result'] = 0;
|
||||
//body = JSON.stringify(obj);
|
||||
|
||||
$done(body);
|
||||
//$done(body);
|
||||
|
||||
Reference in New Issue
Block a user