order.js 629 B

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