@pisell/lowcode-renderer 1.0.98 → 1.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/api/report/index.js
CHANGED
|
@@ -63,6 +63,7 @@ var getParams = function getParams(values, url) {
|
|
|
63
63
|
start_at = dayjs().startOf("day");
|
|
64
64
|
end_at = start_at.endOf("day");
|
|
65
65
|
}
|
|
66
|
+
console.log(id, timezone, start_at.format('YYYY-MM-DD HH:mm:ss'), end_at.format('YYYY-MM-DD HH:mm:ss'), values, timezoneObj, includeTimeZoneUrl.includes(url), "getReportList");
|
|
66
67
|
|
|
67
68
|
// 转换时间戳
|
|
68
69
|
start_at = dayjs.tz(start_at.format('YYYY-MM-DD HH:mm:ss'), timezone).unix();
|
|
@@ -74,7 +75,6 @@ var getParams = function getParams(values, url) {
|
|
|
74
75
|
var _window2;
|
|
75
76
|
server = ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.__APP_CONFIG__) === null || _window2 === void 0 ? void 0 : _window2.server) || 'au';
|
|
76
77
|
}
|
|
77
|
-
console.log(id, timezone, start_at, end_at, values, url, timezoneObj, server, others, "getReportList");
|
|
78
78
|
return _objectSpread(_objectSpread({
|
|
79
79
|
shop_id: id,
|
|
80
80
|
start_at: start_at,
|
package/lib/api/report/index.js
CHANGED
|
@@ -80,13 +80,13 @@ var getParams = (values, url) => {
|
|
|
80
80
|
start_at = (0, import_dayjs.default)().startOf("day");
|
|
81
81
|
end_at = start_at.endOf("day");
|
|
82
82
|
}
|
|
83
|
+
console.log(id, timezone2, start_at.format("YYYY-MM-DD HH:mm:ss"), end_at.format("YYYY-MM-DD HH:mm:ss"), values, timezoneObj, includeTimeZoneUrl.includes(url), "getReportList");
|
|
83
84
|
start_at = import_dayjs.default.tz(start_at.format("YYYY-MM-DD HH:mm:ss"), timezone2).unix();
|
|
84
85
|
end_at = import_dayjs.default.tz(end_at.format("YYYY-MM-DD HH:mm:ss"), timezone2).unix();
|
|
85
86
|
let server = "au";
|
|
86
87
|
if (typeof window !== "undefined" && ((_a = window == null ? void 0 : window.__APP_CONFIG__) == null ? void 0 : _a.server)) {
|
|
87
88
|
server = ((_b = window == null ? void 0 : window.__APP_CONFIG__) == null ? void 0 : _b.server) || "au";
|
|
88
89
|
}
|
|
89
|
-
console.log(id, timezone2, start_at, end_at, values, url, timezoneObj, server, others, "getReportList");
|
|
90
90
|
return {
|
|
91
91
|
shop_id: id,
|
|
92
92
|
start_at,
|