Browse Source

更新标准库路径问题

wangmh 8 years ago
parent
commit
7b6630fc7c
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/main/webapp/resources/js/index/services/Account.js

+ 1 - 3
src/main/webapp/resources/js/index/services/Account.js

@@ -45,9 +45,7 @@ define([ 'ngResource' ], function() {
             getDefaultRole: {
                 url: 'account/role/default/:roleId',
                 method: 'GET'
-            }
-		});
-		return $resource('account/role/:id', {}, {
+            },
 			updateDefault: {
 				url: 'account/role/updateDefault',
 				method: 'POST'