|
@@ -1110,7 +1110,7 @@ router.route('/updateWorkNew4').all((req, res, next) => {
|
|
|
_unitJson[_unitIndex] = _chapters[_unitIndex]
|
|
|
}
|
|
|
// console.log(_unitJson);
|
|
|
- let p2 = [req.body[0].cid, JSON.stringify(_unitJson).replaceAll(/%/g, "%25")];
|
|
|
+ let p2 = [req.body[0].cid, JSON.stringify(_unitJson)];
|
|
|
p2.unshift(_mysqlLabor[0], _mysqlLabor[1], "update_teacher_work_new4"); //執行存儲過程
|
|
|
mysql.usselect(p2, function(ret) {
|
|
|
res.end(JSON.stringify({ success: 1 }));
|