From 577502fbd1ec01a3023ca0eb515ab6ec52d67a5e Mon Sep 17 00:00:00 2001 From: jhjang <jhjang@maprex.co.kr> Date: 금, 26 11월 2021 17:21:29 +0900 Subject: [PATCH] - api 기본값 설정 기능 추가 --- src/main/webapp/scripts/components/api/api.service.js | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/scripts/components/api/api.service.js b/src/main/webapp/scripts/components/api/api.service.js index b95c0c1..9dd5537 100644 --- a/src/main/webapp/scripts/components/api/api.service.js +++ b/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; + }); } } } -- Gitblit v1.8.0