Browse Source

no message

zhangchuanxing 2 weeks ago
parent
commit
2f317e6039
1 changed files with 8 additions and 2 deletions
  1. 8 2
      services/user.go

+ 8 - 2
services/user.go

@@ -835,11 +835,17 @@ func GetUserhasPermissionReportSelection(user *models.WxUserItem) (hasPermission
 			hasPermission = 1
 		} else {
 			if applyCount > 0 {
-				hasPermission = 3
+				hasPermission = 5
 			} else {
-				hasPermission = 4
+				hasPermission = 2
 			}
 		}
+	} else {
+		if applyCount > 0 {
+			hasPermission = 5
+		} else {
+			hasPermission = 4
+		}
 	}
 	return
 }