PageSourceSearch

https://smartrack.live/js/service/notification-service.js

js smartrack.live collected 2026-10-02 01:07:36 UTC 798 bytes, 18 lines download raw bytes

1angular.module('IotaSmart.service')
2
3    .service('NotificationService', function ($http, API_URL) {
4        return {
5            getNotifications: function (userId, pageNumber, from, to, deviceId) {
6                return $http({
7                    method: 'GET',
8                    headers: { 'Content-Type': 'application/json' },
9                    url: API_URL + "/reportservice/v1/notificationreport/list",
10                    params: { 'userId': userId, 'pageNumber': pageNumber, 'firstDate': from, 'lastDate': to, 'deviceId': deviceId }
11                }).then(function successCallback(response) {
12                    return response;
13                }, function errorCallback(error) {
14                    return error;
15                });
16            },
17        }
18    })

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.