README 修改
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user