...
|
...
|
@@ -151,7 +151,7 @@ class Folder extends Base { |
|
|
app()->e($ret[1]);
|
|
|
}
|
|
|
|
|
|
// 插入数据
|
|
|
// 插入数据,就算插入失败了,也会把文件夹同步回来
|
|
|
$id = db()->insert(folderSql::$table,[
|
|
|
'pid' => $parent['id']??0,
|
|
|
'email_id' => $email['id'],
|
...
|
...
|
@@ -160,9 +160,9 @@ class Folder extends Base { |
|
|
'uuid' => md5($email['id'].$origin_folder),
|
|
|
],false);
|
|
|
|
|
|
if(!$id){
|
|
|
app()->e('folder_create_save_error');
|
|
|
}
|
|
|
// if(!$id){
|
|
|
// app()->e('folder_create_save_error');
|
|
|
// }
|
|
|
|
|
|
// 查询
|
|
|
$folders = db()->all(
|
...
|
...
|
|