|
@@ -7,9 +7,9 @@ import {
|
|
|
tenantId
|
|
tenantId
|
|
|
} from '@/common/setting'
|
|
} from '@/common/setting'
|
|
|
|
|
|
|
|
-const getLocationList = (current, size, vo) => {
|
|
|
|
|
|
|
+const getSnacksList = (current, size, vo) => {
|
|
|
return http.request({
|
|
return http.request({
|
|
|
- url: bizConst.basicPrefix + '/famous_location/list',
|
|
|
|
|
|
|
+ url: bizConst.basicPrefix + '/famous_snacks/list',
|
|
|
method: 'GET',
|
|
method: 'GET',
|
|
|
header: {
|
|
header: {
|
|
|
'Tenant-Id': tenantId
|
|
'Tenant-Id': tenantId
|
|
@@ -22,9 +22,9 @@ const getLocationList = (current, size, vo) => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const getLocationDetail = (id) => {
|
|
|
|
|
|
|
+const getSnacksDetail = (id) => {
|
|
|
return http.request({
|
|
return http.request({
|
|
|
- url: bizConst.basicPrefix + '/famous_location/detail',
|
|
|
|
|
|
|
+ url: bizConst.basicPrefix + '/famous_snacks/detail',
|
|
|
method: 'GET',
|
|
method: 'GET',
|
|
|
header: {
|
|
header: {
|
|
|
'Tenant-Id': tenantId
|
|
'Tenant-Id': tenantId
|
|
@@ -35,6 +35,6 @@ const getLocationDetail = (id) => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
export default {
|
|
export default {
|
|
|
- getLocationList,
|
|
|
|
|
- getLocationDetail
|
|
|
|
|
|
|
+ getSnacksList,
|
|
|
|
|
+ getSnacksDetail
|
|
|
}
|
|
}
|