lsc 1 năm trước cách đây
mục cha
commit
3f4207b0c1
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      pbl.js

+ 12 - 0
pbl.js

@@ -6633,6 +6633,18 @@ router.route("/updateSourceFileTypePid").all((req, res, next) => {
     postmysql(req, res, "updateSourceFileTypePid");
 });
 
+//添加资源库
+router.route("/addSourceFile").all((req, res, next) => {
+    postmysql(req, res, "addSourceFile");
+});
+
+//查询资源库上传文件
+router.route("/getSourceFile").all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "getSourceFile", json["uid"], json["pid"]);
+});
+
+
 function generateAPIKey(username) {
     let timeStamp = new Date().getTime();