PageSourceSearch

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

js smartrack.live collected 2026-10-02 01:07:34 UTC 1,267 bytes, 31 lines download raw bytes

1angular.module('IotaSmart.service')
2
3    .service('ZeeReportService', function ($http, API_URL) {
4        return {
5            addDuty: function (data) {
6                return $http({
7                    method: 'POST',
8                    url: API_URL + "/reportservice/v1/report/save-newsdata",
9                    headers: { 'Content-Type': 'application/json' },
10                    data: data
11                }).then(function successCallback(response) {
12                    return response;
13                }, function errorCallback(error) {
14                    return error;
15                });
16            },
17            getReportList: function (userId, firstDate, lastDate) { //Get reportlist
18                return $http({
19                    method: 'GET',
20                    headers: { 'Content-Type': 'application/json' },
21                    url: API_URL + "/reportservice/v1/report/news-report",
22                    params: { "userId": userId, "fromDate": firstDate, 'toDate': lastDate }
23                }).then(function successCallback(response) {
24                    return response;
25                }, function errorCallback(error) {
26                    return [{}];
27                });
28            },
29
30        }
31    })

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.