Browse Source

调整品牌申请路径问题

wangyc 8 years ago
parent
commit
ec9a726a29
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/webapp/resources/js/common/query/brand.js

+ 2 - 2
src/main/webapp/resources/js/common/query/brand.js

@@ -1,7 +1,7 @@
 define([ 'ngResource' ], function() {
 define([ 'ngResource' ], function() {
 	angular.module('brandServices', [ 'ngResource' ]).factory('BrandsSubmit', ['$resource', 'BaseService', function($resource, BaseService) {
 	angular.module('brandServices', [ 'ngResource' ]).factory('BrandsSubmit', ['$resource', 'BaseService', function($resource, BaseService) {
 		//获取BrandSubmit的分页数据
 		//获取BrandSubmit的分页数据
-		var rootPath = BaseService.getRootPath();
+		var rootPath = BaseService.getRootPath() + '/';
 		return $resource('produce/brandSubmit', {}, {
 		return $resource('produce/brandSubmit', {}, {
 			//未审核
 			//未审核
 			getUnAudited : {
 			getUnAudited : {
@@ -18,7 +18,7 @@ define([ 'ngResource' ], function() {
 		});
 		});
 	}]).factory('BrandSubmit', ['$resource', 'BaseService', function($resource, BaseService) {
 	}]).factory('BrandSubmit', ['$resource', 'BaseService', function($resource, BaseService) {
 		//对单个BrandSubmit的操作
 		//对单个BrandSubmit的操作
-		var rootPath = BaseService.getRootPath();
+		var rootPath = BaseService.getRootPath() + '/';
 		return $resource('produce/brandSubmit/:id', {}, {
 		return $resource('produce/brandSubmit/:id', {}, {
 			//提交(保存)
 			//提交(保存)
 			submit : {
 			submit : {