const require_asyncToGenerator = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
const require_index = require("../../../../utils/index.js");
//#region src/components/productExtension/fields/SelectProducts/server.ts
const getProductList = function() {
	var _ref = require_asyncToGenerator._asyncToGenerator(function* (params) {
		let { data } = yield require_index.request.getRequest().post("/shop/product/query", params, { abort: true });
		return (data === null || data === void 0 ? void 0 : data.list) || [];
	});
	return function getProductList(_x) {
		return _ref.apply(this, arguments);
	};
}();
//#endregion
exports.getProductList = getProductList;
