فهرست منبع

新增销售名称

rdluck 4 سال پیش
والد
کامیت
108d2ff585
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      controllers/article.go
  2. 1 0
      models/article.go

+ 1 - 0
controllers/article.go

@@ -133,6 +133,7 @@ func (this *ArticleController) Detail() {
 		}
 		if sellerItem != nil {
 			detail.SellerMobile = sellerItem.Mobile
+			detail.SellerName=sellerItem.RealName
 		}
 	} else { //潜在客户
 		if applyCount > 0 {

+ 1 - 0
models/article.go

@@ -55,6 +55,7 @@ type ArticleDetail struct {
 	ExpertNumber         string    `description:"专家编号"`
 	Department           string    `description:"作者"`
 	SellerMobile         string    `description:"销售手机号"`
+	SellerName           string    `description:"销售名称"`
 	ArticleIdMd5         string    `description:"纪要id"`
 }