Commit bd2f131c by 周志凯

[chg]: deal parameter

1 parent a74d8604
...@@ -1908,11 +1908,18 @@ ...@@ -1908,11 +1908,18 @@
var urlPath = TAB_API[dateFormat](type) var urlPath = TAB_API[dateFormat](type)
var scheduleType = dateFormat + type var scheduleType = dateFormat + type
var parameter = { var parameter = {
startDate: dateVal ? dateVal + ' 00:00:00' : null, // startDate: dateVal ? dateVal + ' 00:00:00' : null,
endDate: dateVal ? dateVal + ' 23:59:59' : null, // endDate: dateVal ? dateVal + ' 23:59:59' : null,
mallIds: mallVal || null, mallIds: mallVal || null,
scheduleType: scheduleType, scheduleType: scheduleType,
featureType: dateFormat === 'revisitFeature' ? type : null // featureType: dateFormat === 'revisitFeature' ? type : null
}
if (dateVal) {
parameter.startDate = dateVal + ' 00:00:00'
parameter.endDate = dateVal + ' 23:59:59'
}
if (dateFormat === 'revisitFeature') {
parameter.featureType = type
} }
var socketParameter = { var socketParameter = {
scheduleType: scheduleType, scheduleType: scheduleType,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!