소스 검색

no message

Jianghan 1 년 전
부모
커밋
90ec4b27ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {