vatOperationLogService.js 809 Bytes
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
webservices.factory('vatOperationLogService', ['$log', '$http', 'apiConfig',
    function ($log, $http, apiConfig) {
        'use strict';
        $log.debug('vatOperationLogService.ctor()...');
        return {
            addOperationLog: function (operationLog) {
                return $http.post('/operationlog/addOperationLog/', operationLog, apiConfig.createVat());
            },
             
            getOperationLogList: function (param) {
                return $http.post('/operationlog/getOperationLogList', {
                PageInfo: param.pageInfo,
                Period: param.period,
                ModuleID: param.moduleID,
                QueryValue: param.queryValue,
                UserId: param.userId
            }, apiConfig.createVat());
            }

        };

    }]);