Просмотр исходного кода

新增采购单增加token验证

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10759 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 лет назад
Родитель
Сommit
87e10c0e5e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/webapp/resources/js/index/app.js

+ 1 - 1
src/main/webapp/resources/js/index/app.js

@@ -12881,7 +12881,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
         });
         var getToken = function() {
         	if($scope.token == null) {
-        		token.info({userType: 'salenotice'}, {}, function(data) {
+        		token.info({userType: 'purcorder'}, {}, function(data) {
         			$scope.token = data.token;
         		}, function(response) {
         			toaster.pop('error', '提示', response.data);