hsun %!s(int64=2) %!d(string=hai) anos
pai
achega
8a677df0eb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 		}