wiki保存修改

This commit is contained in:
simple321vip
2022-11-26 20:58:49 +08:00
parent 51b4012fa1
commit 978356a713
4 changed files with 96 additions and 48 deletions
+44
View File
@@ -0,0 +1,44 @@
import { MockMethod } from 'vite-plugin-mock'
export default [
{
url: '/auth/api/v1/reader/blogs',
method: 'get',
response: () => {
return [
{
bid: "string",
btId: "string",
btName: "string",
title: "string",
blog_prex: "string",
content: "string"
},
{
bid: "string",
btId: "string",
btName: "string",
title: "string",
blog_prex: "string",
content: "string"
},
]
}
},
{
url: '/auth/api/v1/reader/blog_type',
method: 'get',
response: () => {
return [
{
btId: "string",
btName: "string",
},
{
btId: "string",
btName: "string",
},
]
}
},
] as MockMethod[]