|
@@ -404,6 +404,11 @@ router.post('/MakerSpaceWordApply',(req,res)=>{
|
|
|
QMysql(req,res,'insert_Project_MakerSpaceWord');
|
|
|
})
|
|
|
|
|
|
+//yym 学生创客项目申请Word
|
|
|
+router.post('/studentProjectWordApply',(req,res)=>{
|
|
|
+ QMysql(req,res,'insert_Project_studentProject');
|
|
|
+})
|
|
|
+
|
|
|
GetData = function(req) {
|
|
|
var a = req.url.split("?");
|
|
|
// console.log(a);
|
|
@@ -422,7 +427,7 @@ GetData = function(req) {
|
|
|
QMysql = function(req,res,functionName){
|
|
|
if (GetData(req)) {
|
|
|
p = Object.values(GetData(req));
|
|
|
- // console.log(p);
|
|
|
+ console.log(p);
|
|
|
p.unshift(_mysqlLabor[0], _mysqlLabor[1], functionName);
|
|
|
//執行存儲過程
|
|
|
mysql.usselect(p, function(ret) { res.end(JSON.stringify(ret)); });
|