Browse Source

no message

xingzai 3 years ago
parent
commit
93978396f4
1 changed files with 1 additions and 0 deletions
  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{