|
@@ -7336,6 +7336,44 @@ router.route("/selectTestCourseAutoFillType3").all((req,res,next)=>{
|
|
|
var json = queryString(req.url);
|
|
|
getmysql(req, res, "selectTestCourseAutoFillType3", json["uid"],json["tit"]);
|
|
|
});
|
|
|
+
|
|
|
+//qgt 课堂观察另存为模板
|
|
|
+router.route("/insertClassroomTemplate").all((req,res,next)=>{
|
|
|
+ postmysql(req, res, "insertClassroomTemplate");
|
|
|
+})
|
|
|
+
|
|
|
+//qgt 课堂观察获取模板
|
|
|
+router.route("/selectClassroomTemplate").all((req,res,next)=>{
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(req, res, "selectClassroomTemplate", json["uid"],json["txt"],json["sub"],json["type1"]);
|
|
|
+})
|
|
|
+
|
|
|
+//qgt 课堂观察修改收藏模板
|
|
|
+router.route("/updateClassroomTemplateCollect").all((req,res,next)=>{
|
|
|
+ postmysql(req, res, "updateClassroomTemplateCollect");
|
|
|
+})
|
|
|
+
|
|
|
+//qgt 课堂观察获取模板详细
|
|
|
+router.route("/selectClassroomTemplateDetail").all((req,res,next)=>{
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(req, res, "selectClassroomTemplateDetail", json["uid"],json["cid"],json['st']);
|
|
|
+})
|
|
|
+
|
|
|
+//qgt 课堂观察修改模板
|
|
|
+router.route("/updateClassroomTemplateData").all((req,res,next)=>{
|
|
|
+ postmysql(req, res, "updateClassroomTemplateData");
|
|
|
+})
|
|
|
+
|
|
|
+//qgt设置用户默认模板
|
|
|
+router.route("/updateClassroomDefault").all((req,res,next)=>{
|
|
|
+ postmysql(req, res, "updateClassroomDefault");
|
|
|
+})
|
|
|
+
|
|
|
+//qgt 获取用户默认模板
|
|
|
+router.route("/selectClassroomDefault").all((req,res,next)=>{
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(req, res, "selectClassroomDefault", json["uid"]);
|
|
|
+})
|
|
|
function generateAPIKey(username) {
|
|
|
let timeStamp = new Date().getTime();
|
|
|
|