聆客开放平台

# get

发送GET请求。

# 输入

继承标准对象输入,扩展属性描述

名称 数据类型 必填 默认值 描述
url sting 请求地址
data Object 请求参数

# 输出

继承标准对象输出,无扩展属性

# 示例代码

var url="http://10.201.76.142:8500/dataservice.ashx?type=date";
app.get(url,{},function(res){
    $("#result").html("返回值类型:"+typeof(res)+" 结果:"+ JSON.stringify(res));
},function(res){
    app.alert(res);
});
//return
{"code":"200","returnValue":"2013/9/5 14:14:51"}