|
@@ -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)
|