作者 潘浩文
1 个管道 的构建 通过 耗费 1 秒

接口

@@ -137,8 +137,8 @@ class AdminSignController extends AdminBaseController @@ -137,8 +137,8 @@ class AdminSignController extends AdminBaseController
137 $fileUrl = cmf_asset_relative_url($url); 137 $fileUrl = cmf_asset_relative_url($url);
138 array_push( $param['music'] , ["url" => $fileUrl, "name" => $param['video_names'][$key]]); 138 array_push( $param['music'] , ["url" => $fileUrl, "name" => $param['video_names'][$key]]);
139 } 139 }
140 - }  
141 $param['music']=json_encode($param['music']); 140 $param['music']=json_encode($param['music']);
  141 + }
142 unset($param['video_names']); 142 unset($param['video_names']);
143 unset($param['video_urls']); 143 unset($param['video_urls']);
144 Db::name('sign_image')->where('id',$param['id'])->update($param); 144 Db::name('sign_image')->where('id',$param['id'])->update($param);