This commit is contained in:
simple321vip
2022-10-27 00:04:37 +08:00
parent 7ffde47b21
commit 6fc98d832b
2 changed files with 131 additions and 70 deletions
+50
View File
@@ -50,5 +50,55 @@ export default [
},
]
}
},
{
url: '/auth/api/v1/author/blog_types',
method: 'post',
response: () => {
return [
{
btId: "001",
btName: "your world",
blog_list: [
{
bid: "0001",
title: "one",
content: "nothing",
btId: "001",
order: 0,
},
{
bid: "0002",
title: "two",
content: "anything",
btId: "001",
order: 1,
},
],
order: 1
},
{
btId: "002",
btName: "my world",
blog_list: [
{
bid: "0003",
title: "three",
content: "nothing",
btId: "002",
order: 0,
},
{
bid: "0004",
title: "two",
content: "anything",
btId: "002",
order: 1,
},
],
order: 0
},
]
}
}
] as MockMethod[]