|
@@ -19875,7 +19875,9 @@ var _hotel = _interopRequireDefault(__webpack_require__(/*! ./hotel/hotel.js */
|
|
var _active = _interopRequireDefault(__webpack_require__(/*! ./active/active.js */ 164));
|
|
var _active = _interopRequireDefault(__webpack_require__(/*! ./active/active.js */ 164));
|
|
var _category = _interopRequireDefault(__webpack_require__(/*! ./category/category.js */ 165));
|
|
var _category = _interopRequireDefault(__webpack_require__(/*! ./category/category.js */ 165));
|
|
var _integral = _interopRequireDefault(__webpack_require__(/*! ./integral/integral.js */ 661));
|
|
var _integral = _interopRequireDefault(__webpack_require__(/*! ./integral/integral.js */ 661));
|
|
-var _product = _interopRequireDefault(__webpack_require__(/*! ./product/product.js */ 721));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // 酒店
|
|
|
|
|
|
+var _product = _interopRequireDefault(__webpack_require__(/*! ./product/product.js */ 721));
|
|
|
|
+var _lottery = _interopRequireDefault(__webpack_require__(/*! ./lottery/lottery.js */ 722));
|
|
|
|
+var _orders = _interopRequireDefault(__webpack_require__(/*! ./orders/orders.js */ 723));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // 酒店
|
|
|
|
|
|
var api = {
|
|
var api = {
|
|
user: _index.default,
|
|
user: _index.default,
|
|
@@ -19891,7 +19893,9 @@ var api = {
|
|
hotel: _hotel.default,
|
|
hotel: _hotel.default,
|
|
active: _active.default,
|
|
active: _active.default,
|
|
integral: _integral.default,
|
|
integral: _integral.default,
|
|
- product: _product.default };var _default =
|
|
|
|
|
|
+ product: _product.default,
|
|
|
|
+ lottery: _lottery.default,
|
|
|
|
+ orders: _orders.default };var _default =
|
|
|
|
|
|
|
|
|
|
api;exports.default = _default;
|
|
api;exports.default = _default;
|
|
@@ -30136,6 +30140,102 @@ function getProductDetail(data) {
|
|
getProductDetail: getProductDetail };exports.default = _default;
|
|
getProductDetail: getProductDetail };exports.default = _default;
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
|
|
|
|
+/***/ }),
|
|
|
|
+/* 722 */
|
|
|
|
+/*!*********************************************************************!*\
|
|
|
|
+ !*** C:/Users/Administrator/Desktop/ihg/IHG/api/lottery/lottery.js ***!
|
|
|
|
+ \*********************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.luckyDraw = luckyDraw;exports.getDrawInfo = getDrawInfo;exports.getDrawRecord = getDrawRecord;exports.default = void 0;var request = uni.$u.http;
|
|
|
|
+
|
|
|
|
+// 抽奖
|
|
|
|
+function luckyDraw(data) {
|
|
|
|
+ return request.post("v1/draw/luckyDraw",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 抽奖详情
|
|
|
|
+function getDrawInfo(data) {
|
|
|
|
+ return request.post("v1/draw/drawInfo",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 中奖记录
|
|
|
|
+function getDrawRecord(data) {
|
|
|
|
+ return request.post("v1/draw/drawRecord",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}var _default =
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ luckyDraw: luckyDraw,
|
|
|
|
+ getDrawInfo: getDrawInfo,
|
|
|
|
+ getDrawRecord: getDrawRecord };exports.default = _default;
|
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+/* 723 */
|
|
|
|
+/*!*******************************************************************!*\
|
|
|
|
+ !*** C:/Users/Administrator/Desktop/ihg/IHG/api/orders/orders.js ***!
|
|
|
|
+ \*******************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.getOrderList = getOrderList;exports.getOrderDetail = getOrderDetail;exports.orderExchange = orderExchange;exports.confirmOrder = confirmOrder;exports.confirmOrderDetail = confirmOrderDetail;exports.default = void 0;var request = uni.$u.http;
|
|
|
|
+
|
|
|
|
+// 订单列表
|
|
|
|
+function getOrderList(data) {
|
|
|
|
+ return request.post("v1/order/orderList",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 我的订单详情
|
|
|
|
+function getOrderDetail(data) {
|
|
|
|
+ return request.post("v1/order/orderDetail",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 订单兑换
|
|
|
|
+function orderExchange(data) {
|
|
|
|
+ return request.post("v1/order/orderExchange",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 核销订单
|
|
|
|
+function confirmOrder(data) {
|
|
|
|
+ return request.post("v1/order/confirmOrder",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 核销订单详情
|
|
|
|
+function confirmOrderDetail(data) {
|
|
|
|
+ return request.post("v1/order/confirmOrderDetail",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}var _default =
|
|
|
|
+{
|
|
|
|
+ getOrderList: getOrderList,
|
|
|
|
+ getOrderDetail: getOrderDetail,
|
|
|
|
+ orderExchange: orderExchange,
|
|
|
|
+ confirmOrder: confirmOrder,
|
|
|
|
+ confirmOrderDetail: confirmOrderDetail };exports.default = _default;
|
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
+
|
|
/***/ })
|
|
/***/ })
|
|
]]);
|
|
]]);
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|