OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2021-11-26 f2ad0cefdd2fc83040a5d915a2c7dd37783f4395
src/main/webapp/scripts/components/HostingField/hostingField.service.js
@@ -9,11 +9,43 @@
    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;
                });
            },
            // 업체/ISP/호스팅 조회
            getPartnerList : function (conditions) {
                return $http.post("company/getPartnerList", conditions).then(function (response) {
                    $log.debug("업체/isp/호스팅 목록 조회 결과 : ", response);
                    return response;
                });
            }
        }
    }
    ]);