You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
465 B

7 months ago
  1. export default [
  2. {
  3. url: '/api/departments',
  4. method: 'get',
  5. response: () => {
  6. return {
  7. code: 200,
  8. data: [
  9. {
  10. id: '1',
  11. name: '开发部'
  12. },
  13. {
  14. id: '2',
  15. name: '测试部'
  16. }
  17. ]
  18. }
  19. }
  20. }
  21. ]