소스 검색

no message

xingzai 3 년 전
부모
커밋
93978396f4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      controllers/article.go

+ 1 - 0
controllers/article.go

@@ -208,6 +208,7 @@ func (this *ArticleController) Detail() {
 			//	}
 			//}
 			strnum := strings.Index(detail.SellerAndMobile, "-")
+			detail.SellerAndMobile = detail.SellerAndMobile[0:strnum]
 			if strnum > 0 {
 				nickName := detail.SellerAndMobile[0:strnum]
 				sellerAndMobile := &models.SellerRep{