/** * Created by wisestone on 2018-01-30. */ 'use strict'; define(['app'], function (app) { app.factory("IssueSearch", ['$http', '$log', function ($http, $log) { return { add : function (conditions) { return $http.post("issueSearch/add", conditions).then(function (response) { $log.debug("이슈 검색 조건 등록 결과 : ", response); return response; }); }, remove : function (conditions) { return $http.post("issueSearch/remove", conditions).then(function (response) { $log.debug("이슈 검색 조건 삭제 결과 : ", response); return response; }); }, detail : function (conditions) { return $http.post("issueSearch/detail", conditions).then(function (response) { $log.debug("이슈 검색 조건 검색 결과 : ", response); return response; }); } } } ]) });