|
@@ -1400,7 +1400,7 @@ function initData(vueOptions, context) {
|
|
try {
|
|
try {
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
} catch (e) {
|
|
} catch (e) {
|
|
- if (Object({"VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -2618,7 +2618,8 @@ var store = new _vuex.default.Store({
|
|
face: "",
|
|
face: "",
|
|
name: "",
|
|
name: "",
|
|
openid: '',
|
|
openid: '',
|
|
- appId: "" },
|
|
|
|
|
|
+ appId: "",
|
|
|
|
+ customer_id: "" },
|
|
|
|
|
|
mutations: {
|
|
mutations: {
|
|
increment: function increment(state, options) {
|
|
increment: function increment(state, options) {
|
|
@@ -2635,6 +2636,7 @@ var store = new _vuex.default.Store({
|
|
|
|
|
|
|
|
|
|
result, code = _result.code;
|
|
result, code = _result.code;
|
|
|
|
+
|
|
// 相关请求
|
|
// 相关请求
|
|
_context.next = 7;return (0, _index.default)({
|
|
_context.next = 7;return (0, _index.default)({
|
|
url: "/customer/code2Session/",
|
|
url: "/customer/code2Session/",
|
|
@@ -2656,8 +2658,6 @@ var store = new _vuex.default.Store({
|
|
|
|
|
|
result.data, openid = _result$data.openid, bind = _result$data.bind, _result$data$customer = _result$data.customer_id, customer_id = _result$data$customer === void 0 ? '' : _result$data$customer, _result$data$face = _result$data.face, face = _result$data$face === void 0 ? '' : _result$data$face, _result$data$name = _result$data.name, name = _result$data$name === void 0 ? '' : _result$data$name, _result$data$tel = _result$data.tel, tel = _result$data$tel === void 0 ? '' : _result$data$tel, _result$data$token = _result$data.token, token = _result$data$token === void 0 ? '' : _result$data$token, _result$data$cart_cou = _result$data.cart_count, cart_count = _result$data$cart_cou === void 0 ? '' : _result$data$cart_cou; //bind
|
|
result.data, openid = _result$data.openid, bind = _result$data.bind, _result$data$customer = _result$data.customer_id, customer_id = _result$data$customer === void 0 ? '' : _result$data$customer, _result$data$face = _result$data.face, face = _result$data$face === void 0 ? '' : _result$data$face, _result$data$name = _result$data.name, name = _result$data$name === void 0 ? '' : _result$data$name, _result$data$tel = _result$data.tel, tel = _result$data$tel === void 0 ? '' : _result$data$tel, _result$data$token = _result$data.token, token = _result$data$token === void 0 ? '' : _result$data$token, _result$data$cart_cou = _result$data.cart_count, cart_count = _result$data$cart_cou === void 0 ? '' : _result$data$cart_cou; //bind
|
|
if (token) uni.setStorageSync('TOKEN', token);
|
|
if (token) uni.setStorageSync('TOKEN', token);
|
|
- console.log(111, _index2.appId,
|
|
|
|
- openid);
|
|
|
|
commit('increment', {
|
|
commit('increment', {
|
|
appId: _index2.appId,
|
|
appId: _index2.appId,
|
|
openid: openid,
|
|
openid: openid,
|
|
@@ -2666,14 +2666,14 @@ var store = new _vuex.default.Store({
|
|
bind: bind,
|
|
bind: bind,
|
|
face: face,
|
|
face: face,
|
|
name: name,
|
|
name: name,
|
|
- tel: tel });case 14:case "end":return _context.stop();}}}, _callee);}))();
|
|
|
|
|
|
+ tel: tel });case 13:case "end":return _context.stop();}}}, _callee);}))();
|
|
|
|
|
|
},
|
|
},
|
|
// 快捷登录
|
|
// 快捷登录
|
|
wxbind: function wxbind(_ref2,
|
|
wxbind: function wxbind(_ref2,
|
|
|
|
|
|
|
|
|
|
- options) {return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee2() {var commit, state, encryptedData, iv, appId, openid, result, _result$id, customer_id, face, name, tel, token;return _regenerator.default.wrap(function _callee2$(_context2) {while (1) {switch (_context2.prev = _context2.next) {case 0:commit = _ref2.commit, state = _ref2.state;
|
|
|
|
|
|
+ options) {return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee2() {var commit, state, encryptedData, iv, appId, openid, referrer, result, _result$data2, customer_id, face, name, tel, token;return _regenerator.default.wrap(function _callee2$(_context2) {while (1) {switch (_context2.prev = _context2.next) {case 0:commit = _ref2.commit, state = _ref2.state;
|
|
|
|
|
|
encryptedData =
|
|
encryptedData =
|
|
|
|
|
|
@@ -2682,7 +2682,8 @@ var store = new _vuex.default.Store({
|
|
|
|
|
|
appId =
|
|
appId =
|
|
|
|
|
|
- state.appId, openid = state.openid;_context2.next = 7;return (
|
|
|
|
|
|
+ state.appId, openid = state.openid;
|
|
|
|
+ referrer = uni.getStorageSync('referrer') || '';_context2.next = 8;return (
|
|
(0, _index.default)({
|
|
(0, _index.default)({
|
|
url: "/customer/wxbind/",
|
|
url: "/customer/wxbind/",
|
|
method: "post",
|
|
method: "post",
|
|
@@ -2690,17 +2691,17 @@ var store = new _vuex.default.Store({
|
|
encryptedData: encryptedData,
|
|
encryptedData: encryptedData,
|
|
iv: iv,
|
|
iv: iv,
|
|
appid: appId,
|
|
appid: appId,
|
|
- openid: openid } }));case 7:result = _context2.sent;if (!(
|
|
|
|
|
|
+ openid: openid, referrer: referrer } }));case 8:result = _context2.sent;if (!(
|
|
|
|
|
|
|
|
|
|
- result.code != 0)) {_context2.next = 10;break;}return _context2.abrupt("return");case 10:_result$id =
|
|
|
|
|
|
+ result.code != 0)) {_context2.next = 11;break;}return _context2.abrupt("return");case 11:_result$data2 =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- result.id, customer_id = _result$id.customer_id, face = _result$id.face, name = _result$id.name, tel = _result$id.tel, token = _result$id.token;
|
|
|
|
|
|
+ result.data, customer_id = _result$data2.customer_id, face = _result$data2.face, name = _result$data2.name, tel = _result$data2.tel, token = _result$data2.token;
|
|
uni.setStorageSync('TOKEN', token);
|
|
uni.setStorageSync('TOKEN', token);
|
|
commit('increment', {
|
|
commit('increment', {
|
|
customer_id: customer_id,
|
|
customer_id: customer_id,
|
|
@@ -2709,14 +2710,14 @@ var store = new _vuex.default.Store({
|
|
name: name,
|
|
name: name,
|
|
tel: tel,
|
|
tel: tel,
|
|
appId: appId,
|
|
appId: appId,
|
|
- openid: openid });case 13:case "end":return _context2.stop();}}}, _callee2);}))();
|
|
|
|
|
|
+ openid: openid });case 14:case "end":return _context2.stop();}}}, _callee2);}))();
|
|
|
|
|
|
},
|
|
},
|
|
// 用户更新资料
|
|
// 用户更新资料
|
|
getUserProfile: function getUserProfile(_ref3,
|
|
getUserProfile: function getUserProfile(_ref3,
|
|
|
|
|
|
|
|
|
|
- options) {return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee3() {var commit, state, result, _result2, encryptedData, iv, appId, openid, _result$data2, face, name;return _regenerator.default.wrap(function _callee3$(_context3) {while (1) {switch (_context3.prev = _context3.next) {case 0:commit = _ref3.commit, state = _ref3.state;_context3.next = 3;return (
|
|
|
|
|
|
+ options) {return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee3() {var commit, state, result, _result2, encryptedData, iv, appId, openid, _result$data3, face, name;return _regenerator.default.wrap(function _callee3$(_context3) {while (1) {switch (_context3.prev = _context3.next) {case 0:commit = _ref3.commit, state = _ref3.state;_context3.next = 3;return (
|
|
(0, _index2.getUserProfile)("完善用户登录资料!"));case 3:result = _context3.sent;_result2 =
|
|
(0, _index2.getUserProfile)("完善用户登录资料!"));case 3:result = _context3.sent;_result2 =
|
|
|
|
|
|
|
|
|
|
@@ -2736,11 +2737,11 @@ var store = new _vuex.default.Store({
|
|
openid: openid } }));case 8:result = _context3.sent;if (!(
|
|
openid: openid } }));case 8:result = _context3.sent;if (!(
|
|
|
|
|
|
|
|
|
|
- result.code != 0)) {_context3.next = 11;break;}return _context3.abrupt("return");case 11:_result$data2 =
|
|
|
|
|
|
+ result.code != 0)) {_context3.next = 11;break;}return _context3.abrupt("return");case 11:_result$data3 =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- result.data, face = _result$data2.face, name = _result$data2.name;
|
|
|
|
|
|
+ result.data, face = _result$data3.face, name = _result$data3.name;
|
|
// 相关请求
|
|
// 相关请求
|
|
commit('increment', {
|
|
commit('increment', {
|
|
face: face,
|
|
face: face,
|
|
@@ -4891,7 +4892,7 @@ var AFTERINTERCEPT = function AFTERINTERCEPT(result, ListValue, currentPage, tot
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 175:
|
|
|
|
|
|
+/***/ 176:
|
|
/*!**********************************************************************************!*\
|
|
/*!**********************************************************************************!*\
|
|
!*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/colorui/config.js ***!
|
|
!*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/colorui/config.js ***!
|
|
\**********************************************************************************/
|
|
\**********************************************************************************/
|
|
@@ -4963,10 +4964,11 @@ var REQUESTURL = {
|
|
|
|
|
|
// 请求数据拦截
|
|
// 请求数据拦截
|
|
var REQUESTINTERCPTOR = function REQUESTINTERCPTOR(request) {
|
|
var REQUESTINTERCPTOR = function REQUESTINTERCPTOR(request) {
|
|
- var token = uni.getStorageSync('TOKEN') || '';
|
|
|
|
|
|
+ var _token = uni.getStorageSync('TOKEN');
|
|
|
|
+ var token = _token ? 'JWT ' + _token : '';
|
|
request['header'] = {
|
|
request['header'] = {
|
|
'Content-Type': 'application/x-www-form-urlencoded',
|
|
'Content-Type': 'application/x-www-form-urlencoded',
|
|
- 'Authorization': 'JWT ' + token };
|
|
|
|
|
|
+ 'Authorization': token };
|
|
|
|
|
|
return request;
|
|
return request;
|
|
};
|
|
};
|
|
@@ -5021,7 +5023,7 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
|
|
{
|
|
{
|
|
namespaced: true,
|
|
namespaced: true,
|
|
state: {
|
|
state: {
|
|
- value: {} },
|
|
|
|
|
|
+ addressValue: {} },
|
|
|
|
|
|
mutations: {
|
|
mutations: {
|
|
increment: function increment(state, options) {
|
|
increment: function increment(state, options) {
|
|
@@ -5031,7 +5033,7 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
|
|
actions: {
|
|
actions: {
|
|
requestFunc: function requestFunc(_ref, options) {return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var commit, state, result;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:commit = _ref.commit, state = _ref.state;_context.next = 3;return (
|
|
requestFunc: function requestFunc(_ref, options) {return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var commit, state, result;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:commit = _ref.commit, state = _ref.state;_context.next = 3;return (
|
|
(0, _index.default)({ method: "get", url: "/customer/address/", data: { default: 1 } }));case 3:result = _context.sent;
|
|
(0, _index.default)({ method: "get", url: "/customer/address/", data: { default: 1 } }));case 3:result = _context.sent;
|
|
- if (result.code == 0) commit("increment", { value: result.data[0] });case 5:case "end":return _context.stop();}}}, _callee);}))();
|
|
|
|
|
|
+ if (result.code == 0) commit("increment", { addressValue: result.data[0] || {} });case 5:case "end":return _context.stop();}}}, _callee);}))();
|
|
} } };exports.default = _default;
|
|
} } };exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
@@ -5075,7 +5077,7 @@ module.exports = g;
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
"use strict";
|
|
-/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.chooseLocation = exports.openSetting = exports.getSetting = exports.requestSubscribeMessage = exports.getUserProfile = exports.login = exports.appId = exports.getAccountInfoSync = exports.CustomBarHeight = exports.getMenuButtonBoundingClientRect = exports.statusBarHeight = exports.getSystemInfoSync = void 0; //获取系统信息
|
|
|
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.chooseLocation = exports.openSetting = exports.getSetting = exports.requestSubscribeMessage = exports.getUserProfile = exports.login = exports.appId = exports.getAccountInfoSync = exports.CustomBarHeight = exports.getMenuButtonBoundingClientRect = exports.statusBarHeight = exports.getSystemInfoSync = void 0;function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} //获取系统信息
|
|
var getSystemInfoSync = uni.getSystemInfoSync();
|
|
var getSystemInfoSync = uni.getSystemInfoSync();
|
|
//获取系统状态栏的高度
|
|
//获取系统状态栏的高度
|
|
exports.getSystemInfoSync = getSystemInfoSync;var statusBarHeight = getSystemInfoSync.statusBarHeight;
|
|
exports.getSystemInfoSync = getSystemInfoSync;var statusBarHeight = getSystemInfoSync.statusBarHeight;
|
|
@@ -5150,7 +5152,18 @@ exports.openSetting = openSetting;var chooseLocation = function chooseLocation()
|
|
fail: function fail(err) {return reject(err);} });
|
|
fail: function fail(err) {return reject(err);} });
|
|
|
|
|
|
});
|
|
});
|
|
-};exports.chooseLocation = chooseLocation;
|
|
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+// 支付
|
|
|
|
+exports.chooseLocation = chooseLocation;exports.requestPayment = function (options) {
|
|
|
|
+ return new Promise(function (resolve, reject) {
|
|
|
|
+ uni.requestPayment(_objectSpread(_objectSpread({},
|
|
|
|
+ options), {}, {
|
|
|
|
+ success: function success(res) {return resolve(true);},
|
|
|
|
+ fail: function fail(err) {return resolve(false);} }));
|
|
|
|
+
|
|
|
|
+ });
|
|
|
|
+};
|
|
/* 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"]))
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
@@ -5166,6 +5179,21 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAAEi
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
|
|
+/***/ 287:
|
|
|
|
+/*!***********************************************************************************!*\
|
|
|
|
+ !*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/pages/index/api.js ***!
|
|
|
|
+ \***********************************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _index = _interopRequireDefault(__webpack_require__(/*! @/common/request/index.js */ 18));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default =
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ index: function index(options) {return (0, _index.default)({ url: "/customer/commodity/home/", method: "get", data: {} });} };exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
/***/ 3:
|
|
/***/ 3:
|
|
/*!*************************************************************!*\
|
|
/*!*************************************************************!*\
|
|
!*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
|
|
!*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
|
|
@@ -11200,7 +11228,7 @@ function type(obj) {
|
|
|
|
|
|
function flushCallbacks$1(vm) {
|
|
function flushCallbacks$1(vm) {
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
- if (Object({"VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
var mpInstance = vm.$scope;
|
|
var mpInstance = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
|
@@ -11221,14 +11249,14 @@ function nextTick$1(vm, cb) {
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
//2.nextTick 之前存在 render watcher
|
|
//2.nextTick 之前存在 render watcher
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
- if(Object({"VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
var mpInstance = vm.$scope;
|
|
var mpInstance = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
']:nextVueTick');
|
|
']:nextVueTick');
|
|
}
|
|
}
|
|
return nextTick(cb, vm)
|
|
return nextTick(cb, vm)
|
|
}else{
|
|
}else{
|
|
- if(Object({"VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
var mpInstance$1 = vm.$scope;
|
|
var mpInstance$1 = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
']:nextMPTick');
|
|
']:nextMPTick');
|
|
@@ -11314,7 +11342,7 @@ var patch = function(oldVnode, vnode) {
|
|
});
|
|
});
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
if (Object.keys(diffData).length) {
|
|
if (Object.keys(diffData).length) {
|
|
- if (Object({"VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_NAME":"demo","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
']差量更新',
|
|
']差量更新',
|
|
JSON.stringify(diffData));
|
|
JSON.stringify(diffData));
|
|
@@ -11797,39 +11825,6 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
/***/ 60:
|
|
/***/ 60:
|
|
-/*!******************************************************************************************!*\
|
|
|
|
- !*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/pages/shoppingCart/api.js ***!
|
|
|
|
- \******************************************************************************************/
|
|
|
|
-/*! no static exports found */
|
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
-
|
|
|
|
-"use strict";
|
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _index = _interopRequireDefault(__webpack_require__(/*! @/common/request/index.js */ 18));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default =
|
|
|
|
-
|
|
|
|
-{
|
|
|
|
- quantity: function quantity(options) {return (0, _index.default)({ url: "/customer/order/cart/".concat(options.id, "/update_quantity/"), method: "post", data: { quantity: options.quantity } });} };exports.default = _default;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
-/***/ 69:
|
|
|
|
-/*!************************************************************************************!*\
|
|
|
|
- !*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/pages/detail/api.js ***!
|
|
|
|
- \************************************************************************************/
|
|
|
|
-/*! no static exports found */
|
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
-
|
|
|
|
-"use strict";
|
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _index = _interopRequireDefault(__webpack_require__(/*! @/common/request/index.js */ 18));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default =
|
|
|
|
-
|
|
|
|
-{
|
|
|
|
- detail: function detail(options) {return (0, _index.default)({ url: "/customer/commodity/detail/".concat(options.id, "/"), method: "get" });},
|
|
|
|
- favorite: function favorite(options) {return (0, _index.default)({ url: "/customer/commodity/".concat(options.id, "/collection/"), method: 'get' });},
|
|
|
|
- unfavorite: function unfavorite(options) {return (0, _index.default)({ url: "/customer/commodity/".concat(options.id, "/uncollection/"), method: 'get' });},
|
|
|
|
- shoppingCart: function shoppingCart(options) {return (0, _index.default)({ url: "/customer/order/cart/", method: 'post', data: options });} };exports.default = _default;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
-/***/ 84:
|
|
|
|
/*!*************************************************************************************************!*\
|
|
/*!*************************************************************************************************!*\
|
|
!*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/common/debounceThrottle/index.js ***!
|
|
!*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/common/debounceThrottle/index.js ***!
|
|
\*************************************************************************************************/
|
|
\*************************************************************************************************/
|
|
@@ -11863,6 +11858,41 @@ exports.throttle = function (fn) {var delay = arguments.length > 1 && arguments[
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
|
|
+/***/ 61:
|
|
|
|
+/*!******************************************************************************************!*\
|
|
|
|
+ !*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/pages/shoppingCart/api.js ***!
|
|
|
|
+ \******************************************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _index = _interopRequireDefault(__webpack_require__(/*! @/common/request/index.js */ 18));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default =
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ quantity: function quantity(options) {return (0, _index.default)({ url: "/customer/order/cart/".concat(options.id, "/update_quantity/"), method: "post", data: { quantity: options.quantity } });},
|
|
|
|
+ favorite: function favorite(options) {return (0, _index.default)({ url: "/customer/commodity/batch_collection/", method: 'post', data: options });},
|
|
|
|
+ deleteShop: function deleteShop(options) {return (0, _index.default)({ url: "/customer/order/cart/del_cart/", method: 'post', data: options });} };exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
|
|
+/***/ 70:
|
|
|
|
+/*!************************************************************************************!*\
|
|
|
|
+ !*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/pages/detail/api.js ***!
|
|
|
|
+ \************************************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _index = _interopRequireDefault(__webpack_require__(/*! @/common/request/index.js */ 18));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default =
|
|
|
|
+
|
|
|
|
+{
|
|
|
|
+ detail: function detail(options) {return (0, _index.default)({ url: "/customer/commodity/detail/".concat(options.id, "/"), method: "get" });},
|
|
|
|
+ favorite: function favorite(options) {return (0, _index.default)({ url: "/customer/commodity/".concat(options.id, "/collection/"), method: 'get' });},
|
|
|
|
+ unfavorite: function unfavorite(options) {return (0, _index.default)({ url: "/customer/commodity/".concat(options.id, "/uncollection/"), method: 'get' });},
|
|
|
|
+ shoppingCart: function shoppingCart(options) {return (0, _index.default)({ url: "/customer/order/cart/", method: 'post', data: options });} };exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
/***/ 85:
|
|
/***/ 85:
|
|
/*!******************************************************************************************!*\
|
|
/*!******************************************************************************************!*\
|
|
!*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/pages/distribution/api.js ***!
|
|
!*** D:/Lxd_worker/Reacts/LXD/Work/work/20220617_fenxiao/demo/pages/distribution/api.js ***!
|