dict.js 487 B

12345678910111213141516171819
  1. module.exports = [
  2. // user login
  3. {
  4. url: '/sysDict/type/system_type',
  5. type: 'get',
  6. response: config => {
  7. return {
  8. code: 200,
  9. msg: 'success',
  10. data: [
  11. { 'id': 1, 'value': '1', 'label': 'Type1', 'sort': 1 },
  12. { 'id': 2, 'value': '2', 'label': 'Type2', 'sort': 2 },
  13. { 'id': 3, 'value': '3', 'label': 'Type3', 'sort': 3 },
  14. { 'id': 4, 'value': '4', 'label': 'Type4', 'sort': 4 }
  15. ]
  16. }
  17. }
  18. }
  19. ]