瀏覽代碼

fix: api test

getOnlineDurationReport
Casper Dai 2 年之前
父節點
當前提交
ae8ed38789
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/views/test-api.vue

+ 2 - 3
src/views/test-api.vue

@@ -181,9 +181,8 @@ export default {
       const { startDate, endDate } = this.getMonth()
       this.checkDevice() && getOnlineDurationReport({
         deviceId: this.deviceId,
-        type: 1,
-        sumDateFrom: startDate,
-        sumDateTo: endDate
+        from: startDate,
+        to: endDate
       }).then(this.onData)
     },
     async onTriggerAdSnap () {