Commit be7366fc authored by 吴贤德's avatar 吴贤德

中心接口:注释备注

parent 253bbd7d
...@@ -172,15 +172,19 @@ class CenterAction extends Action ...@@ -172,15 +172,19 @@ class CenterAction extends Action
* 修改云端片库媒资信息 * 修改云端片库媒资信息
* 参数: * 参数:
* site_id * site_id
* push_mode : 是否转推:0不转推,1转推(写入酒店片库) * sps : [{"sp_id":"1","push_mode":"1"},{"sp_id":"2","push_mode":"0"}]
* url : 华数媒资详情url * $json["jsonUrl"]
* $json["newsId"]
* $json["newsName"]
* $json["nodeId"]
* $json["nodeName"]
*
*/ */
public function media_update(){ public function media_update(){
$rawData = @file_get_contents("php://input"); $rawData = @file_get_contents("php://input");
//echo $rawData."\n"; //echo $rawData."\n";
$inputJson = json_decode($rawData,true); $inputJson = json_decode($rawData,true);
$site_id=$inputJson["site_id"]; $site_id=$inputJson["site_id"];
$pushMode = $inputJson["push_mode"]; //
$url = $inputJson["jsonUrl"]; $url = $inputJson["jsonUrl"];
$content = file_get_contents($url); $content = file_get_contents($url);
......
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