README 修改

This commit is contained in:
simple321vip
2022-10-28 10:18:43 +08:00
parent 2e2dbbbf72
commit 2fb3af05dc
3 changed files with 116 additions and 28 deletions
+47
View File
@@ -28,4 +28,51 @@ export default [
}
}
},
{
url: '/auth/api/v1/author/blog/0001',
method: 'delete',
response: () => {
return {
btId: "001",
btName: "your world---",
blog_list: [
{
bid: "0002",
title: "two",
content: "anything",
btId: "001",
order: 0,
},
],
order: 0
}
},
},
{
url: '/auth/api/v1/author/blog/content',
method: 'PUT',
response: () => {
return {
bid: "0003",
title: "three",
content: "just a insert test",
btId: "001",
order: 2,
}
},
},
{
url: '/auth/api/v1/author/blog/content',
method: 'POST',
response: () => {
return {
bid: "0003",
title: "three",
content: "just a insert test",
btId: "001",
order: 2,
}
},
},
] as MockMethod[]
// /auth/api/v1/author/blog/content