/** * Created by wisestone on 2018-05-29. */ 'use strict'; define([ 'app' ], function (app) { app.factory("IssueReservation", ['$http', '$log', function ($http, $log) { return { detail : function (conditions) { return $http.post("issueReservation/detail", conditions).then(function (response) { $log.debug("이슈 발생 예약 상세 조회 데이터 : ", response); return response; }); }, modify : function (conditions) { return $http.post("issueReservation/modify", conditions).then(function (response) { $log.debug("이슈 발생 예약 생성 결과 : ", response); return response; }); } } } ]); });