permission (.NET)
This commit is contained in:
parent
53787597fd
commit
46e37a3451
3 changed files with 25 additions and 4 deletions
|
|
@ -19,9 +19,8 @@ import HttpStatus from "./http-status";
|
|||
|
||||
class CheckAuth {
|
||||
public async Permission(req: RequestWithUser, system: string, action: string) {
|
||||
console.log(req);
|
||||
|
||||
await new CallAPI()
|
||||
// console.log(req);
|
||||
return await new CallAPI()
|
||||
.GetData(req, "/org/permission")
|
||||
.then((x) => {
|
||||
let permission = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue