|
@@ -19873,7 +19873,12 @@ var _share = _interopRequireDefault(__webpack_require__(/*! ./share */ 157));
|
|
|
|
|
|
var _document = _interopRequireDefault(__webpack_require__(/*! ./document/document.js */ 161));
|
|
var _document = _interopRequireDefault(__webpack_require__(/*! ./document/document.js */ 161));
|
|
var _my = _interopRequireDefault(__webpack_require__(/*! ./my/my.js */ 162));
|
|
var _my = _interopRequireDefault(__webpack_require__(/*! ./my/my.js */ 162));
|
|
-var _hotel = _interopRequireDefault(__webpack_require__(/*! ./hotel/hotel.js */ 163));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // 酒店
|
|
|
|
|
|
+var _hotel = _interopRequireDefault(__webpack_require__(/*! ./hotel/hotel.js */ 163));
|
|
|
|
+var _active = _interopRequireDefault(__webpack_require__(/*! ./active/active.js */ 668));
|
|
|
|
+var _category = _interopRequireDefault(__webpack_require__(/*! ./category/category.js */ 669));
|
|
|
|
+var _integral = _interopRequireDefault(__webpack_require__(/*! ./integral/integral.js */ 670));
|
|
|
|
+var _product = _interopRequireDefault(__webpack_require__(/*! ./product/product.js */ 671));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // 酒店
|
|
|
|
+
|
|
var api = {
|
|
var api = {
|
|
user: _index.default,
|
|
user: _index.default,
|
|
setting: _setting.default,
|
|
setting: _setting.default,
|
|
@@ -19882,10 +19887,13 @@ var api = {
|
|
pay: _pay.default,
|
|
pay: _pay.default,
|
|
share: _share.default,
|
|
share: _share.default,
|
|
|
|
|
|
-
|
|
|
|
|
|
+ category: _category.default,
|
|
document: _document.default,
|
|
document: _document.default,
|
|
my: _my.default,
|
|
my: _my.default,
|
|
- hotel: _hotel.default };var _default =
|
|
|
|
|
|
+ hotel: _hotel.default,
|
|
|
|
+ active: _active.default,
|
|
|
|
+ integral: _integral.default,
|
|
|
|
+ product: _product.default };var _default =
|
|
|
|
|
|
|
|
|
|
api;exports.default = _default;
|
|
api;exports.default = _default;
|
|
@@ -29919,6 +29927,200 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
|
|
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = {
|
|
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = {
|
|
props: {} };exports.default = _default;
|
|
props: {} };exports.default = _default;
|
|
|
|
|
|
|
|
+/***/ }),
|
|
|
|
+/* 665 */,
|
|
|
|
+/* 666 */,
|
|
|
|
+/* 667 */,
|
|
|
|
+/* 668 */
|
|
|
|
+/*!*******************************************************!*\
|
|
|
|
+ !*** D:/vscode-demo/IHG/IHG/IHG/api/active/active.js ***!
|
|
|
|
+ \*******************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.getActiveList = getActiveList;exports.getActiveDetail = getActiveDetail;exports.kudos = kudos;exports.getActiveProjectList = getActiveProjectList;exports.getActiveProjectDetail = getActiveProjectDetail;exports.vote = vote;exports.default = void 0;var request = uni.$u.http;
|
|
|
|
+
|
|
|
|
+// 获取活动列表
|
|
|
|
+function getActiveList(data) {
|
|
|
|
+ return request.post("v1/activity/activityList",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 获取活动详情
|
|
|
|
+function getActiveDetail(data) {
|
|
|
|
+ return request.post("v1/activity/activityDetail",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 点赞
|
|
|
|
+function kudos(data) {
|
|
|
|
+ return request.post("v1/activity/activityLike",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 获取活动项目列表
|
|
|
|
+function getActiveProjectList(data) {
|
|
|
|
+ return request.post("v1/activity/activityProjectList",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 获取活动项目详情
|
|
|
|
+function getActiveProjectDetail(data) {
|
|
|
|
+ return request.post("v1/activity/activityProjectDetail",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 投票
|
|
|
|
+function vote(data) {
|
|
|
|
+ return request.post("v1/activity/vote",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}var _default =
|
|
|
|
+{
|
|
|
|
+ getActiveDetail: getActiveDetail,
|
|
|
|
+ getActiveList: getActiveList,
|
|
|
|
+ kudos: kudos,
|
|
|
|
+ getActiveProjectList: getActiveProjectList,
|
|
|
|
+ getActiveProjectDetail: getActiveProjectDetail,
|
|
|
|
+ vote: vote };exports.default = _default;
|
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+/* 669 */
|
|
|
|
+/*!***********************************************************!*\
|
|
|
|
+ !*** D:/vscode-demo/IHG/IHG/IHG/api/category/category.js ***!
|
|
|
|
+ \***********************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.getCategoryList = getCategoryList;exports.default = void 0;var request = uni.$u.http;
|
|
|
|
+
|
|
|
|
+// 分类列表
|
|
|
|
+function getCategoryList(data) {
|
|
|
|
+ return request.post("v1/setting/categoryList",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}var _default =
|
|
|
|
+{
|
|
|
|
+ getCategoryList: getCategoryList };exports.default = _default;
|
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+/* 670 */
|
|
|
|
+/*!***********************************************************!*\
|
|
|
|
+ !*** D:/vscode-demo/IHG/IHG/IHG/api/integral/integral.js ***!
|
|
|
|
+ \***********************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.getIntegralLog = getIntegralLog;exports.integralExchange = integralExchange;exports.default = void 0;var request = uni.$u.http;
|
|
|
|
+
|
|
|
|
+// 获取积分日志
|
|
|
|
+function getIntegralLog(data) {
|
|
|
|
+ return request.post("v1/integral/integralLog",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+// 积分兑换
|
|
|
|
+function integralExchange(data) {
|
|
|
|
+ return request.post("v1/integral/integralExchange",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}var _default =
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ getIntegralLog: getIntegralLog,
|
|
|
|
+ integralExchange: integralExchange };exports.default = _default;
|
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+/* 671 */
|
|
|
|
+/*!*********************************************************!*\
|
|
|
|
+ !*** D:/vscode-demo/IHG/IHG/IHG/api/product/product.js ***!
|
|
|
|
+ \*********************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.getProducts = getProducts;exports.getProductDetail = getProductDetail;exports.default = void 0;var request = uni.$u.http;
|
|
|
|
+
|
|
|
|
+// 获取产品列表
|
|
|
|
+function getProducts(data) {
|
|
|
|
+ return request.post("v1/product/productList",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 获取产品详情
|
|
|
|
+function getProductDetail(data) {
|
|
|
|
+ return request.post("v1/product/productDetail",
|
|
|
|
+
|
|
|
|
+ data);
|
|
|
|
+
|
|
|
|
+}var _default =
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ getProducts: getProducts,
|
|
|
|
+ getProductDetail: getProductDetail };exports.default = _default;
|
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+/* 672 */,
|
|
|
|
+/* 673 */
|
|
|
|
+/*!************************************************!*\
|
|
|
|
+ !*** D:/vscode-demo/IHG/IHG/IHG/utils/util.js ***!
|
|
|
|
+ \************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.throttle = throttle;exports.debounce = debounce;exports.default = void 0; // 节流
|
|
|
|
+function throttle(fn) {var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
|
|
|
|
+ var last, timer, now;
|
|
|
|
+ return function () {
|
|
|
|
+ now = Date.now();
|
|
|
|
+ if (last && now - last < wait) {
|
|
|
|
+ clearTimeout(timer);
|
|
|
|
+ timer = setTimeout(function () {
|
|
|
|
+ last = now;
|
|
|
|
+ fn.call.apply(fn, [this].concat(Array.prototype.slice.call(arguments)));
|
|
|
|
+ }, wait);
|
|
|
|
+ } else {
|
|
|
|
+ last = now;
|
|
|
|
+ fn.call.apply(fn, [this].concat(Array.prototype.slice.call(arguments)));
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+}
|
|
|
|
+// 防抖
|
|
|
|
+function debounce(fn) {var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
|
|
|
|
+ var timer;
|
|
|
|
+ return function () {
|
|
|
|
+ var context = this;
|
|
|
|
+ var args = arguments;
|
|
|
|
+ if (timer) clearTimeout(timer);
|
|
|
|
+ timer = setTimeout(function () {
|
|
|
|
+ fn.apply(context, args);
|
|
|
|
+ }, wait);
|
|
|
|
+ };
|
|
|
|
+}var _default =
|
|
|
|
+{
|
|
|
|
+ throttle: throttle,
|
|
|
|
+ debounce: debounce };exports.default = _default;
|
|
|
|
+
|
|
/***/ })
|
|
/***/ })
|
|
]]);
|
|
]]);
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|