Commit 3be40c04 by maolipeng

Merge branch 'feature/zhujian/0726/qwLiving' into dev

parents ba5301cd f8261289
...@@ -241,7 +241,7 @@ function CreateWorkWXCourse() { ...@@ -241,7 +241,7 @@ function CreateWorkWXCourse() {
if (type === 'add') { if (type === 'add') {
if (endTime !== 0) { if (endTime !== 0) {
classInfo.duration = String(endTime - classInfo.startTime) classInfo.duration = String((endTime - classInfo.startTime)/1000)
} }
const params = { const params = {
...classInfo, ...classInfo,
...@@ -260,7 +260,7 @@ function CreateWorkWXCourse() { ...@@ -260,7 +260,7 @@ function CreateWorkWXCourse() {
}); });
} else { } else {
if (endTime !== 0) { if (endTime !== 0) {
classInfo.duration = String(endTime - classInfo.startTime) classInfo.duration = String((endTime - classInfo.startTime)/1000)
} }
const params = { const params = {
...classInfo, ...classInfo,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment