rdluck 4 년 전
부모
커밋
24e1381cd8
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      services/tactics.go

+ 1 - 3
services/tactics.go

@@ -207,9 +207,7 @@ func BodyAnalysis(body string) (expertNumStr, expertContentStr, interviewDateStr
 				if rightIndex == 0 {
 					rightIndex = strings.Index(expertContent, ")")
 				}
-				fmt.Println("rightIndex:", rightIndex)
-				fmt.Println("expertContent", len(expertContent))
-				if len(expertContent) >= rightIndex {
+				if rightIndex > 0 {
 					expertNum := expertContent[:rightIndex]
 					expertNum = strings.Replace(expertNum, "(", "", -1)
 					expertNum = strings.Replace(expertNum, "(", "", -1)