Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何实现文档的批量上传 #81

Open
dwyanewind opened this issue Jun 23, 2021 · 3 comments
Open

如何实现文档的批量上传 #81

dwyanewind opened this issue Jun 23, 2021 · 3 comments

Comments

@dwyanewind
Copy link

我有上百个文档要传的话如何实现?

@dochub001
Copy link

dochub001 commented Sep 27, 2021

我是在这家订制的批量上传

https://www.cnblogs.com/xiaozhupeiqi/p/13986879.html

@holmesian
Copy link

在 UploadController 里增加一个函数,用 ScanDir 扫描指定的目录可以实现。

@wang-xiaowu
Copy link

在 UploadController 里增加一个函数,用 ScanDir 扫描指定的目录可以实现。

请问下,您是把beego升级了么,找不到包您是怎么解决的

..\github.com\TruthHun\DocHub\helper\helper.go:42:2: cannot find package "github.com/astaxie/beego/cache" in any of:
        C:\Users\94391\go\src\github.com\TruthHun\DocHub\vendor\github.com\astaxie\beego\cache (vendor tree)
        C:\Program Files\Go\src\github.com\astaxie\beego\cache (from $GOROOT)
        C:\Users\94391\go\src\github.com\astaxie\beego\cache (from $GOPATH)
..\github.com\TruthHun\DocHub\routers\router.go:9:2: cannot find package "github.com/astaxie/beego/context" in any of:
        C:\Users\94391\go\src\github.com\TruthHun\DocHub\vendor\github.com\astaxie\beego\context (vendor tree)
        C:\Program Files\Go\src\github.com\astaxie\beego\context (from $GOROOT)
        C:\Users\94391\go\src\github.com\astaxie\beego\context (from $GOPATH)
..\github.com\TruthHun\DocHub\helper\crawl\crawl.go:6:2: cannot find package "github.com/astaxie/beego/httplib" in any of:
        C:\Users\94391\go\src\github.com\TruthHun\DocHub\vendor\github.com\astaxie\beego\httplib (vendor tree)
        C:\Program Files\Go\src\github.com\astaxie\beego\httplib (from $GOROOT)
        C:\Users\94391\go\src\github.com\astaxie\beego\httplib (from $GOPATH)
..\github.com\TruthHun\DocHub\helper\logs.go:9:2: cannot find package "github.com/astaxie/beego/logs" in any of:
        C:\Users\94391\go\src\github.com\TruthHun\DocHub\vendor\github.com\astaxie\beego\logs (vendor tree)
        C:\Program Files\Go\src\github.com\astaxie\beego\logs (from $GOROOT)
        C:\Users\94391\go\src\github.com\astaxie\beego\logs (from $GOPATH)
..\github.com\TruthHun\DocHub\models\AdminModel.go:5:2: cannot find package "github.com/astaxie/beego/orm" in any of:
        C:\Users\94391\go\src\github.com\TruthHun\DocHub\vendor\github.com\astaxie\beego\orm (vendor tree)
        C:\Program Files\Go\src\github.com\astaxie\beego\orm (from $GOROOT)
        C:\Users\94391\go\src\github.com\astaxie\beego\orm (from $GOPATH)
..\github.com\TruthHun\DocHub\helper\valid.go:12:2: cannot find package "github.com/astaxie/beego/validation" in any of:
        C:\Users\94391\go\src\github.com\TruthHun\DocHub\vendor\github.com\astaxie\beego\validation (vendor tree)
        C:\Program Files\Go\src\github.com\astaxie\beego\validation (from $GOROOT)
        C:\Users\94391\go\src\github.com\astaxie\beego\validation (from $GOPATH)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants