12345678910111213141516171819202122 |
- let orderList = [];
- const orderStatus = ['0', '1', '2'];
- for (let i = 1; i < 300; i++) {
- orderList.push({
- id: String(i),
- code: 'Order-20180111-' + i,
- uid: '1122', //用户id
- userCode: '66664301000101' + i, //用户编码
- provinceCode: '10', //省份行政代码
- cityName: '长沙',
- zoneName: '淄博校区',
- classroomName: '3年级2班教室',
- finalPrice: 3000.85,
- merchantPrice: 3500.11,
- lingjiaoPrice: 2000,
- status: orderStatus[i % 3],
- gmtCreated: 1512981450000,
- gmtModified: 1512981450000,
- });
- }
- module.exports = { orderList };
|