Files
hht-ximenzi-uni/utils/mork2.js

22 lines
469 B
JavaScript
Raw Normal View History

2024-08-19 15:45:30 +08:00
export const handLogin = (user, password) => {
let res = {
user: {
user: {username: 'admin'},
},
token: 'abcd'
}
return res
}
2024-09-01 16:21:54 +08:00
export const regionList = () => {
2024-08-19 15:45:30 +08:00
let res = {
2024-09-01 16:21:54 +08:00
content: [{value: '1', label: 'aa'}, {value: '2', label: 'bb'}]
2024-08-19 15:45:30 +08:00
}
return res
}
2024-09-01 16:21:54 +08:00
export const modifyProcess = (data) => {
2024-08-19 15:45:30 +08:00
let res = [
2024-09-01 16:21:54 +08:00
{order_code: '111', process: '1', time: '2020-10-10 11:30:30'}, {order_code: '111', process: '2', time: '2020-10-10 11:30:30'}
]
2024-08-19 15:45:30 +08:00
return res
}