marvzhang
2020-07-20 21:52:32 +08:00
parent 1bac2f6096
commit 91e084a6a3

View File

@@ -58,7 +58,7 @@ func DownloadRepo(fullName string, userId bson.ObjectId) (err error) {
spider := model.GetSpiderByName(spiderName)
if spider.Name == "" {
// 新增
spider := model.Spider{
spider = model.Spider{
Id: bson.NewObjectId(),
Name: spiderName,
DisplayName: spiderName,