Jianghan 1 an în urmă
părinte
comite
90ec4b27ef
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      CMPlatform/service/data_ent.go

+ 1 - 1
CMPlatform/service/data_ent.go

@@ -100,7 +100,7 @@ func ImportDataByExcel(mf multipart.File, eid int64, entid string) (int, int64,
 	fMap := make(map[int]string) //字段位置
 	sheet := xls.Sheets[0]
 	rows := sheet.Rows
-	ch := make(chan bool, 10) // 协程处理
+	ch := make(chan bool, 20) // 协程处理
 	wg := &sync.WaitGroup{}
 	for rn, row := range rows {
 		if rn == 0 {