Commit 41e27823 authored by zhuwei's avatar zhuwei

1

parent bc4363bb
......@@ -105,9 +105,11 @@ class News extends Basic
if ($id) {
$m_file = new SFile();
$file_data = [];
dump($data['annex_file_name']);
foreach ($data['annex_file_name'] as $k=>$v) {
echo $v['annex_file_name'];
echo $v['file_former_name'];
dump($v);
$file_data['file_name'] = $v['annex_file_name'];
$file_data['file_former_name'] = $v['file_former_name'];
$file_data['new_id'] = $id;
......
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