mall-uniapp/sheep/api/data.js

26 lines
462 B
JavaScript
Raw Normal View History

2022-11-22 07:45:36 +00:00
import request from '@/sheep/request';
import request2 from '@/sheep/request2';
2022-11-22 07:45:36 +00:00
export default {
area: () =>
request2({
url: 'system/area/tree',
2022-11-22 07:45:36 +00:00
method: 'GET',
}),
// area: () =>
// request({
// url: 'data/area',
// method: 'GET',
// }),
2022-11-22 07:45:36 +00:00
faq: () =>
request({
url: 'data/faq',
method: 'GET',
}),
richtext: (id) =>
request({
url: 'data/richtext/' + id,
method: 'GET',
}),
};