Commit c7c704ba by 杨昕

code format

parent af2d0283
Pipeline #18742 passed with stages
in 1 minute 36 seconds
...@@ -1112,8 +1112,8 @@ class MediaModel extends Eloquent ...@@ -1112,8 +1112,8 @@ class MediaModel extends Eloquent
$item = array(); $item = array();
if (isset($result["data"])){ if (isset($result["data"])){
$item["screen_shot"]["height"] = $result["data"]["height"]; $item["screen_shot"]["height"] = $result["data"]["height"];
$item["screen_shot"]["width"] = $result["data"]["height"]; $item["screen_shot"]["width"] = $result["data"]["width"];
$item["screen_shot"]["url"] = $result["data"]["width"]; $item["screen_shot"]["url"] = $result["data"]["screenshot"];
$flag = MediaModel::where("_id",$media_id)->update($item); $flag = MediaModel::where("_id",$media_id)->update($item);
if (!$flag){ if (!$flag){
......
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