Commit f31e45ae by 杨昕

修改请求参数

parent 5f36855e
Pipeline #18730 passed with stages
in 1 minute 32 seconds
......@@ -1102,7 +1102,7 @@ class MediaModel extends Eloquent
'Content-Type'=>"application/json",
);
$res = http_request_code($playbackUrl."/api/v1/vodRecordInfo",$header,'POST',$params,5);
$res = http_request_code($playbackUrl."/api/v1/vodRecordInfo",$header,'POST',json_encode($params),5);
$result = json_decode($res,true);
LogModel::addlog(["第三方获取媒资 screenshot 数据"=>$res,"请求参数"=>$params,"请求路径"=>$playbackUrl]);
$item = array();
......
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