不知道喵

This commit is contained in:
MoonLeeeaf
2025-03-16 00:13:51 +08:00
parent 0559f0ecaa
commit cbdf3f093c
4 changed files with 66 additions and 39 deletions

35
server/Types.js Normal file
View File

@@ -0,0 +1,35 @@
export class TheWhiteSilkParams {
/**
* @type { String }
*/
method
/**
* @type { Object }
*/
args
}
export class CallbackMessage {
static Code = class {
/**
* 无权限
*/
static PERMISSION_DENIED = 4
/**
* 服务端错误
*/
static SERVER_ERROR = 5
/**
* 请求成功
*/
static OK = 2
}
/**
* @type { String }
*/
msg
/**
* @type { Number }
*/
code
}