PageSourceSearch

https://dfe.eprviamineira.com.br/content/js/angular/services/userService.js

js eprviamineira.com.br collected 2026-10-02 18:16:03 UTC 1,594 bytes, 62 lines download raw bytes

1(function (window, angular) {
2    'use strict';
3
4    angular
5        .module('RFPe')
6        .service('userService', userService);
7
8    userService.$inject = ['$http'];
9
10    function userService($http) {
11
12        this.getUser = function () {
13            return $http({
14                url: "/api/user/status",
15                method: "GET",
16                loader: false
17            });
18        };
19
20        this.getTasks = function (page) {
21            return $http({
22                url: "/api/user/tasks/" + page,
23                method: "GET",
24                loader: false
25            });
26        };
27
28        this.readTask = function (id) {
29            return $http({
30                url: "/api/user/tasks/read/" + id,
31                method: "POST",
32                loader: false
33            });
34        };
35
36        this.getNotifications = function (page) {
37            return $http({
38                url: "/api/user/notifications/" + page,
39                method: "GET",
40                loader: false
41            });
42        };
43
44        this.readNotification = function (id) {
45            return $http({
46                url: "/api/user/notifications/read/" + id,
47                method: "POST",
48                loader: false
49            });
50        };
51
52        this.checkUsername = function (username, id) {
53            return $http.get("/api/user/check-username?username=" + username + "&id=" + id);
54        };
55
56        this.checkEmail = function (email, id) {
57            return $http.get("/api/user/check-email?email=" + email + "&id=" + id);
58        };
59
60    }
61
62})(window, angular);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.