1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| /*
| * @Author: shuishen 1109946754@qq.com
| * @Date: 2022-09-29 16:49:53
| * @LastEditors: shuishen 1109946754@qq.com
| * @LastEditTime: 2022-09-29 17:03:16
| * @FilePath: \srs-police-affairs\src\mock\home.js
| * @Description:
| *
| * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
| */
| import Mock from 'mockjs'
|
| const code = 200
|
| export const getCarList = () => {
| return {
| data: Mock.mock({
| 'list|10': [{
| 'userId|+1': 1,
| 'username': "@cname",
| 'date': '@date',
| 'address': '@region'
| }]
| }),
| code: code
| }
| }
|
|