/** * Created by wisestone on 2018-10-02. */ 'use strict'; define(['app'], function (app) { app.factory("UserWorkspace", ['$http', '$log', function ($http, $log) { return { find : function (conditions) { return $http.post("userWorkspace/find", conditions).then(function (response) { $log.debug("워크스페이스에 참여하는 전체 사용자 목록 : ", response); return response; }); }, modify : function (conditions) { return $http.post("userWorkspace/modify", conditions).then(function (response) { $log.debug("워크스페이스 참여자 참여 상태 변경 결과 : ", response); return response; }); } } } ]) });