Browse Source

fix: user已购模块

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

+ 1 - 1
logic/user/user.go

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