正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -61,7 +61,7 @@ class HotMailArchive { | @@ -61,7 +61,7 @@ class HotMailArchive { | ||
| 61 | 61 | ||
| 62 | public function move($fid){ | 62 | public function move($fid){ | 
| 63 | _echo('正在移动 '.$fid); | 63 | _echo('正在移动 '.$fid); | 
| 64 | - $list = $this->db->all(\Model\listsSql::first(dbWhere(['folder_id'=>$fid,'is_hots'=>1])).'000'); | 64 | + $list = $this->db->all(\Model\listsSql::first(dbWhere(['folder_id'=>$fid,'is_hots'=>1])).'0000'); | 
| 65 | if($list){ | 65 | if($list){ | 
| 66 | $this->db->transaction(function () use ($list){ | 66 | $this->db->transaction(function () use ($list){ | 
| 67 | foreach ($list as $item){ | 67 | foreach ($list as $item){ | 
| @@ -78,7 +78,7 @@ class HotMailArchive { | @@ -78,7 +78,7 @@ class HotMailArchive { | ||
| 78 | } | 78 | } | 
| 79 | return true; | 79 | return true; | 
| 80 | }); | 80 | }); | 
| 81 | - | 81 | + $list = null; | 
| 82 | $this->move($fid); | 82 | $this->move($fid); | 
| 83 | } | 83 | } | 
| 84 | 84 | 
- 
请 注册 或 登录 后发表评论