Commit 1a00204e by 宋毅

tj

parent f2b77d4d
......@@ -6,7 +6,7 @@ const axios = require('axios')
module.exports = function (app) {
app.all("/operate/*", async function (req, res, next) {
app.all("/web/*", async function (req, res, next) {
console.log("一个请求进来了")
var result = system.getResult(null, "req method must is post");
if (req.method != "POST") {
......@@ -39,7 +39,7 @@ module.exports = function (app) {
next();
});
app.post('/operate/:gname/:qname/:method', function (req, res) {
app.post('/web/:gname/:qname/:method', function (req, res) {
var classPath = req.params["qname"];
var methodName = req.params["method"];
var gname = req.params["gname"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment