From 0b42a6126bb73a9f7c3b5e154c9021de43f9d8c5 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 목, 11 11월 2021 17:13:29 +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