123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- module.exports = [
- // user login
- {
- url: '/sysDict/type/app_type',
- type: 'get',
- response: config => {
- return {
- code: 200,
- msg: 'success',
- data: [
- { 'id': 1, 'value': '1', 'label': 'Type1', 'sort': 1 },
- { 'id': 2, 'value': '2', 'label': 'Type2', 'sort': 2 },
- { 'id': 3, 'value': '3', 'label': 'Type3', 'sort': 3 },
- { 'id': 4, 'value': '4', 'label': 'Type4', 'sort': 4 }
- ]
- }
- }
- },
- {
- url: '/sysDict/type/business_type',
- type: 'get',
- response: config => {
- return {
- code: 200,
- msg: 'success',
- data: [
- { 'id': 1, 'value': '1', 'label': 'Type1', 'sort': 1 },
- { 'id': 2, 'value': '2', 'label': 'Type2', 'sort': 2 },
- { 'id': 3, 'value': '3', 'label': 'Type3', 'sort': 3 },
- { 'id': 4, 'value': '4', 'label': 'Type4', 'sort': 4 }
- ]
- }
- }
- },
- {
- url: '/sysDict/type/software',
- type: 'get',
- response: config => {
- return {
- code: 200,
- msg: 'success',
- data: [
- { 'id': 1, 'value': '1', 'label': 'Type1', 'sort': 1 },
- { 'id': 2, 'value': '2', 'label': 'Type2', 'sort': 2 },
- { 'id': 3, 'value': '3', 'label': 'Type3', 'sort': 3 },
- { 'id': 4, 'value': '4', 'label': 'Type4', 'sort': 4 }
- ]
- }
- }
- }
- ]
|