feat(wip): 進一步完善 UserAPI 和基類函數

This commit is contained in:
CrescentLeaf
2025-09-06 14:34:14 +08:00
parent adbe6b193b
commit e50a90a770
3 changed files with 8 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ export default class UserApi extends BaseApi {
return "User"
}
override onInit(): void {
this.registerEvent("User.auth", () => {
this.registerEvent("User.auth", (args) => {
return {
msg: "",
code: 200,