add dashboard component
This commit is contained in:
@@ -74,4 +74,13 @@ export default [
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
url: '/wiki/api/v1/author/blogs/count',
|
||||
method: 'GET',
|
||||
response: () => {
|
||||
return {
|
||||
count: 101,
|
||||
}
|
||||
},
|
||||
},
|
||||
] as MockMethod[]
|
||||
|
||||
@@ -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[]
|
||||
Reference in New Issue
Block a user