Commit 4f7b45bf by zhangleyuan

feat:联调云盘相关的接口

parent 60e3ec46
......@@ -364,7 +364,7 @@ class FolderList extends React.Component {
const currentFolder = folderPathList[folderPathList.length - 1];
const { instId } = window.currentUserInstInfo;
const params = {
instId,
createId:User.getUserId(),
name: folderName,
disk: currentRootDisk.disk,
parentId: currentFolder.id,
......@@ -565,7 +565,6 @@ class FolderList extends React.Component {
const hasManagementAuthority = currentRootDisk.uploadPower;
// 公共文件权限和复制权限
const { folderType, rights } = record;
console.log("rights",rights);
const menu = (
<Menu>
{
......
......@@ -215,11 +215,13 @@ class FolderManage extends React.Component {
let params = {
disk,
moveIds: sourceFileIds,
storeId:User.getStoreId(),
createId:User.getUserId()
}
if (selectFolderPathList.length > 1) {
params.newParentId = id
}
Service.Hades('public/hadesStore/moveFolderr', params).then((res) => {
Service.Hades('public/hadesStore/moveFolder', params).then((res) => {
// 判断是否将文件移动到了自身或者子目录
const { result = {} } = res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment