Explorar o código

wip:附件处理

wangshan hai 8 meses
pai
achega
74f63ddc2b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      jy_publishing/tool/task.go

+ 1 - 0
jy_publishing/tool/task.go

@@ -265,6 +265,7 @@ func InfoPub(info map[string]interface{}) {
 					i2["url"] = "oss"
 				}
 				saveMap["projectinfo"] = map[string]interface{}{"attachments": atts}
+				saveMap["isValidFile"] = true
 			}
 		} else if f == "discern_attach" {
 			if s := util.ObjToString(tmp[f]); s != "" {