Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1237 commits
Select commit Hold shift + click to select a range
beae2b2
update
yichahucha May 24, 2020
2662692
update
yichahucha May 25, 2020
671986f
update
yichahucha May 27, 2020
7edd023
update
yichahucha May 27, 2020
5bdd818
update
yichahucha May 27, 2020
f547d15
update
yichahucha May 27, 2020
0767a20
update
yichahucha May 27, 2020
a8e022c
update
yichahucha May 27, 2020
896d4f6
update
yichahucha May 27, 2020
62c7f00
update
yichahucha May 27, 2020
777bd2a
update
yichahucha May 27, 2020
a6f5888
update
yichahucha May 27, 2020
365d6e2
Fix netflix season.
NobyDa May 28, 2020
c6175f9
Merge pull request #60 from NobyDa/patch-1
yichahucha May 28, 2020
be72033
update
yichahucha May 30, 2020
7f3eddb
update
yichahucha May 30, 2020
fbb0048
update
yichahucha May 30, 2020
673d872
update
yichahucha May 30, 2020
c644853
update
yichahucha May 31, 2020
d0dc3e5
update
yichahucha May 31, 2020
b09255b
update
yichahucha Jun 1, 2020
c154e70
update
yichahucha Jun 1, 2020
b37ab69
update
yichahucha Jun 1, 2020
84cc8f2
update
yichahucha Jun 1, 2020
cf10880
update
yichahucha Jun 6, 2020
b13d977
update
yichahucha Jun 6, 2020
68e50e7
update
yichahucha Jun 11, 2020
ae7fccc
update
yichahucha Jun 11, 2020
f108aca
update
yichahucha Jun 11, 2020
16e97a8
update
yichahucha Jun 11, 2020
d002659
update
yichahucha Jun 11, 2020
a200454
update
yichahucha Jun 11, 2020
fc2e2c0
update
yichahucha Jun 11, 2020
775bfa3
update
yichahucha Jun 11, 2020
e06d515
update
yichahucha Jun 11, 2020
53bb597
update
yichahucha Jun 11, 2020
8c7a983
update
yichahucha Jun 11, 2020
16521c6
update
yichahucha Jun 11, 2020
0794ca7
update
yichahucha Jun 11, 2020
81df3b0
update
yichahucha Jun 11, 2020
38f9025
fix
yichahucha Jun 11, 2020
e105373
update
yichahucha Jun 11, 2020
0b53c32
update
yichahucha Jun 11, 2020
1137d00
update
yichahucha Jun 11, 2020
b2463be
update
yichahucha Jun 11, 2020
0ce095f
Fix nf rating.
NobyDa Jun 12, 2020
592b96e
Merge pull request #61 from NobyDa/patch-2
yichahucha Jun 13, 2020
fde9c67
update
yichahucha Jun 14, 2020
a3be210
update
yichahucha Jun 14, 2020
e9fc672
update
yichahucha Jun 14, 2020
12357ea
update
yichahucha Jun 14, 2020
a5fa777
update
yichahucha Jun 14, 2020
0ed5647
update
yichahucha Jun 14, 2020
2135153
update
yichahucha Jun 14, 2020
6f95535
update
yichahucha Jun 14, 2020
418e671
update
yichahucha Jun 14, 2020
65eb3d8
update
yichahucha Jun 14, 2020
81f8ad2
update
yichahucha Jun 14, 2020
454dd67
update
yichahucha Jun 14, 2020
61de2a4
update
yichahucha Jun 14, 2020
02a3060
update
yichahucha Jun 14, 2020
f069823
update
yichahucha Jun 14, 2020
129f8cb
update
yichahucha Jun 14, 2020
f5f072e
update
yichahucha Jun 14, 2020
fc93b34
update
yichahucha Jun 14, 2020
1650ee0
update
yichahucha Jun 14, 2020
543bcc5
update
yichahucha Jun 14, 2020
aefaa04
Update eval_script.js
yichahucha Jun 14, 2020
46eb53e
Update clock_in.js
yichahucha Jun 15, 2020
21286be
update
yichahucha Jun 15, 2020
443194a
update
yichahucha Jun 15, 2020
ead058c
Update eval_script.js
yichahucha Jun 16, 2020
908609b
update
yichahucha Jun 16, 2020
9150640
update
yichahucha Jun 16, 2020
61d83c6
update
yichahucha Jun 16, 2020
64d9367
update
yichahucha Jun 16, 2020
bda7ef9
update
yichahucha Jun 16, 2020
aabdd94
update
yichahucha Jun 16, 2020
79f4523
update
yichahucha Jun 16, 2020
7478d50
update
yichahucha Jun 16, 2020
b229551
Update eval_script.js
yichahucha Jun 16, 2020
dccc7ee
update
yichahucha Jun 16, 2020
57a9557
update
yichahucha Jun 16, 2020
c74949b
update
yichahucha Jun 16, 2020
c468736
update
yichahucha Jun 16, 2020
7d734e1
update
yichahucha Jun 17, 2020
5fdec8d
update
yichahucha Jun 17, 2020
011b33f
update
yichahucha Jun 17, 2020
1fc8da9
update
yichahucha Jun 17, 2020
c4144a5
update
yichahucha Jun 17, 2020
cc59c01
update
yichahucha Jun 17, 2020
cec2ab7
update
yichahucha Jun 19, 2020
c3fdceb
update
yichahucha Jun 19, 2020
e47ff60
update
yichahucha Jun 19, 2020
3d45e9c
update
yichahucha Jun 19, 2020
11555e4
update
yichahucha Jun 19, 2020
826d51c
update
yichahucha Jun 19, 2020
50894de
update
yichahucha Jun 19, 2020
a4ae1e0
update
yichahucha Jun 19, 2020
efea066
update
yichahucha Jun 19, 2020
e44345d
update
yichahucha Jun 19, 2020
66caf88
update
yichahucha Jun 19, 2020
f2be443
update
yichahucha Jun 19, 2020
f520a38
update
yichahucha Jun 19, 2020
243bcbc
update
yichahucha Jun 19, 2020
c9d55e4
Update eval_script.js
yichahucha Jun 19, 2020
0d257b1
update
yichahucha Jun 19, 2020
9e4f648
update
yichahucha Jun 19, 2020
414ff1c
update
yichahucha Jun 19, 2020
5a2c383
update
yichahucha Jun 19, 2020
1968906
update
yichahucha Jun 19, 2020
f7850a6
update
yichahucha Jun 19, 2020
f230550
update
yichahucha Jun 19, 2020
58f05ad
update
yichahucha Jun 19, 2020
8b9b508
update
yichahucha Jun 19, 2020
c1fe8e1
update
yichahucha Jun 19, 2020
10176d1
update
yichahucha Jun 19, 2020
538261d
update
yichahucha Jun 19, 2020
b18cee5
update
yichahucha Jun 19, 2020
18aaab6
update
yichahucha Jun 19, 2020
8483777
Update nf_rating.js
yichahucha Jul 1, 2020
044bd95
Update wb_ad.js
toulanboy Jul 11, 2020
e5408d6
Update wb_ad.js
toulanboy Jul 11, 2020
72dcbbe
Update wb_ad.js
toulanboy Jul 11, 2020
7bdb3f1
Merge pull request #62 from toulanboy/master
yichahucha Jul 14, 2020
13ad624
Update README.md
yichahucha Jul 15, 2020
ffc4bcd
update
yichahucha Jul 30, 2020
de4ba34
update
yichahucha Jul 30, 2020
6a1f709
fix
yichahucha Aug 1, 2020
7bcbe0c
Update README.md
yichahucha Aug 1, 2020
02257ee
Update qx_sub.txt
yichahucha Aug 1, 2020
44afd06
Update sg_sub.sgmodule
yichahucha Aug 1, 2020
b64e48b
Update wb_ad.js
yichahucha Aug 8, 2020
8f1ecf9
Update wb_ad.js
yichahucha Aug 8, 2020
6fd33e6
rm photo ad
yichahucha Aug 8, 2020
80851f0
Update README.md
yichahucha Aug 8, 2020
074df64
Update qx_sub.txt
yichahucha Aug 8, 2020
ac003b8
Update sg_sub.sgmodule
yichahucha Aug 8, 2020
3c99beb
Update wb_ad.js
yichahucha Aug 8, 2020
e3775ec
Update wb_ad.js
yichahucha Aug 8, 2020
2584de4
Update wb_ad.js
yichahucha Aug 8, 2020
f0c7482
Update wb_ad.js
yichahucha Aug 8, 2020
45cb9ae
Update wb_ad.js
yichahucha Aug 8, 2020
e0ab113
Update wb_ad.js
yichahucha Aug 8, 2020
077dd0e
Update jd_price_lite.js
yichahucha Aug 9, 2020
1e0d309
fix
yichahucha Sep 2, 2020
45ad2be
Update clock_in.js
yichahucha Sep 24, 2020
e75ebea
Update clock_in.js
yichahucha Sep 24, 2020
8d29735
Create loon_sub.conf
yichahucha Oct 6, 2020
0a4eaad
Update README.md
yichahucha Oct 7, 2020
d313b5c
Update jd_price.js
yichahucha Oct 7, 2020
1a53b71
Update jd_price.js
yichahucha Oct 7, 2020
4c200b2
Update jd_price.js
yichahucha Oct 7, 2020
3a771af
Update jd_price.js
yichahucha Oct 7, 2020
a07c43b
Update jd_price.js
yichahucha Oct 7, 2020
bff69f0
Update jd_price.js
yichahucha Oct 7, 2020
90e3ab4
Update jd_price.js
yichahucha Oct 7, 2020
4f2e802
Update jd_price.js
yichahucha Oct 7, 2020
7c971cf
fixed, thanks @mieqq
zZPiglet Oct 27, 2020
7cb4844
Update jd_price.js
yichahucha Oct 27, 2020
1b75838
fix
yichahucha Oct 27, 2020
50bd9eb
Merge pull request #72 from zZPiglet/master
yichahucha Oct 27, 2020
e31bf48
Update README.md
yichahucha Nov 3, 2020
5afed03
Update README.md
yichahucha Dec 3, 2020
5040664
rm live/media_homelist
goosejar Dec 4, 2020
fdcc6f6
rm
goosejar Dec 4, 2020
b77b161
add LICENSE
goosejar Dec 28, 2020
7ea7e0c
fix
yichahucha Jan 26, 2021
6954fe0
Fix the error with launching jingfen app.
zZPiglet Mar 27, 2021
30de23e
Merge pull request #78 from zZPiglet/master
yichahucha Mar 29, 2021
56e0155
Update wb_ad.js
asukanan Mar 30, 2021
5de75e7
Update sg_sub.sgmodule
asukanan Mar 30, 2021
b13de29
Update README.md
asukanan Mar 31, 2021
c7b00a5
Update qx_sub.txt
asukanan Mar 31, 2021
de0b43e
Optimal pricing
goosejar Mar 31, 2021
0563544
Merge branch 'master' of https://github.com/yichahucha/surge
goosejar Mar 31, 2021
0a3c88d
Optimal pricing
goosejar Mar 31, 2021
ef9e8e8
Optimal pricing
yichahucha Mar 31, 2021
93cfae6
Optimal pricing
yichahucha Mar 31, 2021
418b3db
Optimal pricing
yichahucha Mar 31, 2021
4a74366
Update jd_price_lite.js
yichahucha Mar 31, 2021
85d6e21
Update jd_price_lite.js
yichahucha Mar 31, 2021
109f6a2
Update tb_price_lite.js
yichahucha Mar 31, 2021
821c6ba
Update tb_price_lite.js
yichahucha Mar 31, 2021
8b8704b
Update tb_price_lite.js
yichahucha Mar 31, 2021
a821ce8
Update tb_price_lite.js
yichahucha Mar 31, 2021
901b2a3
Update jd_price_lite.js
yichahucha Mar 31, 2021
047a99e
Update tb_price_lite.js
yichahucha Mar 31, 2021
783b557
Update tb_price_lite.js
yichahucha Mar 31, 2021
4409c49
Update jd_price_lite.js
yichahucha Mar 31, 2021
bad40c0
Update tb_price.js
yichahucha Mar 31, 2021
750d3ee
Update jd_price.js
yichahucha Mar 31, 2021
796bb03
Update tb_price_lite.js
yichahucha Mar 31, 2021
c06b3a8
Update jd_price_lite.js
yichahucha Mar 31, 2021
9385a28
Update tb_price_lite.js
yichahucha Mar 31, 2021
a5bc0e2
Update jd_price_lite.js
yichahucha Mar 31, 2021
2266b4b
Merge pull request #79 from ashurinn/master
yichahucha Apr 1, 2021
cc026c3
Add support for jdlite, jdpingou and jdHealth. Fix Quantumult X "$don…
zZPiglet Apr 13, 2021
c31bf71
Merge pull request #81 from zZPiglet/master
yichahucha Apr 14, 2021
4f1ac8f
Update README.md
asukanan Apr 19, 2021
1fe7c39
Update qx_sub.txt
asukanan Apr 19, 2021
c511706
Update sg_sub.sgmodule
asukanan Apr 19, 2021
74fd699
Merge pull request #82 from ashurinn/master
yichahucha Apr 19, 2021
990b71f
Update loon_sub.conf
yichahucha Apr 19, 2021
68e1e78
Add Douban rating support.
NobyDa May 1, 2021
697ab65
Update jd_price.js
yichahucha May 18, 2021
eb2e1d6
Merge pull request #85 from NobyDa/patch-3
yichahucha May 18, 2021
686bec7
Update README.md
yichahucha May 18, 2021
75646cc
Update README.md
yichahucha May 18, 2021
c997f4c
Update qx_sub.txt
yichahucha May 18, 2021
a7d1544
Update sg_sub.sgmodule
yichahucha May 18, 2021
2194028
Update loon_sub.conf
yichahucha May 18, 2021
66daf0d
fix
goosejar May 18, 2021
d76d8d6
new api
goosejar May 19, 2021
6d81ce5
fix
goosejar May 19, 2021
024778d
fix
goosejar May 19, 2021
9fb97e0
Update README.md
yichahucha May 19, 2021
5798880
change jd api
luotiandong Dec 2, 2021
6ef9d96
fix domain
luotiandong Dec 2, 2021
9eb3216
fix jd
luotiandong Dec 2, 2021
c04359e
Update jd_price.js
luotiandong Dec 2, 2021
c16d365
Merge pull request #94 from luotiandong/master
yichahucha Dec 9, 2021
e8da857
fix
goosejar Dec 9, 2021
8f3b6df
fix
goosejar Dec 9, 2021
ea9daed
fix
goosejar Dec 9, 2021
f3e87b9
fix
goosejar Dec 9, 2021
037fdda
fix
goosejar Dec 9, 2021
9f3ce57
fix
goosejar Dec 9, 2021
6ee264d
fix
goosejar Dec 9, 2021
cc7ac52
fix
goosejar Dec 9, 2021
7556c61
fix
goosejar Dec 9, 2021
82a250c
fix
goosejar Dec 9, 2021
6964a9c
fix
goosejar Dec 9, 2021
d16a5f5
Update README.md
yichahucha Dec 10, 2021
52bb771
fix
goosejar Dec 10, 2021
f5f0da1
Fix Douban rating.
NobyDa May 16, 2022
c5e305a
Merge pull request #102 from NobyDa/patch-4
yichahucha May 16, 2022
2d00aca
fix
yichahucha Jan 27, 2023
a772e0c
fix
yichahucha Jan 27, 2023
cbaaca2
fix
yichahucha Jan 27, 2023
3def675
fix
yichahucha Jan 27, 2023
acbcf45
fix
yichahucha Jan 27, 2023
14544b3
fix
yichahucha Jan 27, 2023
8ba0b02
fix
yichahucha Jan 27, 2023
e73634a
fix
yichahucha Jan 27, 2023
747efaa
fix
yichahucha Jan 27, 2023
613f9b2
fix
yichahucha Jan 27, 2023
ed4a255
Update README.md
yichahucha Jun 6, 2025
2779d0a
更新 README.md
yichahucha Jul 8, 2025
06d6e36
Fix.
yichahucha May 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Surge

Netflix ratings(IMDb、douban)
```properties
[Script]
nf_rating.js = type=http-request,pattern=^https?:\/\/ios(-.*)?\.prod\.ftl\.netflix\.com\/iosui\/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js
nf_rating.js = type=http-response,requires-body=1,pattern=^https?:\/\/ios(-.*)?\.prod\.ftl\.netflix\.com\/iosui\/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js
[MITM]
hostname = ios-*.prod.ftl.netflix.com,ios.prod.ftl.netflix.com
```

Wb
```properties
[Script]
http-response ^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js
http-response ^https?://m?api\.weibo\.c(n|om)/2/(messageflow/notice|search/(container_timeline|finder)|statuses/(container_timeline_hot|container_timeline_unread|container_timeline|unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count) requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js
[MITM]
hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com
```

~~Display jd historical price~~
```properties
[Script]
http-response ^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js
[MITM]
hostname = api.m.jd.com
```

~~Display taobao historical price~~
```properties
[Script]
http-response ^http://.+/amdc/mobileDispatch requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
http-response ^https?://trade-acs\.m\.taobao\.com/gw/mtop\.taobao\.detail\.getdetail requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
[MITM]
hostname = trade-acs.m.taobao.com
```

# Quan-X

Netflix ratings(IMDb、douban)
```properties
[rewrite_local]
^https?://ios(-.*)?\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D url script-request-header https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js
^https?://ios(-.*)?\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js
[mitm]
hostname = ios-*.prod.ftl.netflix.com,ios.prod.ftl.netflix.com
```

Wb
```properties
[rewrite_local]
^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js
^https?://m?api\.weibo\.c(n|om)/2/(messageflow/notice|search/(container_timeline|finder)|statuses/(container_timeline_hot|container_timeline_unread|container_timeline|unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js
[mitm]
hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com
```

~~Display jd historical price~~
```properties
[rewrite_local]
^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js
[mitm]
hostname = api.m.jd.com
```

~~Display taobao historical price~~
```properties
[rewrite_local]
^http://.+/amdc/mobileDispatch url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
^https?://trade-acs\.m\.taobao\.com/gw/mtop\.taobao\.detail\.getdetail url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
[mitm]
hostname = trade-acs.m.taobao.com
```
84 changes: 84 additions & 0 deletions clock_in.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/*
README:https://github.com/yichahucha/surge/tree/master
每日打卡提醒(corn "0 9,18 * * 1-5" 周一到周五,早九晚六)+ 每日壹句(有道词典)+ 跳转钉钉打卡页面
*/

const $tool = new Tool()
$tool.get('https://dict.youdao.com/infoline/style/cardList?mode=publish&client=mobile&style=daily&size=2', function (error, response, data) {
let obj = JSON.parse(data);
let date = new Date();
let isAM = date.getHours() < 12 ? true : false;
let title = 'Clock' + (isAM ? ' in' : ' out') + (isAM ? ' ☀️' : ' 🌙');
let subtitle = '';
let scheme = 'dingtalk://dingtalkclient/page/link?url=https://attend.dingtalk.com/attend/index.html';
let content = "";
let option = {"open-url" : scheme};
if (!error) {
if (obj && obj.length > 1) {
let yi = obj[1];
content = yi.title + '\n' + yi.summary;
option["media-url"] = yi.image[0];
}
}
$tool.notify(title, subtitle, content, option);
$done();
})

function Tool() {
_node = (() => {
if (typeof require == "function") {
const request = require('request')
return ({ request })
} else {
return (null)
}
})()
_isLoon = typeof $loon !== "undefined";
_isSurge = typeof $httpClient != "undefined" && !_isLoon;
_isQuanX = typeof $task != "undefined"
this.isSurge = _isSurge
this.isQuanX = _isQuanX
this.isResponse = typeof $response != "undefined"
this.notify = (title, subtitle, message, option) => {
if (_isQuanX) $notify(title, subtitle, message, option)
if (_isSurge) $notification.post(title, subtitle, message, {"url":option["open-url"]})
if (_isLoon) $notification.post(title, subtitle, message, option["open-url"])
if (_node) console.log(JSON.stringify({ title, subtitle, message }));
}
this.write = (value, key) => {
if (_isQuanX) return $prefs.setValueForKey(value, key)
if (_isSurge) return $persistentStore.write(value, key)
}
this.read = (key) => {
if (_isQuanX) return $prefs.valueForKey(key)
if (_isSurge) return $persistentStore.read(key)
}
this.get = (options, callback) => {
if (_isQuanX) {
if (typeof options == "string") options = { url: options }
options["method"] = "GET"
$task.fetch(options).then(response => { callback(null, _status(response), response.body) }, reason => callback(reason.error, null, null))
}
if (_isSurge) $httpClient.get(options, (error, response, body) => { callback(error, _status(response), body) })
if (_node) _node.request(options, (error, response, body) => { callback(error, _status(response), body) })
}
this.post = (options, callback) => {
if (_isQuanX) {
if (typeof options == "string") options = { url: options }
options["method"] = "POST"
$task.fetch(options).then(response => { callback(null, _status(response), response.body) }, reason => callback(reason.error, null, null))
}
if (_isSurge) $httpClient.post(options, (error, response, body) => { callback(error, _status(response), body) })
if (_node) _node.request.post(options, (error, response, body) => { callback(error, _status(response), body) })
}
_status = (response) => {
if (response) {
if (response.status) {
response["statusCode"] = response.status
} else if (response.statusCode) {
response["status"] = response.statusCode
}
}
return response
}
}
Loading