Commit 8b8994b7 by 杨昕

修改播放地址

parent 97117737
Pipeline #10096 passed with stages
in 38 seconds
......@@ -137,10 +137,8 @@ class MediaModel extends Eloquent
}
$media_url = $request->media_url;
LogModel::addlog(["meida_url before为"=> $media_url]);
$media_url = str_replace($media_url,"http:","https:".substr($media_url,6));
LogModel::addlog(["meida_url after为"=> $media_url]);
$media_url = str_replace("http:","https:".substr($media_url,6),$media_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