|
@@ -5159,6 +5159,24 @@ router.route("/getCourseInfo").all((req, res, next) => {
|
|
getmysql(req, res, "getCourseInfo", json["cid"]);
|
|
getmysql(req, res, "getCourseInfo", json["cid"]);
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+//课程中心 总评添加和修改功能
|
|
|
|
+router.route("/opCourseScore").all((req, res, next) => {
|
|
|
|
+ postmysql(req, res, "opCourseScore");
|
|
|
|
+});
|
|
|
|
+
|
|
|
|
+//查询已评价功能
|
|
|
|
+router.route("/getCourseScoreP").all((req, res, next) => {
|
|
|
|
+ var json = queryString(req.url);
|
|
|
|
+ getmysql(req, res, "getCourseScoreP", json["cid"], json["uid"]);
|
|
|
|
+});
|
|
|
|
+
|
|
|
|
+//查询所有已评价功能
|
|
|
|
+router.route("/getCourseScore").all((req, res, next) => {
|
|
|
|
+ var json = queryString(req.url);
|
|
|
|
+ getmysql(req, res, "getCourseScore", json["cid"]);
|
|
|
|
+});
|
|
|
|
+
|
|
|
|
+
|
|
//获取多个项目基本信息
|
|
//获取多个项目基本信息
|
|
router.route("/getCourseInfoMore").all((req, res, next) => {
|
|
router.route("/getCourseInfoMore").all((req, res, next) => {
|
|
var json = queryString(req.url);
|
|
var json = queryString(req.url);
|