From 7042c385c3579479367f0e710d1b92f4e3878a42 Mon Sep 17 00:00:00 2001 From: jhjang <jhjang@maprex.co.kr> Date: 금, 03 12월 2021 17:40:53 +0900 Subject: [PATCH] - 버전 1.0으로 재정의(인터넷진흥원용 버전) - api 설정에 이슈타입 id, 사용자정의 필드 표시 하도록 수정 --- src/main/webapp/scripts/components/api/api.service.js | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 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..11382e0 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,36 @@ $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; + }); + }, + findApiOverlap : function (conditions) { + return $http.post("customFieldApiOverlap/find", conditions).then(function (response) { + $log.debug("�씠�뒋 �쑀�삎 以묐났媛� 議고쉶 寃곌낵 : ", response); + return response; + }); + }, + modifyApiOverlap : function (conditions) { + return $http.post("customFieldApiOverlap/modify", conditions).then(function (response) { + $log.debug("�씠�뒋 �쑀�삎 以묐났媛� �닔�젙 寃곌낵 : ", response); + return response; + }); + }, + findHistory : function (conditions) { + return $http.post("api/findHistory", conditions).then(function (response) { + $log.debug("API �씠�뒋 �벑濡� 湲곕줉 議고쉶 寃곌낵 : ", response); + return response; + }); } } } -- Gitblit v1.8.0