(function(){ var serviceNamespace = abp.utils.createNamespace(abp, 'services.front.recruitsFrontend'); serviceNamespace.getRecruits = function(id, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/recruitsFrontend/GetRecruits' + abp.utils.buildQueryString([{ name: 'id', value: id }]) + '', type: 'POST', data: JSON.stringify({}) }, ajaxParams)); }; serviceNamespace.getRecruitsListAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/recruitsFrontend/GetRecruitsListAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getRecruitsSearchListAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/recruitsFrontend/GetRecruitsSearchListAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getTopRecruitsListAsync = function(kind, top, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/recruitsFrontend/GetTopRecruitsListAsync' + abp.utils.buildQueryString([{ name: 'kind', value: kind }, { name: 'top', value: top }]) + '', type: 'POST', data: JSON.stringify({}) }, ajaxParams)); }; serviceNamespace.getAllRecruitsListAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/recruitsFrontend/GetAllRecruitsListAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getAllRecruitsAdjunctListAsync = function(iD, top, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/recruitsFrontend/GetAllRecruitsAdjunctListAsync' + abp.utils.buildQueryString([{ name: 'iD', value: iD }, { name: 'top', value: top }]) + '', type: 'POST', data: JSON.stringify({}) }, ajaxParams)); }; if(typeof define === 'function' && define.amd){ define(function (require, exports, module) { return { 'getRecruits' : serviceNamespace.getRecruits, 'getRecruitsListAsync' : serviceNamespace.getRecruitsListAsync, 'getRecruitsSearchListAsync' : serviceNamespace.getRecruitsSearchListAsync, 'getTopRecruitsListAsync' : serviceNamespace.getTopRecruitsListAsync, 'getAllRecruitsListAsync' : serviceNamespace.getAllRecruitsListAsync, 'getAllRecruitsAdjunctListAsync' : serviceNamespace.getAllRecruitsAdjunctListAsync }; }); } })();
链接链接链接链接链接链接链接链接