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