changed dir

This commit is contained in:
marvzhang
2020-02-03 11:58:05 +08:00
parent 8fe18e8208
commit 2c410feed3
60 changed files with 1 additions and 1 deletions

View File

@@ -269,7 +269,7 @@ func InitSpiderService() error {
if model.IsMaster() {
// 添加Demo爬虫
templateSpidersDir := "../spiders"
templateSpidersDir := "./template/spiders"
for _, info := range utils.ListDir(templateSpidersDir) {
if !info.IsDir() {
continue