接口层兼容
This commit is contained in:
1 parent
ef26268c8e
commit
cf2c782c0e
13 files changed
+212
-207
No files matched your search
+21
-22
@@ -1,25 +1,24 @@
|
||||
import request from '@/sheep/request';
|
||||
import request2 from '@/sheep/request2';
|
||||
|
||||
export default {
|
||||
area: () =>
|
||||
request2({
|
||||
url: 'system/area/tree',
|
||||
method: 'GET',
|
||||
}),
|
||||
// area: () =>
|
||||
// request({
|
||||
// url: 'data/area',
|
||||
// method: 'GET',
|
||||
// }),
|
||||
faq: () =>
|
||||
request({
|
||||
url: 'data/faq',
|
||||
method: 'GET',
|
||||
}),
|
||||
richtext: (id) =>
|
||||
request({
|
||||
url: 'data/richtext/' + id,
|
||||
method: 'GET',
|
||||
}),
|
||||
};
|
||||
area: () =>
|
||||
request({
|
||||
url: '/app-api/system/area/tree',
|
||||
method: 'GET',
|
||||
}),
|
||||
// area: () =>
|
||||
// request({
|
||||
// url: 'data/area',
|
||||
// method: 'GET',
|
||||
// }),
|
||||
faq: () =>
|
||||
request({
|
||||
url: 'data/faq',
|
||||
method: 'GET',
|
||||
}),
|
||||
richtext: (id) =>
|
||||
request({
|
||||
url: 'data/richtext/' + id,
|
||||
method: 'GET',
|
||||
}),
|
||||
};
|
||||
Reference in new issue
Block a user