Browse Source

feat: 新增更新cocoStudy题目使用数量的接口

新增路由接口用于更新cocoStudy题目的使用数量,通过postmysql方法处理对应的数据库操作
SanHQin 2 weeks ago
parent
commit
4335b9a7a3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      pbl.js

+ 5 - 0
pbl.js

@@ -10471,6 +10471,11 @@ router.route("/delete_cocoStudyQuestionById").all((req,res,next)=>{
 	postmysql(req, res, "delete_cocoStudyQuestionById");
 })
 
+//qgt cocoStudy题目添加使用数量
+router.route("/update_cocoStudy_AddUseNum").all((req,res,next)=>{
+	postmysql(req, res, "update_cocoStudy_AddUseNum");
+})
+
 //教师管理 查看填写范围的教师权限
 router.route("/getTestWorkTeacherCount").all((req,res,next)=>{
 	postmysql(req, res, "getTestWorkTeacherCount");