message.js 1.9 KB

12345678910111213141516171819202122232425262728
  1. module.exports = [
  2. // user login
  3. {
  4. url: '/message/page',
  5. type: 'get',
  6. response: config => {
  7. return {
  8. code: 200,
  9. msg: 'success',
  10. data: {
  11. total: 43,
  12. records: [
  13. { 'id': '0', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  14. { 'id': '1', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  15. { 'id': '2', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  16. { 'id': '3', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  17. { 'id': '4', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  18. { 'id': '5', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  19. { 'id': '6', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  20. { 'id': '7', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  21. { 'id': '8', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
  22. { 'id': '9', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' }
  23. ]
  24. }
  25. }
  26. }
  27. }
  28. ]