瀏覽代碼

附件上传

gaodd 2 年之前
父節點
當前提交
5cbf537f9f
共有 1 個文件被更改,包括 2 次插入1 次删除
  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
 	$scope.uploader = new FileUploader({
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
 		//url : APP_CONFIG.basicUrl + '/fileUpload/updateFileBusiness',
147
 		//url : APP_CONFIG.basicUrl + '/fileUpload/updateFileBusiness',
147
 		autoUpload : true, // 将文件添加到队列后自动上传.
148
 		autoUpload : true, // 将文件添加到队列后自动上传.
148
 		formData : [{type : 'safeManage',userId:$rootScope.userInfo.userId,orgId:$rootScope.userInfo.orgId}], // 与文件一起发送的数据
149
 		formData : [{type : 'safeManage',userId:$rootScope.userInfo.userId,orgId:$rootScope.userInfo.orgId}], // 与文件一起发送的数据