1234567891011121314151617181920212223242526 |
- (function (app) {
- app.factory('homeService', ['$http', 'config', "util", function ($http, config, util) {
- return {
- sent_list: function (filter) {
- return $http({
- url: config.server + 'api/service/sent_list?q=' + filter.q + "&status=" + filter.status+ "&page=" + filter.page+"&f="+filter.f,
- method: "get"
- })
- },
- supportDream:function(data){
- return $http({
- url:config.server + "api/user/support",
- method:"post",
- data:data
- })
- },
- searchContent:function (data){
- return $http({
- url:config.server + 'api/index/search',
- method:"get",
- data:data
- })
- }
- };
- }]);
- })(angular.module('app.services'));
|