|
@@ -58,7 +58,7 @@ func readDirRecursive(client *gowebdav.Client, path string) {
|
|
|
sp2 := strings.Split(entry.Name(), ".")
|
|
|
if len(sp2) < 2 || len(sp1) < 3 {
|
|
|
log.Println(file_path)
|
|
|
- db.Update("fileitem_err",
|
|
|
+ db.Update("yusuan_fileitem_err",
|
|
|
map[string]interface{}{"file_path": file_path},
|
|
|
map[string]interface{}{
|
|
|
"$set": map[string]interface{}{
|
|
@@ -73,7 +73,7 @@ func readDirRecursive(client *gowebdav.Client, path string) {
|
|
|
log.Println("sssssssssssssssssss")
|
|
|
}
|
|
|
|
|
|
- db.Update("fileitem",
|
|
|
+ db.Update("yusuan_fileitem",
|
|
|
map[string]interface{}{"file_path": file_path},
|
|
|
map[string]interface{}{
|
|
|
"$set": map[string]interface{}{
|