add dashboard component

This commit is contained in:
simple321vip
2023-01-28 21:41:11 +08:00
parent a45f360006
commit 98c45b3591
13 changed files with 774 additions and 90 deletions
+9
View File
@@ -74,4 +74,13 @@ export default [
}
},
},
{
url: '/wiki/api/v1/author/blogs/count',
method: 'GET',
response: () => {
return {
count: 101,
}
},
},
] as MockMethod[]
+13
View File
@@ -0,0 +1,13 @@
import { MockMethod } from 'vite-plugin-mock'
export default [
{
url: '/bookmark/api/v1/bookmark/count',
method: 'get',
response: () => {
return {
count: 53,
}
}
}
] as MockMethod[]