feat: 重新整理目录结构,mock请求

This commit is contained in:
kailong321200875
2023-11-30 11:34:39 +08:00
parent c8400abd9f
commit 179ab2672f
27 changed files with 96 additions and 112 deletions

View File

@@ -1,4 +1,5 @@
import { faker } from '@faker-js/faker'
import { SUCCESS_CODE } from '@/constants'
const delay = 1000
@@ -10,7 +11,7 @@ export default [
delay,
body: () => {
return {
code: 0,
code: SUCCESS_CODE,
data: {
list: [
{