update
This commit is contained in:
4
index.js
4
index.js
@@ -15,8 +15,8 @@ exports.main_handler = async (event, context, callback) => {
|
|||||||
// eval(response.body)
|
// eval(response.body)
|
||||||
//})
|
//})
|
||||||
|
|
||||||
//3.执行github远端的js文件
|
//3.执行github远端的js文件(因github的raw类型的文件被墙,此方法云函数非)
|
||||||
request('https://raw.githubusercontent.com/lxk0301/jd_scripts/master/'+v+'.js', function (error, response, body) {
|
request('https://raw.githubusercontent.com/lxk0301/jd_scripts/master/' + v + '.js', function (error, response, body) {
|
||||||
eval(response.body)
|
eval(response.body)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user