5 如无特殊说明,返回的结果全部返回json格式的数据接口列表:1 根据189手机号码获取该用户所有开通的应用信息
接口地址:
/interface/11889/getAppListByPhone.php
传入参数: 参数名 参数含义 备注 phonenumber 指定用户的手机号码 该手机号码经过base64加密传出数据:
参数名 参数含义 备注 status 1表示处理成功,0表示处理失败
appListArr 已开通的应用列表(JSON数组) appListArr 参数名 参数含义 备注
name 应用名称
url 访问地址URL 不包含域名我是接口菜鸟请把具体步骤写下来以供参考谢谢
接口地址:
/interface/11889/getAppListByPhone.php
传入参数: 参数名 参数含义 备注 phonenumber 指定用户的手机号码 该手机号码经过base64加密传出数据:
参数名 参数含义 备注 status 1表示处理成功,0表示处理失败
appListArr 已开通的应用列表(JSON数组) appListArr 参数名 参数含义 备注
name 应用名称
url 访问地址URL 不包含域名我是接口菜鸟请把具体步骤写下来以供参考谢谢
$url = '/interface/11889/getAppListByPhone.php&phonenumber=' . $phonenumber;//发送选项
$opts = array(
'http'=>array(
'method'=>"GET",
'timeout'=>15,
)
);//发送
$context = @stream_context_create($opts);
$result = @file_get_contents($url,false,$context);
$obj = json_decode($result);
if(isset($obj) && $obj->status)
echo 'OK';
else
echo 'FALSE';
/interface/11889/redirectProfile.php
传入参数:参数名 参数含义 备注
phonenumber 指定用户的手机号码 该手机号码经过base64加密传出数据:无
谢谢 还有这个也不怎么明白给解释一下吧具体的代码