OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2021-11-26 577502fbd1ec01a3023ca0eb515ab6ec52d67a5e
src/main/webapp/scripts/components/api/api.service.js
@@ -3,7 +3,7 @@
define([
    'app'
], function (app) {
    app.factory("Api", ['$http', '$log', function ($http, $log) {
    app.factory(  "Api", ['$http', '$log', function ($http, $log) {
        return {
            find : function (conditions) {
                return $http.post("apiToken/find", conditions).then(function (response) {
@@ -22,6 +22,18 @@
                    $log.debug("토큰 삭제 결과 : ", response);
                    return response;
                });
            },
            findApiDefault : function (conditions) {
                return $http.post("issueApiDefault/find", conditions).then(function (response) {
                    $log.debug("이슈 유형 초기값 조회 결과 : ", response);
                    return response;
                });
            },
            modifyApiDefault : function (conditions) {
                return $http.post("issueApiDefault/modify", conditions).then(function (response) {
                    $log.debug("이슈 유형 초기값 수정 결과 : ", response);
                    return response;
                });
            }
        }
    }