forked from mirror/MCSManager
Feat: add file name search
This commit is contained in:
parent
b8050b62f0
commit
ac903b5df7
@ -64,12 +64,14 @@ router.get(
|
||||
const instanceUuid = String(ctx.query.uuid);
|
||||
const page = Number(ctx.query.page);
|
||||
const pageSize = Number(ctx.query.page_size);
|
||||
const fileName = String(ctx.query.file_name);
|
||||
const remoteService = RemoteServiceSubsystem.getInstance(serviceUuid);
|
||||
const result = await new RemoteRequest(remoteService).request("file/list", {
|
||||
instanceUuid,
|
||||
target,
|
||||
pageSize,
|
||||
page
|
||||
page,
|
||||
fileName
|
||||
});
|
||||
ctx.body = result;
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user