From 6ee7dd9c3d8cc211ee5a01bbe481cabbb9c890eb Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 월, 22 11월 2021 12:42:31 +0900 Subject: [PATCH] 이슈 상세 연관,하위 테이블 표시 설정 - [프론트] --- src/main/webapp/scripts/components/HostingField/hostingField.service.js | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/scripts/components/HostingField/hostingField.service.js b/src/main/webapp/scripts/components/HostingField/hostingField.service.js index ab89318..f06551f 100644 --- a/src/main/webapp/scripts/components/HostingField/hostingField.service.js +++ b/src/main/webapp/scripts/components/HostingField/hostingField.service.js @@ -9,11 +9,37 @@ app.factory("HostingField", ['$http', '$log', function ($http, $log) { return { find : function (conditions) { - return $http.post("HostingField/find", conditions).then(function (response) { + return $http.post("hostingField/find", conditions).then(function (response) { $log.debug("Hosting �븘�뱶 紐⑸줉 �뜲�씠�꽣 : ", response); return response; }); + }, + add : function (conditions) { + return $http.post("hostingField/add", conditions).then(function (response) { + $log.debug("HostingField �깮�꽦 寃곌낵 : ", response); + return response; + }); + }, + modify : function (conditions) { + return $http.post("hostingField/modify", conditions).then(function (response) { + $log.debug("HostingField �닔�젙 寃곌낵 : ", response); + return response; + }); + }, + detail : function (conditions) { + return $http.post("hostingField/detail", conditions).then(function (response) { + $log.debug("HostingField �긽�꽭 : ", response); + return response; + }); + }, + removes : function (conditions) { + return $http.post("hostingField/remove", conditions).then(function (response) { + $log.debug("HostingField �궘�젣 寃곌낵 : ", response); + return response; + }); } + + } } ]); -- Gitblit v1.8.0