|
@@ -6644,6 +6644,16 @@ router.route("/getSourceFile").all((req, res, next) => {
|
|
|
getmysql(req, res, "getSourceFile", json["uid"], json["pid"], json["n"]);
|
|
|
});
|
|
|
|
|
|
+//删除资源库
|
|
|
+router.route("/deleteSourceFile").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "deleteSourceFile");
|
|
|
+});
|
|
|
+
|
|
|
+//移动资源库
|
|
|
+router.route("/updateSourceFilePid").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "updateSourceFilePid");
|
|
|
+});
|
|
|
+
|
|
|
|
|
|
function generateAPIKey(username) {
|
|
|
let timeStamp = new Date().getTime();
|