Commit 7a327963 by 王昆

gsb

parent 457cc094
...@@ -4,7 +4,7 @@ var settings = require("../settings"); ...@@ -4,7 +4,7 @@ var settings = require("../settings");
var userSve = system.getObject("service.auth.userSve"); var userSve = system.getObject("service.auth.userSve");
module.exports = function (app) { module.exports = function (app) {
app.get("/auth", async function (req, res) { app.get("/auth", async function (req, res) {
var opencode = req.query.opencode || ""; var opencode = req.query.opencode || req.query.code || "";
if (!opencode) { if (!opencode) {
return system.getResult(null, "opencode参数不能为空"); return system.getResult(null, "opencode参数不能为空");
} }
......
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