|
@@ -1,7 +1,9 @@
|
|
|
package portrait
|
|
|
|
|
|
import (
|
|
|
+ "app.yhyue.com/moapp/jypkg/common/src/qfw/util/jy"
|
|
|
"fmt"
|
|
|
+ "jy/src/jfw/modules/bigmember/src/config"
|
|
|
"jy/src/jfw/modules/bigmember/src/entity"
|
|
|
"jy/src/jfw/modules/bigmember/src/util"
|
|
|
"log"
|
|
@@ -11,7 +13,6 @@ import (
|
|
|
. "app.yhyue.com/moapp/jybase/api"
|
|
|
qutil "app.yhyue.com/moapp/jybase/common"
|
|
|
"app.yhyue.com/moapp/jybase/encrypt"
|
|
|
-
|
|
|
"app.yhyue.com/moapp/jybase/go-xweb/xweb"
|
|
|
)
|
|
|
|
|
@@ -42,7 +43,7 @@ type EntPortrait struct {
|
|
|
func (this *EntPortrait) EntDetail() {
|
|
|
userId := qutil.ObjToString(this.GetSession("userId"))
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
- cepm, _, err, equity := entity.CreatePortraitManager(this.Session(), "entDetail")
|
|
|
+ cepm, _, err, _ := entity.CreatePortraitManager(this.Session(), "entDetail")
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -51,7 +52,8 @@ func (this *EntPortrait) EntDetail() {
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
- if !equity && entInfo["company_phone"] != "" {
|
|
|
+ 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"]))
|
|
|
}
|
|
|
return entInfo, nil
|