summaryrefslogtreecommitdiffstats
path: root/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-04-18 09:11:56 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-04-18 09:12:03 +0800
commitd698af153772ca4351ad3b23fbb987fc749890af (patch)
tree8fa49f10523134f9596814ef7a30528e298ac660 /usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js
parentffffd8a35ae5fcea703a7427844037c07c232b92 (diff)
Fix Security/Vulnerability problems
Change-Id: Ie0f2c9e0794941d9b9a7f00a6c3d349269d98ed1 Issue-ID: USECASEUI-104 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js')
-rw-r--r--usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js
deleted file mode 100644
index cfb12dd5..00000000
--- a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js
+++ /dev/null
@@ -1,32 +0,0 @@
-appDS2.factory('UserInfoServiceDS2', function ($http, $q,$log) {
- return {
- getFunctionalMenuStaticDetailShareContext: function(contextId,key) {
- var deferred = $q.defer();
- $http({
- method: "GET",
- url: "get_userinfo",
- }).success( function(res) {
- if(res==null || res=='')
- $log.error('userInfoServiceDs2: failed to get user info');
- deferred.resolve(res);
- }).error( function(status) {
- deferred.reject(status);
- });
- return deferred.promise;
- },
- getFunctionalMenuStaticDetailSession: function() {
- var deferred = $q.defer();
- $http({
- method: "GET",
- url: "get_topMenuInfo",
- }).success(function(res) {
- if(res==null || res=='')
- $log.error('userInfoServiceDs2: failed to get top menu info');
- deferred.resolve(res);
- }).error( function(status) {
- deferred.reject(status);
- });
- return deferred.promise;
- }
- };
-});