Browse Source

wip:附件处理

wangshan 8 tháng trước cách đây
mục cha
commit
74f63ddc2b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 != "" {