(function(){ var serviceNamespace = abp.utils.createNamespace(abp, 'services.front.memberFrontEnd'); serviceNamespace.login = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/memberFrontEnd/Login', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getMemberInfo = function(memberCacheItem, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/memberFrontEnd/GetMemberInfo', type: 'POST', data: JSON.stringify(memberCacheItem) }, ajaxParams)); }; serviceNamespace.getMemberCacheItem = function(ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/memberFrontEnd/GetMemberCacheItem', type: 'POST', data: JSON.stringify({}) }, ajaxParams)); }; if(typeof define === 'function' && define.amd){ define(function (require, exports, module) { return { 'login' : serviceNamespace.login, 'getMemberInfo' : serviceNamespace.getMemberInfo, 'getMemberCacheItem' : serviceNamespace.getMemberCacheItem }; }); } })();