マイクロサービス変更に伴うapi修正

This commit is contained in:
simple321vip
2022-12-05 15:08:57 +08:00
parent 2943e360a7
commit ed431fe748
68 changed files with 70 additions and 71 deletions
+5 -5
View File
@@ -2,7 +2,7 @@ import { MockMethod } from 'vite-plugin-mock'
export default [
{
url: '/auth/api/v1/author/blog/list',
url: '/wiki/api/v1/author/blog/list',
method: 'get',
response: ({ body, query }) => {
return [
@@ -73,7 +73,7 @@ export default [
}
},
{
url: '/auth/api/v1/author/blog_types',
url: '/wiki/api/v1/author/blog_types',
method: 'post',
response: () => {
return [
@@ -123,7 +123,7 @@ export default [
}
},
{
url: '/auth/api/v1/author/blog_type',
url: '/wiki/api/v1/author/blog_type',
method: 'put',
response: () => {
return {
@@ -143,7 +143,7 @@ export default [
}
},
{
url: '/auth/api/v1/author/blog_type',
url: '/wiki/api/v1/author/blog_type',
method: 'post',
response: () => {
return {
@@ -151,7 +151,7 @@ export default [
}
},
{
url: '/auth/api/v1/author/blog_type',
url: '/wiki/api/v1/author/blog_type',
method: 'delete',
response: ({ body, query }) => {
return [