@@ -238,9 +238,9 @@ func (this *ArticleController) Detail() {
}
//获取销售手机号
sellerItem, err := models.GetSellerByCompanyId(user.CompanyId)
- if err != nil {
+ if err != nil && err.Error() != utils.ErrNoRow() {
br.Msg = "获取信息失败"
- br.ErrMsg = "获取销售数据失败2,Err:" + strconv.Itoa(uid) + ";articleId" + strconv.Itoa(articleId)
+ br.ErrMsg = "获取销售数据失败2,Err:" + err.Error() + strconv.Itoa(uid) + ";articleId" + strconv.Itoa(articleId)
return
if sellerItem != nil {