소스 검색

no message

zhangchuanxing 2 달 전
부모
커밋
2f317e6039
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  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
 }