|
|
@@ -1736,6 +1736,61 @@ router.route("/updateCocostudysco").all((req, res, next) => {
|
|
|
postmysql(req, res, "updateCocostudysco");
|
|
|
});
|
|
|
|
|
|
+
|
|
|
+// 自主学习添加学习空间 yym
|
|
|
+router.route("/addcocostudySpace").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "addcocostudySpace");
|
|
|
+});
|
|
|
+
|
|
|
+// 自主学习修改学习空间 yym
|
|
|
+router.route("/updatecocostudySpace").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "updatecocostudySpace");
|
|
|
+});
|
|
|
+
|
|
|
+// 自主学习-学习空间-添加工具 yym
|
|
|
+router.route("/addctysconote").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "addctysconote");
|
|
|
+});
|
|
|
+
|
|
|
+// 自主学习-学习空间-获取所有工具 yym
|
|
|
+router.route("/selectstysconote").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "selectstysconote",
|
|
|
+ json["uid"],
|
|
|
+ json["sid"]
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
+// 自主学习-学习空间-删除工具 yym
|
|
|
+router.route("/delstysconote").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "delstysconote");
|
|
|
+});
|
|
|
+
|
|
|
+// 自主学习获取单个学习空间数据 yym
|
|
|
+router.route("/getcostyspcById").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "getcostyspcById",
|
|
|
+ json["sid"]
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
+// 自主学习获取全部学习空间 yym
|
|
|
+router.route("/getcocostudyspaceAll").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "getcocostudyspaceAll",
|
|
|
+ json["uid"]
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
// 新学生管理查询学生带排序 yym
|
|
|
router.route("/selectStudentManagesrt").all((req, res, next) => {
|
|
|
var json = queryString(req.url);
|