chore: init bj_power monorepo (dashboard/mes/wms/wms_client/workstation), clear subproject git metadata and align naming to folder names

This commit is contained in:
SunYF
2026-08-27 10:09:54 +08:00
commit 1f0ee844a4
408 changed files with 102201 additions and 0 deletions
+98
View File
@@ -0,0 +1,98 @@
import { MockMethod } from 'vite-plugin-mock'
import { resultPageSuccess } from './_util'
export default [
{
url: '/api/v1/apis',
method: 'get',
response: () => {
return resultPageSuccess({
page: 1,
limit: 10,
total: 36,
data: [
{
id: 1,
path: '/users',
method: 'GET',
description: '用户列表',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 2,
path: '/user/\\d+',
method: 'GET',
description: '用户详情',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 3,
path: '/user',
method: 'POST',
description: '添加用户',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 4,
path: '/user/\\d+',
method: 'PUT',
description: '编辑用户',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 5,
path: '/user/\\d+/enable',
method: 'PUT',
description: '启用用户',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 6,
path: '/user/\\d+/disable',
method: 'PUT',
description: '禁用用户',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 7,
path: '/user/\\d+',
method: 'DELETE',
description: '删除用户',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 8,
path: '/user',
method: 'GET',
description: '通过手机查询用户',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 9,
path: '/roles',
method: 'GET',
description: '角色列表',
createdAt: 1682329175,
updatedAt: 1682329175
},
{
id: 10,
path: '/role/\\d+',
method: 'GET',
description: '角色详情',
createdAt: 1682329175,
updatedAt: 1682329175
}
]
})
}
}
] as MockMethod[]