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

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

parent d4d79d0a
......@@ -71,6 +71,7 @@ class CenterAction extends Action
//echo $rawData."\n";
$json = json_decode($rawData,true);
$spid=$json["spid"];
$pushMode = $json["push_mode"]; //
$url = $json["jsonUrl"];
$content = file_get_contents($url);
......@@ -119,8 +120,9 @@ class CenterAction extends Action
echo 'false';
}
}
$this->media_auto_push($data);
if ($pushMode=="1") {
$this->media_auto_push($data);
}
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