bonus-ui/src/api/kitchen/setting.js

39 lines
959 B
JavaScript
Raw Normal View History

2025-06-16 18:16:22 +08:00
import request from '@/utils/request'
// ---------- 基础参数设置 ------------------
// 查询基础参数列表
export function getSettingListApi(data) {
return request({
url: '/smart-canteen/basic_setting/list',
method: 'get',
headers: {
"merchant-id":"378915229716713472",
},
params: data
})
}
// 编辑基础参数
export function batchEditSettingApi(data) {
return request({
url: '/smart-canteen/basic_setting/batchEdit',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}
// 编辑基础参数
export function batchResetSettingApi(data) {
return request({
url: '/smart-canteen/basic_setting/batchToDefault',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}