Explorar el Código

wip:附件处理

wangshan hace 8 meses
padre
commit
74f63ddc2b
Se han modificado 1 ficheros con 1 adiciones y 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 != "" {