Skip to content

Commit

Permalink
Create getLiveinfo
Browse files Browse the repository at this point in the history
Bmob后端代码
  • Loading branch information
bestony committed Jan 7, 2016
1 parent 9c0e269 commit 1f15e78
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions getLiveinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function onRequest(request, response, modules) {

var http=modules.oHttp;
http('https://api.kiwivm.it7.net/v1/getLiveServiceInfo?veid='+request.body.veid+'&api_key='+request.body.key, function (error, res, body) {
if (!error && res.statusCode == 200) {
response.send(body);
}
})
}

0 comments on commit 1f15e78

Please sign in to comment.