import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { request } from "../../../utils/index.js";
//#region src/components/eftpos/SettlementModal/serve.ts
/**
* 结算发起接口
*/
const settlementApi = (data, config) => {
	return request.getRequest().post("/shop/pay/card-reader/settlement", data, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
/**
* 结算查询接口
*/
const settlementQueryApi = (id, data, config) => {
	return request.getRequest().get(`/shop/pay/card-reader/settlement/${id}`, data, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
//#endregion
export { settlementApi, settlementQueryApi };
