const require_objectSpread2 = require("../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_asyncToGenerator = require("../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
const require_index = require("../../../../../utils/index.js");
const require_utils = require("../../utils.js");
//#region src/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.ts
const getAliPayUrl = function() {
	var _ref = require_asyncToGenerator._asyncToGenerator(function* (orderId, values, history) {
		try {
			const { data } = yield require_index.request.getRequest().get(`/h5/globepay/order/${orderId}/alipay/mobile`, require_objectSpread2._objectSpread2({ return_url: require_utils.getReturnUrl(history) }, values));
			return data;
		} catch (err) {}
	});
	return function getAliPayUrl(_x, _x2, _x3) {
		return _ref.apply(this, arguments);
	};
}();
//#endregion
exports.getAliPayUrl = getAliPayUrl;
