OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2022-02-09 a227dd7df7f84a5cfb7218042a6f844991dcfb96
src/main/webapp/scripts/components/HostingField/hostingField.service.js
@@ -6,7 +6,7 @@
define([
    'app'
], function (app) {
    app.factory("HostingField", ['$http', '$log', function ($http, $log) {
    app.factory("HostingField", ['$http', '$log', '$upload', function ($http, $log, $upload) {
        return {
            find : function (conditions) {
                return $http.post("hostingField/find", conditions).then(function (response) {
@@ -38,13 +38,20 @@
                    return response;
                });
            },
            importExcel : function (conditions) {
                conditions.url = "hostingField/importExcel";
                return $upload.upload(conditions).then(function (response) {
                    $log.debug("hostingField Import 결과 : ", response);
                    return response;
                });
            },
            // 업체/ISP/호스팅 조회
            getPartnerList : function (conditions) {
                return $http.post("company/getPartnerList", conditions).then(function (response) {
                    $log.debug("업체/isp/호스팅 목록 조회 결과 : ", response);
                    return response;
                });
            }
            },
        }
    }