Merge branch 'feature/change-config' into 'master'
修正路径 See merge request !2
Showing
1 changed file
with
4 additions
and
4 deletions
@@ -83,7 +83,7 @@ export default { | @@ -83,7 +83,7 @@ export default { | ||
83 | actions: { | 83 | actions: { |
84 | [FETCH_GROUP_REQUEST]({commit}) { | 84 | [FETCH_GROUP_REQUEST]({commit}) { |
85 | commit(FETCH_GROUP_REQUEST); | 85 | commit(FETCH_GROUP_REQUEST); |
86 | - return api.get('/gateway/api/findGroup').then(res => { | 86 | + return api.get('/api/findGroup').then(res => { |
87 | commit(FETCH_GROUP_SUCCESS, {list: res}); | 87 | commit(FETCH_GROUP_SUCCESS, {list: res}); |
88 | }, () => { | 88 | }, () => { |
89 | commit(FETCH_GROUP_FAILURE); | 89 | commit(FETCH_GROUP_FAILURE); |
@@ -94,14 +94,14 @@ export default { | @@ -94,14 +94,14 @@ export default { | ||
94 | 94 | ||
95 | commit(FETCH_API_REQUEST, params); | 95 | commit(FETCH_API_REQUEST, params); |
96 | if (state.apiSearchType === 'controller') { | 96 | if (state.apiSearchType === 'controller') { |
97 | - apiPromise = api.get('/gateway/api/findByName', { | 97 | + apiPromise = api.get('/api/findByName', { |
98 | groupName: state.groupName || void 0, | 98 | groupName: state.groupName || void 0, |
99 | key: state.apiKeyword, | 99 | key: state.apiKeyword, |
100 | page: state.apiPage, | 100 | page: state.apiPage, |
101 | rows: state.apiRows | 101 | rows: state.apiRows |
102 | }); | 102 | }); |
103 | } else if (state.apiSearchType === 'keyword') { | 103 | } else if (state.apiSearchType === 'keyword') { |
104 | - apiPromise = api.get('/gateway/api/find', { | 104 | + apiPromise = api.get('/api/find', { |
105 | groupName: state.groupName || void 0, | 105 | groupName: state.groupName || void 0, |
106 | key: state.apiKeyword, | 106 | key: state.apiKeyword, |
107 | page: state.apiPage, | 107 | page: state.apiPage, |
@@ -125,7 +125,7 @@ export default { | @@ -125,7 +125,7 @@ export default { | ||
125 | return Promise.resolve(); | 125 | return Promise.resolve(); |
126 | } | 126 | } |
127 | } | 127 | } |
128 | - apiPromise = api.get('/gateway/api/findByGroup', { | 128 | + apiPromise = api.get('/api/findByGroup', { |
129 | key: state.groupName, | 129 | key: state.groupName, |
130 | page: state.apiPage, | 130 | page: state.apiPage, |
131 | rows: state.apiRows | 131 | rows: state.apiRows |
-
Please register or login to post a comment