瀏覽代碼

fix: 同步商机管理状态判断逻辑

zhangxinlei1996 2 年之前
父節點
當前提交
1ae9d49be1
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      common/src/qfw/util/jy/switchService.go

+ 4 - 0
common/src/qfw/util/jy/switchService.go

@@ -62,6 +62,10 @@ func (s *switchService) GetEntniche(session *httpsession.Session, middleground m
 		      }
 	        }*/
 	entniche := data.Data.Entniche.Status > 0
+	//有商机管理服务的用户 就不是商机管理用户 逻辑同isadd中商机管理用户状态判断
+	if isEntService = data.Ent.PowerSource > 0 && data.Entniche.IsEntPower > 0; isEntService {
+		entniche = false
+	}
 	if data != nil {
 		if i_member_status := data.Status; v == s.Member && i_member_status > 0 {
 			return s.Member