hsun 2 years ago
parent
commit
8a677df0eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      logic/user/user.go

+ 1 - 1
logic/user/user.go

@@ -418,7 +418,7 @@ func GetUserTabBar(userInfo user.UserInfo, version string) (list []string, err e
 		err = errors.New("获取客户信息失败, Err: " + e.Error())
 		return
 	}
-	if companyProduct != nil {
+	if companyProduct != nil && companyProduct.Status != "" {
 		if strings.Contains("永续,正式", companyProduct.Status) {
 			authOk = true
 		}