diff --git a/src/api/doc/space.ts b/src/api/doc/space.ts index edd42dd..3d3a850 100644 --- a/src/api/doc/space.ts +++ b/src/api/doc/space.ts @@ -63,6 +63,41 @@ export function doAccessManage(uid:string,data?: any){ }); } +/** + * 空间权限控制管理 + * uid: manager's id + * userid: object's id + */ +export function doGetUserInfo(uid:string,data:{uuid:string}){ + return request({ + url: '/hxpan/api/user/info', + method: 'post', + headers: { + 'Identifier':uid, + 'Content-Type': 'application/x-www-form-urlencoded', + 'App-Api-Token': apptoken + }, + data: data + }); +} + +/** + * 空间权限控制管理 + * uid: manager's id + * userid: object's id + */ +export function doSetUserInfo(uid:string,data:{uuid:string,totalSizeLimit:number}){ + return request({ + url: '/hxpan/api/user/edit', + method: 'post', + headers: { + 'Identifier':uid, + 'App-Api-Token': apptoken + }, + data: data + }); +} + /** * 删除空间 */ diff --git a/src/views/hr/archives/index.vue b/src/views/hr/archives/index.vue index 4e0fe9b..7723284 100644 --- a/src/views/hr/archives/index.vue +++ b/src/views/hr/archives/index.vue @@ -6,6 +6,7 @@ + + + + \ No newline at end of file