進一步完善 Server API

This commit is contained in:
CrescentLeaf
2025-09-06 01:53:09 +08:00
parent c3c332017e
commit b0c67da340
6 changed files with 30 additions and 15 deletions

View File

@@ -1,11 +1,11 @@
import BaseApi from "./BaseApi.ts";
import BaseApi from "./BaseApi.ts"
export default class UserApi extends BaseApi {
override getName(): string {
return "User"
}
override onInit(): void {
this.registerEvent("", () => {
this.registerEvent("User.auth", () => {
return {
msg: "",
code: 200,