/** * Created by maprex on 2021-05-11 */ 'use strict'; define(['app'], function (app) { app.factory("UserHistory", ['$http', '$log', function ($http, $log) { return { addLoginHistory : function () { return $http.post("userHistory/addLogin").then(function (response) { $log.debug("로그인 히스토리 추가 : ", response); return response; }); } } } ]) });