feat: webui config
This commit is contained in:
1 parent
788ef5d81c
commit
c0f2df172a
3 files changed
+61
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
//实现一个登录 仅需判断密码 没有用户名字段
|
||||
export class Auth {
|
||||
public static async checkAuth(token: string) {
|
||||
if (token == "123456") {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user