"use strict"; var __async = (__this, __arguments, generator) => { return new Promise((resolve, reject) => { var fulfilled = (value) => { try { step(generator.next(value)); } catch (e) { reject(e); } }; var rejected = (value) => { try { step(generator.throw(value)); } catch (e) { reject(e); } }; var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); step((generator = generator.apply(__this, __arguments)).next()); }); }; require("../common/vendor.js"); const utils_http = require("../utils/http.js"); const payOrder = (orderId) => __async(exports, null, function* () { const payRes = yield utils_http.httpPost("/order/pay/" + orderId, {}); return payRes; }); exports.payOrder = payOrder;