Bladeren bron

附件上传

gaodd 2 jaren geleden
bovenliggende
commit
5cbf537f9f
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      src/main/resources/static/app/storage/safe-manage/controller/safeManageCtrl.js

+ 2 - 1
src/main/resources/static/app/storage/safe-manage/controller/safeManageCtrl.js

@@ -142,7 +142,8 @@ angular.module('app.storage').controller("safeManageCtrl", function($scope, $roo
142 142
 	
143 143
 	// 上传.
144 144
 	$scope.uploader = new FileUploader({
145
-		url : APP_CONFIG.businessUrl + '/depot/business/file/uploadFile',
145
+		//url : APP_CONFIG.businessUrl + '/depot/business/file/uploadFile',
146
+		url : APP_CONFIG.basicUrl + '/depot/basic/file/uploadFile',
146 147
 		//url : APP_CONFIG.basicUrl + '/fileUpload/updateFileBusiness',
147 148
 		autoUpload : true, // 将文件添加到队列后自动上传.
148 149
 		formData : [{type : 'safeManage',userId:$rootScope.userInfo.userId,orgId:$rootScope.userInfo.orgId}], // 与文件一起发送的数据