瀏覽代碼

fix:企业画像免费用户打码修改

duxin 1 年之前
父節點
當前提交
2931e04fee

+ 2 - 2
src/jfw/modules/bigmember/src/service/portrait/memberPortraitAction.go

@@ -53,8 +53,8 @@ func (this *EntPortrait) EntDetail() {
 			return nil, err
 		}
 		vipData := jy.GetBigVipUserBaseMsg(this.Session(), *config.Middleground)
-		if (vipData.VipStatus <= 0 && vipData.Status <= 0 && vipData.EntnicheStatus <= 0) && entInfo["company_phone"] != "" {
-			entInfo["company_phone"] = maskCompanyPhone(qutil.InterfaceToStr(entInfo["company_phone"]))
+		if vipData.VipStatus <= 0 && vipData.Status <= 0 && vipData.EntnicheStatus <= 0 && entInfo["phone"] != "" {
+			entInfo["phone"] = maskCompanyPhone(qutil.InterfaceToStr(entInfo["phone"]))
 		}
 		return entInfo, nil
 	}()

+ 2 - 2
src/jfw/modules/bigmember/src/service/portrait/subvipPortraitAction.go

@@ -58,8 +58,8 @@ func (this *SubVipPortrait) SubVipEntDetail() {
 			return nil, err
 		}
 		vipData := jy.GetBigVipUserBaseMsg(this.Session(), *config.Middleground)
-		if (vipData.VipStatus <= 0 && vipData.Status <= 0 && vipData.EntnicheStatus <= 0 && equity != 3) && entInfo["company_phone"] != "" {
-			entInfo["company_phone"] = maskCompanyPhone(qutil.InterfaceToStr(entInfo["company_phone"]))
+		if vipData.VipStatus <= 0 && vipData.Status <= 0 && vipData.EntnicheStatus <= 0 && equity != 3 && entInfo["phone"] != "" {
+			entInfo["phone"] = maskCompanyPhone(qutil.InterfaceToStr(entInfo["phone"]))
 		}
 		return entInfo, nil
 	}()