|
@@ -47,12 +47,17 @@ class OrderController extends CommonController {
|
|
$map['version'] = I('version');
|
|
$map['version'] = I('version');
|
|
$map['mac'] = I('mac');
|
|
$map['mac'] = I('mac');
|
|
$map['fromsource'] = 15;
|
|
$map['fromsource'] = 15;
|
|
|
|
+ $map['stb_id'] = I('stb_id');
|
|
|
|
+ $map['epgCityCode'] =I('epgCityCode');
|
|
|
|
+ $map['epgProvince'] = I('epgProvince');
|
|
|
|
+ $map['accountIdentity'] = I('accountIdentity');
|
|
$prame = http_build_query($map);
|
|
$prame = http_build_query($map);
|
|
- //$url = 'http://183.215.118.129:6600/SPM/Interface/ContentCmccAuth.action?' . $prame;
|
|
|
|
- $url = 'http://hnydiptvspmanager.yys.mgtv.com:6600/SPM/Interface/ContentCmccAuth.action?' . $prame;
|
|
|
|
|
|
+ // $url = 'http://10.2.219.176:6600/SPM/Interface/ContentCmccAuth.action?' . $prame;
|
|
|
|
+
|
|
|
|
+ $url = 'http://10.2.219.139:6600/SPM/Interface/ContentCmccIPTVAuth.action?' . $prame;
|
|
// \Think\Log::record('-------contentCTCAuth url------' . $url, \Think\Log::INFO); //记录参数
|
|
// \Think\Log::record('-------contentCTCAuth url------' . $url, \Think\Log::INFO); //记录参数
|
|
$result = $this->http($url);
|
|
$result = $this->http($url);
|
|
- Writelog(json_encode($result,JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES),$url,'activityv2');
|
|
|
|
|
|
+ Writelog(json_encode($result,JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES),$url,'auth');
|
|
if ($result[0] != 200) {
|
|
if ($result[0] != 200) {
|
|
$this->responseError('接口请求失败');
|
|
$this->responseError('接口请求失败');
|
|
}
|
|
}
|