ziwen 1 year ago
parent
commit
9e7c6a871c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      services/company_permission.go

+ 2 - 0
services/company_permission.go

@@ -144,6 +144,8 @@ func GetUserHasPermissionSimple(user *models.WxUserItem) (hasPermission int, err
 		}
 		if companyPermission != "" {
 			hasPermission = 1
+		} else {
+			hasPermission = 3
 		}
 	}
 	return