Commit 4eff2193 authored by 吴贤德's avatar 吴贤德

媒资修改接口容错处理

parent 27faa35b
......@@ -91,8 +91,8 @@ class CenterAction extends Action
$data["_starttime"]=$this->null2str($json["startTime"]);
$data["_updatetime"]=$this->null2str($json["updateTime"]);
$data["programType"]=$json["programType"];
$data["nodeId"]=$json["nodeId"];
$data["sp_id"]=$spid;
$data["nodeId"]=intval($json["nodeId"]);
$data["sp_id"]=intval($spid);
$model = D("Media");
$tmp = $model->field("id")->where("code='".$data['code']."'")->find();
......
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