Commit 35b13d7c authored by 吴贤德's avatar 吴贤德

中心接口:媒资自动转推判断

parent d4d79d0a
...@@ -71,6 +71,7 @@ class CenterAction extends Action ...@@ -71,6 +71,7 @@ class CenterAction extends Action
//echo $rawData."\n"; //echo $rawData."\n";
$json = json_decode($rawData,true); $json = json_decode($rawData,true);
$spid=$json["spid"]; $spid=$json["spid"];
$pushMode = $json["push_mode"]; //
$url = $json["jsonUrl"]; $url = $json["jsonUrl"];
$content = file_get_contents($url); $content = file_get_contents($url);
...@@ -119,8 +120,9 @@ class CenterAction extends Action ...@@ -119,8 +120,9 @@ class CenterAction extends Action
echo 'false'; echo 'false';
} }
} }
if ($pushMode=="1") {
$this->media_auto_push($data); $this->media_auto_push($data);
}
exit; exit;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment