Browse Source

Merge branch 'debug' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 year ago
parent
commit
576c1161e4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      services/company_permission.go

+ 2 - 0
services/company_permission.go

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