import { _asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../../utils/index.js";
//#region src/plus/clinetSearch/serve.ts
const addCustomer = function() {
	var _ref = _asyncToGenerator(function* (params) {
		const res = yield request.getRequest().post(`/shop/customer`, params, {
			abort: true,
			fullResult: true
		});
		return res === null || res === void 0 ? void 0 : res.data;
	});
	return function addCustomer(_x) {
		return _ref.apply(this, arguments);
	};
}();
//#endregion
export { addCustomer };
