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:
@@ -0,0 +1,34 @@
|
||||
import { MockMethod } from 'vite-plugin-mock'
|
||||
import { resultSuccess } from './_util'
|
||||
|
||||
// 获取消息列表接口
|
||||
export default [
|
||||
{
|
||||
url: '/api/v1/messages',
|
||||
method: 'get',
|
||||
response: () => {
|
||||
return resultSuccess({
|
||||
'notificationList|30': [
|
||||
{
|
||||
'id|+1': 1,
|
||||
name: '@/cname',
|
||||
title: '@/ctitle',
|
||||
'jumpType|1': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
|
||||
'label|1': [0, 1, 2],
|
||||
remark: '@/ctitle'
|
||||
}
|
||||
],
|
||||
'approvalList|10': [
|
||||
{
|
||||
'id|+1': 1,
|
||||
name: '@/cname',
|
||||
title: '@/ctitle',
|
||||
'jumpType|1': [1, 2, 4, 6, 7, 10, 11],
|
||||
label: 0,
|
||||
remark: '@/ctitle'
|
||||
}
|
||||
]
|
||||
})
|
||||
}
|
||||
}
|
||||
] as MockMethod[]
|
||||
Reference in New Issue
Block a user