增加token校验
This commit is contained in:
@@ -626,7 +626,12 @@ app.post("/user", async (req, res) => {
|
||||
|
||||
|
||||
if (!userId&&userId!="NaN") {
|
||||
return res.status(400).send("缺少 user_id");
|
||||
res.json({
|
||||
code: 300,
|
||||
error: "http://ri.satabot.com/#/login?goRemote=1",
|
||||
msg:"未找到该用户"
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// 查询 user_name
|
||||
|
||||
Reference in New Issue
Block a user