| | |
| | | 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) { |
| | |
| | | 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; |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | } |
| | | } |