增加百度网盘内容

This commit is contained in:
simple321vip
2022-12-12 08:35:48 +08:00
parent ed431fe748
commit c3d1fcf6af
6 changed files with 174 additions and 6 deletions
+31
View File
@@ -0,0 +1,31 @@
import { MockMethod } from 'vite-plugin-mock'
export default [
{
url: '/cloud/api/v1/file/list',
method: 'get',
response: ({ body, query }) => {
return [
{
server_filename: "java实战.pdf",
path: "/",
isDir: 0,
size: 1000
},
{
server_filename: "天道.pdf",
path: "/",
isDir: 0,
size: 1000
},
{
server_filename: "我得音乐",
path: "/",
isDir: 1,
size: 10001
},
]
}
},
] as MockMethod[]