3
0

first commit

This commit is contained in:
2025-12-11 23:46:42 +08:00
commit 95ff3462fa
144 changed files with 17128 additions and 0 deletions

42
mock/crud.js Normal file
View File

@@ -0,0 +1,42 @@
export default [{
url: "/crud/list",
method: "get",
response: () => {
return {
data: {
total: 10,
data: Array(10).fill({
name: 'small',
sex: '男'
}, {
name: 'small',
sex: '男'
})
}
}
}
}, {
url: "/crud",
method: "post",
response: () => {
return {
data: {}
}
}
}, {
url: "/crud",
method: "put",
response: () => {
return {
data: {}
}
}
}, {
url: "/crud",
method: "delete",
response: () => {
return {
data: {}
}
}
}]