From eb6b6dbb35a9f029e0b7d269773685c19fd40976 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 11 七月 2024 10:47:51 +0800 Subject: [PATCH] 玩湃微信商户认证代码 --- cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js b/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js index 5fda9e2..4d4f177 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js @@ -258,15 +258,9 @@ console.log("最终结果"); console.log(res); // 获取当前时间 - let now = new Date(); -// 将指定时间转换为 Date 对象 - let specifiedTime = new Date(res); + // 比较当前时间是否大于指定时间 - if (now > specifiedTime) { - console.log("当前时间大于指定时间"); - Feng.error("当前课程还未结束,不能上传消课记录") - return - } + let htmlStr = '<div class="form-horizontal">' + ' <div class="col-sm-11" style="padding: 20px;">' + -- Gitblit v1.7.1